This patchset introduces helper routines to enable (and does) cleaning up of h_enter_nested() and spapr_exit_nested() routines in existing api for nested virtualization on Power/SPAPR for better code readability / maintenance. No functional changes intended with this patchset.
Changelog: changes from v1: - addressed Fabiano's review comments - folding Reviewed-by tags in patch 1/4, 4/4 Harsh Prateek Bora (4): ppc: spapr: cleanup cr get/store in [h_enter|spapr_exit]_nested with helpers. ppc: spapr: cleanup h_enter_nested() with helper routines. ppc: spapr: cleanup spapr_exit_nested() with helper routines. MAINTAINERS: Adding myself in the list for ppc/spapr MAINTAINERS | 1 + hw/ppc/spapr_hcall.c | 251 ++++++++++++++++++++++++++----------------- target/ppc/cpu.c | 17 +++ target/ppc/cpu.h | 2 + 4 files changed, 170 insertions(+), 101 deletions(-) -- 2.31.1