Skip to contentSkip to conversation

KVM test: tests.cfg.sample: add params to qemu command line properly

PATCH New Lucas Meneghel Rodrigues 1 participant 1 message Sep 10, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 KVM test: tests.cfg.sample: add params to qemu command line properly

There's a small bug on the qemu sample testset for KVM autotest:
We need to append -enable-kvm as extra params to the qemu command line, not replace all extra params. Small bug, renders the unattended install unusable for folks trying qemu instead of qemu-kvm.

Thanks to Kevin Wolf for having found this problem.

---
 client/tests/kvm/tests.cfg.sample |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
client/tests/kvm/tests.cfg.sample +1 -1
index 12e1d7a..ce3e307 100644
@@ -58,7 +58,7 @@ variants:
         only Fedora.13.64
         only unattended_install.cdrom boot shutdown
         # qemu needs -enable-kvm on the cmdline
-        extra_params = ' -enable-kvm'
+        extra_params += ' -enable-kvm'
 
     # Runs qemu-kvm, f13 64 bit guest OS, install, boot, shutdown
     - @qemu_kvm_f13_quick:
Signature · 1 line
1.7.2.2