From: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
To: svt-core@virtuozzo.com
Cc: andrey.drobyshev@virtuozzo.com, den@openvz.org
Subject: [PATCH hci-dev v2 0/1] vfio/migration: don't touch the device on guest shutdown #VSTOR-153976
Date: Sun, 8 Nov 2026 22:50:49 +0200 [thread overview]
Message-ID: <20261108205050.37277-1-andrey.drobyshev@virtuozzo.com> (raw)
v1 -> v2, after Sashiko's review:
- skip the STOP only when the shutdown action is "pause", so quit, a
signal and a plain guest shutdown still stop the device on exit;
- stop the device in vfio_save_setup() if a migration or savevm is
started on the stopped VM, since no VM state change comes then.
v1: http://lore.virtuozzo.com/qemu/010701a1b7cff882-2e4d6e19-0372-4865-8ed1-19d654b0ba16-000000@eu-central-1.amazonses.com
Andrey Drobyshev (1):
vfio/migration: don't touch the device on guest shutdown #VSTOR-153976
hw/vfio/migration.c | 30 ++++++++++++++++++++++++++++++
include/system/runstate.h | 1 +
system/runstate.c | 5 +++++
3 files changed, 36 insertions(+)
--
2.47.1
next reply other threads:[~2026-11-08 20:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 20:50 Andrey Drobyshev [this message]
2026-11-08 20:50 ` [PATCH hci-vev v2 1/1] " Andrey Drobyshev
2026-11-09 12:26 ` Denis V. Lunev
2026-11-09 15:45 ` Andrey Drobyshev
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=20261108205050.37277-1-andrey.drobyshev@virtuozzo.com \
--to=andrey.drobyshev@virtuozzo.com \
--cc=den@openvz.org \
--cc=svt-core@virtuozzo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox