From 2439aee0e72e812249355002c06cf33c3a6e6175 Mon Sep 17 00:00:00 2001 From: AlexSSD7 Date: Thu, 7 Sep 2023 09:33:48 +0100 Subject: [PATCH] Do not force-disable passed-through device cache --- vm/cfg.go | 1 - 1 file changed, 1 deletion(-) diff --git a/vm/cfg.go b/vm/cfg.go index eddc618..cbb7d00 100644 --- a/vm/cfg.go +++ b/vm/cfg.go @@ -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)