qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spapr: Make the nested code TCG only
@ 2022-03-25 22:11 Fabiano Rosas
  2022-03-25 22:11 ` [PATCH v2 1/2] spapr: Move hypercall_register_softmmu Fabiano Rosas
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Fabiano Rosas @ 2022-03-25 22:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: danielhb413, qemu-ppc, clg, npiggin, david

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(-)

-- 
2.35.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-20 19:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 22:11 [PATCH v2 0/2] spapr: Make the nested code TCG only Fabiano Rosas
2022-03-25 22:11 ` [PATCH v2 1/2] spapr: Move hypercall_register_softmmu Fabiano Rosas
2022-03-29  8:24   ` Nicholas Piggin
2022-03-25 22:11 ` [PATCH v2 2/2] spapr: Move nested KVM hypercalls under a TCG only config Fabiano Rosas
2022-03-29  8:24   ` Nicholas Piggin
2022-04-20 19:12 ` [PATCH v2 0/2] spapr: Make the nested code TCG only Daniel Henrique Barboza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).