On 8/12/25 18:08, Alex Bennée wrote:
--8<---------------cut here---------------start------------->8---
target/arm: make HV_EXIT_REASON_CANCELED leave main loop
Without this we can spin tightly in the main HVF dispatch loop and
never release the lock long enough.
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
1 file changed, 1 insertion(+)
target/arm/hvf/hvf.c | 1 +
modified target/arm/hvf/hvf.c
@@ -2020,6 +2020,7 @@ static int hvf_handle_vmexit(CPUState *cpu,
hv_vcpu_exit_t *exit)
break;
case HV_EXIT_REASON_CANCELED:
/* we got kicked, no exit to process */
+ ret = -1;
break;
default:
g_assert_not_reached();
--8<---------------cut here---------------end--------------->8---