Do not force-disable passed-through device cache
This commit is contained in:
parent
472daddb58
commit
2439aee0e7
1 changed files with 0 additions and 1 deletions
|
|
@ -331,7 +331,6 @@ func configureVMCmdBlockDevicePassthrough(logger *slog.Logger, cfg Config) ([]qe
|
||||||
{Key: "file", Value: devPath},
|
{Key: "file", Value: devPath},
|
||||||
{Key: "format", Value: "raw"},
|
{Key: "format", Value: "raw"},
|
||||||
{Key: "if", Value: "virtio"},
|
{Key: "if", Value: "virtio"},
|
||||||
{Key: "cache", Value: "none"},
|
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrapf(err, "create drive key-value arg (path '%v')", devPath)
|
return nil, errors.Wrapf(err, "create drive key-value arg (path '%v')", devPath)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue