From: "Doru Blânzeanu" <dblanzeanu@linux.microsoft.com>
To: qemu-devel@nongnu.org
Cc: "Wei Liu" <wei.liu@kernel.org>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Magnus Kulke" <magnuskulke@microsoft.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Doru Blânzeanu" <dblanzeanu@microsoft.com>,
"Cornelia Huck" <cohuck@redhat.com>,
"Doru Blânzeanu" <dblanzeanu@linux.microsoft.com>,
"Magnus Kulke" <magnuskulke@linux.microsoft.com>
Subject: [RFC PATCH 0/3] mshv: Fix soft reboot by using scrub partition ioctl on init
Date: Fri, 30 Oct 2026 16:20:34 +0200 [thread overview]
Message-ID: <20261030142037.267641-1-dblanzeanu@linux.microsoft.com> (raw)
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
next reply other threads:[~2026-10-30 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 14:20 Doru Blânzeanu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261030142037.267641-1-dblanzeanu@linux.microsoft.com \
--to=dblanzeanu@linux.microsoft.com \
--cc=cohuck@redhat.com \
--cc=dblanzeanu@microsoft.com \
--cc=magnuskulke@linux.microsoft.com \
--cc=magnuskulke@microsoft.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wei.liu@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.