To prepare for some later changes to nested-HV I would like to get these cleanups done and move nested to its own file. These were posted earlier, not much changed except rebased on the CR helper accessor functions.
Thanks, Nick Nicholas Piggin (4): ppc/spapr: H_ENTER_NESTED should restore host XER ca field ppc/spapr: Add a nested state struct ppc/spapr: load and store l2 state with helper functions ppc/spapr: Move spapr nested HV to a new file hw/ppc/meson.build | 1 + hw/ppc/spapr_hcall.c | 334 +-------------------- hw/ppc/spapr_nested.c | 496 ++++++++++++++++++++++++++++++++ include/hw/ppc/spapr.h | 61 +--- include/hw/ppc/spapr_cpu_core.h | 5 +- 5 files changed, 502 insertions(+), 395 deletions(-) create mode 100644 hw/ppc/spapr_nested.c -- 2.40.1