Skip to content

spapr: Make the nested code TCG only

Fabiano Rosas qemu-devel 1 version Applied

Status from this message: Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesApplied

Changes in v2 from the cover letter

- Created hypercall_register_nested instead of reusing hypercall_register_softmmu;

- Rearranged the ifdef a bit to keep the hypercall_register_* functions closer;

- Dropped the more paranoid patch that checked for KVM at every call. I couldn't convince myself anymore that it was necessary.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2spapr: Move hypercall_register_softmmuhw/ppc/spapr_hcall.c+25 -251 reply
2/2spapr: Move nested KVM hypercalls under a TCG only config.hw/ppc/spapr_hcall.c+20 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchNicholas Piggin
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] spapr: Make the nested code TCG only

The spapr virtual hypervisor implementation of the nested KVM API depends on the first level guest to be emulated by TCG. So move the whole code under CONFIG_TCG.

v2:

- Created hypercall_register_nested instead of reusing hypercall_register_softmmu;

- Rearranged the ifdef a bit to keep the hypercall_register_* functions closer;

- Dropped the more paranoid patch that checked for KVM at every call. I couldn't convince myself anymore that it was necessary.

v1:
https://lists.nongnu.org/archive/html/qemu-ppc/2022-03/msg00412.html

Fabiano Rosas (2):
spapr: Move hypercall_register_softmmu
spapr: Move nested KVM hypercalls under a TCG only config.

 hw/ppc/spapr_hcall.c | 74 ++++++++++++++++++++++++++------------------
 1 file changed, 44 insertions(+), 30 deletions(-)
Signature · 1 line
2.35.1