mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
spapr: Implement H_PROD
H_PROD is added, and H_CEDE is modified to test the prod bit according to PAPR. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Message-Id: <20190718034214.14948-3-npiggin@gmail.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
03ef074c04
commit
3a6e6224a9
3 changed files with 34 additions and 0 deletions
|
@ -4312,6 +4312,7 @@ static void spapr_cpu_exec_enter(PPCVirtualHypervisor *vhyp, PowerPCCPU *cpu)
|
|||
|
||||
/* These are only called by TCG, KVM maintains dispatch state */
|
||||
|
||||
spapr_cpu->prod = false;
|
||||
if (spapr_cpu->vpa_addr) {
|
||||
CPUState *cs = CPU(cpu);
|
||||
uint32_t dispatch;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue