[master 4/4] specify if=virtio,cache=none for VM drives

atodorov installerbot-noreply at redhat.com
Sat Aug 29 12:03:52 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 tests/gui/outside/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gui/outside/__init__.py b/tests/gui/outside/__init__.py
index a1d26be..e4f1d66 100644
--- a/tests/gui/outside/__init__.py
+++ b/tests/gui/outside/__init__.py
@@ -191,7 +191,7 @@ def run(self):
                 "-drive", "file=%s,media=cdrom,readonly,format=raw" % config["liveImage"]]
 
         for drive in self._drivePaths.values():
-            args += ["-drive", "file=%s,media=disk,format=raw" % drive]
+            args += ["-drive", "file=%s,media=disk,format=raw,if=virtio,cache=none" % drive]
 
         # Save a reference to the running qemu process so we can later kill
         # it if necessary.  For now, the only reason we'd want to kill it is


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/2c8ebf13e29fcaa4fedec5543ff9bd86bacc4fbb


More information about the anaconda-patches mailing list