introduce -cpu host target
authorAndre Przywara <andre.przywara@amd.com>
Wed, 24 Jun 2009 22:08:00 +0000 (00:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Jun 2009 18:52:11 +0000 (13:52 -0500)
commitfe4bce09b62a7ed20efdbe1fa2aaa21d5a258e1f
treeccd83022437ec0d306439a6861ac4a35d023fbb0
parent6d2edc43731d0e804c1c846db1e07bddfb158ebd
introduce -cpu host target

Although the guest's CPUID bits can be controlled in a fine grained way
in QEMU, a simple way to inject the host CPU is missing. This is handy
for KVM desktop virtualization, where one wants the guest to support the
full host feature set.
Introduce another CPU type called 'host', which will propagate the host's
CPUID bits to the guest. Unwanted bits can still be turned off by using
the existing syntax (-cpu host,-skinit)

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