summary refs log tree commit diff stats
path: root/linux-user
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2011-10-24 20:43:22 +0200
committerAlexander Graf <agraf@suse.de>2011-10-30 20:03:27 +0100
commit70bca53ffb811ea59dc090b3ca7825cf0bf346a7 (patch)
treed8d59f592f44fe43841913927083226fc1ff26f7 /linux-user
parent98efaf75282a96ffbe2914f79a9f5cb736a03db4 (diff)
downloadfocaccia-qemu-70bca53ffb811ea59dc090b3ca7825cf0bf346a7.tar.gz
focaccia-qemu-70bca53ffb811ea59dc090b3ca7825cf0bf346a7.zip
KVM: PPC: Override host vmx/vsx/dfp only when information known
The -cpu host feature tries to find out the host capabilities based
on device tree information. However, we don't always have that available
because it's an optional property in dt.

So instead of force unsetting values depending on an unreliable source
of information, let's just try to be clever about it and not override
capabilities when we don't know the device tree pieces.

This fixes altivec with -cpu host on YDL PowerStations.

Reported-by: Nishanth Aravamudan <nacc@us.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions