This series drops unused code and consolidates some duplicated code that
deals with KVM's htab fd feature. It also fixes some potential bugs.
--
Greg
---
Greg Kurz (4):
ppc/kvm: drop kvmppc_has_cap_htab_fd()
spapr: introduce helpers to migrate HPT chunks and the end marker
ppc/kvm: change kvmppc_get_htab_fd() to return -errno on error
ppc/kvm: generalize the use of kvmppc_get_htab_fd()
hw/ppc/spapr.c | 54 +++++++++++++++++++++++++++-----------------------
target/ppc/kvm.c | 42 ++++++++++++++++-----------------------
target/ppc/kvm_ppc.h | 10 ++-------
3 files changed, 48 insertions(+), 58 deletions(-)