spapr: nested: Introduce H_GUEST_RUN_VCPU hcall.
commit497711070905393a4614e87c3fe4a4445c369bce
authorHarsh Prateek Bora <harshpb@linux.ibm.com>
Fri, 8 Mar 2024 11:19:39 +0000 (8 16:49 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Tue, 12 Mar 2024 16:47:04 +0000 (13 02:47 +1000)
tree0d6b71e046c376e2ddde7a6c46c018250f085e61
parent98823ce03ad5f3fe6f8a43d747168452ecc6cc8b
spapr: nested: Introduce H_GUEST_RUN_VCPU hcall.

The H_GUEST_RUN_VCPU hcall is used to start execution of a Guest VCPU.
The Hypervisor will update the state of the Guest VCPU based on the
input buffer, restore the saved Guest VCPU state, and start its
execution.

The Guest VCPU can stop running for numerous reasons including HCALLs,
hypervisor exceptions, or an outstanding Host Partition Interrupt.
The reason that the Guest VCPU stopped running is communicated through
R4 and the output buffer will be filled in with any relevant state.

Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/ppc.c
hw/ppc/spapr_nested.c
target/ppc/cpu.h