First patch cleans up the code a little bit by moving all lines
related to setting the "ibm,pa-features" property into a separate
function. The second patch fixes a problem with detecting the
PowerISA version there. And the third patch takes care of setting
the bit for Transactional Memory only if it's really available.
Thomas Huth (3):
hw/ppc/spapr: Move code related to "ibm,pa-features" to a separate
function
hw/ppc/spapr: Fix the selection of the processor features
ppc: Check the availability of transactional memory
hw/ppc/spapr.c | 76 +++++++++++++++++++++++++++++++---------------------
target-ppc/kvm.c | 7 +++++
target-ppc/kvm_ppc.h | 6 +++++
3 files changed, 59 insertions(+), 30 deletions(-)
--
1.8.3.1