Re: [PATCH][RESEND] hyperv: fix SynIC SINT assertion failure on guest reset

2022-09-28 Thread Maciej S. Szmigiero
On 28.09.2022 01:17, Paolo Bonzini wrote: Why does this need to be a virtual function, if it is the same for all CPUs (it differs between system and user-mode emulation, but it is never called by user-mode emulation so that does not matter)? Will change the patch to directly call

Re: [PATCH][RESEND] hyperv: fix SynIC SINT assertion failure on guest reset

2022-09-27 Thread Paolo Bonzini
Why does this need to be a virtual function, if it is the same for all CPUs (it differs between system and user-mode emulation, but it is never called by user-mode emulation so that does not matter)? Paolo Il mar 27 set 2022, 17:12 Maciej S. Szmigiero ha scritto: > From: "Maciej S. Szmigiero"

[PATCH][RESEND] hyperv: fix SynIC SINT assertion failure on guest reset

2022-09-27 Thread Maciej S. Szmigiero
From: "Maciej S. Szmigiero" Resetting a guest that has Hyper-V VMBus support enabled triggers a QEMU assertion failure: hw/hyperv/hyperv.c:131: synic_reset: Assertion `QLIST_EMPTY(>sint_routes)' failed. This happens both on normal guest reboot or when using "system_reset" HMP command. The