All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] mshv: Fix soft reboot by using scrub partition ioctl on init
@ 2026-10-30 14:20 Doru Blânzeanu
  2026-10-30 14:20 ` [RFC PATCH 1/3] accel/mshv: mark mshv cpus as resetable Doru Blânzeanu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Doru Blânzeanu @ 2026-10-30 14:20 UTC (permalink / raw)
  To: qemu-devel
  Cc: Wei Liu, Michael S. Tsirkin, Magnus Kulke, Paolo Bonzini,
	Doru Blânzeanu, Cornelia Huck, Doru Blânzeanu,
	Magnus Kulke

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/20261029062801.28598-2-wei.liu@kernel.org/

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(-)

-- 
2.54.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-30 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30 14:20 [RFC PATCH 0/3] mshv: Fix soft reboot by using scrub partition ioctl on init Doru Blânzeanu
2026-10-30 14:20 ` [RFC PATCH 1/3] accel/mshv: mark mshv cpus as resetable Doru Blânzeanu
2026-10-30 14:20 ` [RFC PATCH 2/3] include/hw/hyperv: Add SCRUB_PARTITION ioctl Doru Blânzeanu
2026-10-30 14:20 ` [RFC PATCH 3/3] accel/mshv: use scrub_partition ioctl on init Doru Blânzeanu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.