target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too
commit7f516c9675285298826d4ef20ce1a093b13caf89
authorThomas Huth <thuth@redhat.com>
Thu, 29 Sep 2016 10:48:07 +0000 (29 12:48 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Oct 2016 00:05:28 +0000 (5 11:05 +1100)
treecad550dc847799bd22dcb26c54a7181d775e5854
parent96c9cff0ab986f3a0606e1a96c5b00e6a7c675c6
target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too

Transactional memory is also supported on POWER8 KVM-HV if the
KVM_CAP_PPC_HTM is not available in the kernel yet, so add a hack
to allow TM here, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/kvm.c