]> git.proxmox.com Git - qemu.git/commit - vl.c
handle device help before accelerator set up
authorBruce Rogers <brogers@suse.com>
Thu, 9 Aug 2012 18:47:40 +0000 (12:47 -0600)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 9 Aug 2012 19:53:01 +0000 (19:53 +0000)
commit3d1d9652978ac5a32a0beb4bdf6065ca39440d89
tree2dd34aa0cc0e468db9b0513d48007bb821769241
parentd3da41e32bc6d6fac80d402aa1cc0f1d30539d98
handle device help before accelerator set up

A command line device probe using just -device "?" gets processed
after qemu-kvm initializes the accelerator. If /dev/kvm is not
present, the accelerator check will fail (kvm is defaulted to on),
which causes libvirt to not be set up to handle qemu guests.

Moving the device help handling before the accelerator set up allows
the device probe to work in this configuration and libvirt succeeds
in setting up for a qemu hypervisor mode.

Signed-off-by: Bruce Rogers <brogers@suse.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
vl.c