RFC mshv: Fix soft reboot by using scrub partition ioctl on init
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | accel/mshv: mark mshv cpus as resetableaccel/ | +1 | 0 replies | |
| 2/3 | include/hw/hyperv: Add SCRUB_PARTITION ioctlinclude/ | +2 | 0 replies | |
| 3/3 | accel/mshv: use scrub_partition ioctl on initaccel/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/3] mshv: Fix soft reboot by using scrub partition ioctl on init
This series is an RFC because, the kernel mshv driver changes that introduce this ioctl, are not upstream yet.
Below is a link to the posted kernel patch.
https://lore.kernel.org/linux-hyperv/[email protected]/
This patch series uses the SCRUB_PARTITION ioctl during reset to ensure a sane state for the mshv driver.
The series consists of:
1. accel/mshv: mask mshv cpus as resetable
2. include/hw/hyperv: Add SCRUB_PARTITION ioctl
3. accel/mshv: use scrub_partition ioctl on init
The second commit that adds the SCRUB_PARTITION ioctl definition can be dropped once the kernel patch is merged and the Qemu linux-headers are updated.
In short, the changes mark the vCPUs as resettable and run the SCRUB_PARTITION ioctl on the synchronize_post_reset hook for the first vCPU.
Doru Blânzeanu (2):
include/hw/hyperv: Add SCRUB_PARTITION ioctl
accel/mshv: use scrub_partition ioctl on init
Magnus Kulke (1):
accel/mshv: mark mshv cpus as resetable
accel/mshv/mshv-all.c | 27 +++++++++++++++++++++++++-- include/hw/hyperv/hvgdk_mini.h | 2 ++ 2 files changed, 27 insertions(+), 2 deletions(-)
Signature · 1 line
2.54.0