Do not force-disable passed-through device cache

This commit is contained in:
AlexSSD7 2023-09-07 09:33:48 +01:00
commit 2439aee0e7

View file

@ -331,7 +331,6 @@ func configureVMCmdBlockDevicePassthrough(logger *slog.Logger, cfg Config) ([]qe
{Key: "file", Value: devPath},
{Key: "format", Value: "raw"},
{Key: "if", Value: "virtio"},
{Key: "cache", Value: "none"},
})
if err != nil {
return nil, errors.Wrapf(err, "create drive key-value arg (path '%v')", devPath)