diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-06 21:49:46 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-06 21:49:46 +0000 |
commit | 15f6c96b3eb9c4c87f06248ac1b931b222a700d0 (patch) | |
tree | afa3806968899b4ecd362debee3f5395707b9a26 /client | |
parent | 98d47273226648110e0f890175018d3e222345ba (diff) |
KVM test: usb cdrom support
This patch adds support for virtual usb cdrom drives.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5412 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'client')
-rw-r--r-- | client/virt/kvm_vm.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py index 21300f97..270f7b9e 100644 --- a/client/virt/kvm_vm.py +++ b/client/virt/kvm_vm.py @@ -371,6 +371,10 @@ class VM(virt_vm.BaseVM): qemu_cmd += qemu_binary # Add the VM's name qemu_cmd += add_name(help, name) + # no automagic devices please + if has_option(help,"nodefaults"): + qemu_cmd += " -nodefaults" + qemu_cmd += " -vga std" # Add monitors for monitor_name in params.objects("monitors"): monitor_params = params.object_params(monitor_name) |