]> git.proxmox.com Git - mirror_qemu.git/commit
pseries: Under kvm use guest cpu = host cpu by default
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Oct 2011 22:40:34 +0000 (22:40 +0000)
committerAlexander Graf <agraf@suse.de>
Sun, 30 Oct 2011 16:11:54 +0000 (17:11 +0100)
commit6b7a2cf6d93294a4e7c79fe101d31fc19d04fb48
tree2889d73500b9f674e3e9741936e7280d37e4f6c3
parent37e305ce167279307335b069bff7e254b858fa6b
pseries: Under kvm use guest cpu = host cpu by default

Now that we've implemented -cpu host for ppc, this patch updates the
pseries machine to use the host cpu as the guest cpu by default when
running under KVM.  This is important because under KVM Book3S-HV the guest
cpu _cannot_ be of a different type to the host cpu (at the moment
KVM Book3S-HV will silently virtualize the host cpu instead of whatever was
requested, but in future it is likely to simply refuse to run the VM if
a cpu model other than the host's is requested).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c