All of lore.kernel.org
 help / color / mirror / Atom feed
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 1/3] accel/mshv: mark mshv cpus as resetable
Date: Fri, 30 Oct 2026 16:20:35 +0200	[thread overview]
Message-ID: <20261030142037.267641-2-dblanzeanu@linux.microsoft.com> (raw)
In-Reply-To: <20261030142037.267641-1-dblanzeanu@linux.microsoft.com>

From: Magnus Kulke <magnuskulke@linux.microsoft.com>

Guest using the MSHV accelerator aren't resetable otherwise.

Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com>
Signed-off-by: Doru Blânzeanu <dblanzeanu@linux.microsoft.com>
---
 accel/mshv/mshv-all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/accel/mshv/mshv-all.c b/accel/mshv/mshv-all.c
index d820a67b95..a7b7017fb1 100644
--- a/accel/mshv/mshv-all.c
+++ b/accel/mshv/mshv-all.c
@@ -952,7 +952,7 @@ static void mshv_cpu_synchronize(CPUState *cpu)
 
 static bool mshv_cpus_are_resettable(void)
 {
-    return false;
+    return true;
 }
 
 static void mshv_accel_class_init(ObjectClass *oc, const void *data)
-- 
2.54.0



  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 [RFC PATCH 0/3] mshv: Fix soft reboot by using scrub partition ioctl on init Doru Blânzeanu
2026-10-30 14:20 ` Doru Blânzeanu [this message]
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-2-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.