accel/mshv: add support for PIC interrupt injection
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/i386/mshv: fix vCPU run result contracttarget/ | +17 | 1 reply | |
| 2/4 | accel/mshv: stop VM on vCPU execution errorsaccel/ | +4 | 1 reply | |
| 3/4 | target/i386/mshv: deliver legacy PIC interruptshw/ include/ include/ +4 more | +200 | 1 reply | |
| 4/4 | accel/mshv: do not coalesce vCPU kicksaccel/ | +19 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Mohamed Mediouni |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] accel/mshv: add support for PIC interrupt injection
This change adds support for injecting legacy PIC interrupts for mshv-accelerated x86 guests. This is relevant e.g. for guest that rely on a PIT in early boot (e.g. ISOLINUX).
The series carries two provisional patches for
feature to work:
- target/i386/mshv: fix vCPU run result contract
this has been posted earlier as a standalone patch, but it is required here, so we might be able to drop it in an upcoming revision if the standalone fix is merged earlier.
- accel/mshv: do not coalesce vCPU kicks
this is a workaround for a race condition that currently exists in the upstream mshv driver, which can lead to interruption requests being lost. A new CANCEL_VP ioctl is being tested. It will address this issue, so we can drop this workaround once it the new ioctl is available upstream.
Magnus Kulke (4):
target/i386/mshv: fix vCPU run result contract
accel/mshv: stop VM on vCPU execution errors
target/i386/mshv: deliver legacy PIC interrupts
accel/mshv: do not coalesce vCPU kicks
accel/mshv/mshv-all.c | 26 ++++- hw/i386/x86-cpu.c | 9 +- include/hw/hyperv/hvgdk_mini.h | 42 +++++++- include/system/mshv_int.h | 1 + meson.build | 1 + target/i386/mshv/mshv-cpu.c | 183 +++++++++++++++++++++++++++++---- target/i386/mshv/trace-events | 7 ++ target/i386/mshv/trace.h | 2 + 8 files changed, 240 insertions(+), 31 deletions(-) create mode 100644 target/i386/mshv/trace-events create mode 100644 target/i386/mshv/trace.h
Signature · 1 line
2.34.1