allow hypervisor CPUID bit to be overriden
commit6d2edc43731d0e804c1c846db1e07bddfb158ebd
authorAndre Przywara <andre.przywara@amd.com>
Wed, 24 Jun 2009 22:07:59 +0000 (25 00:07 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 18:52:11 +0000 (29 13:52 -0500)
treeb2331020f9a79efbf8aba2c00b2693b2d5bbfffa
parent707c0dbc97cddfe8d2441b8259c6c526d99f2dd8
allow hypervisor CPUID bit to be overriden

KVM defaults to the hypervisor CPUID bit to be set, whereas pure
QEMU clears it. On some occasions one wants to set or clear it the
other way round (for instance to get HyperV running inside a guest).

Move the bit-set to be done before the command line parsing and
enable it by default. One can disable it by using: -cpu qemu64,-hypervisor
Fix some whitespace damage on the way.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/helper.c