mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/ppc/spapr: Restrict CONFER hypercall to TCG
KVM handles H_CONFER and does not pass it along to QEMU, so only vhyp (as used by TCG spapr) needs to handle it. [npiggin: Add changelog] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20250127102620.39159-2-philmd@linaro.org> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
a613b9d321
commit
3e84d03815
1 changed files with 2 additions and 0 deletions
|
@ -580,6 +580,8 @@ static target_ulong h_confer(PowerPCCPU *cpu, SpaprMachineState *spapr,
|
|||
CPUState *cs = CPU(cpu);
|
||||
SpaprCpuState *spapr_cpu;
|
||||
|
||||
assert(tcg_enabled()); /* KVM will have handled this */
|
||||
|
||||
/*
|
||||
* -1 means confer to all other CPUs without dispatch counter check,
|
||||
* otherwise it's a targeted confer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue