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