KVM-HV also supports transactional memory on POWER8 with older
kernels that do not support the KVM_CAP_PPC_HTM extension yet.
The first patch introduces a proper function for checking whether
we're running on KVM-PR or KVM-HV, which is then used in the
second patch to check that we're running on POWER8 with KVM-HV,
so we can allow TM there, too.

Thomas Huth (2):
  target-ppc/kvm: Add a wrapper function to check for KVM-PR
  target-ppc/kvm: Enable transactional memory on POWER8 with KVM-HV, too

 hw/ppc/spapr.c   |  2 +-
 target-ppc/kvm.c | 32 +++++++++++++++++++++-----------
 2 files changed, 22 insertions(+), 12 deletions(-)

-- 
1.8.3.1


Reply via email to