Virtuozzo QEMU development (svt-core@virtuozzo.com)
 help / color / mirror / Atom feed
* [PATCH hci-dev v5 0/2] vfio/migration: don't stop the device on guest shutdown #VSTOR-153976
@ 2026-11-09 19:03 Andrey Drobyshev
  2026-11-09 19:03 ` [PATCH hci-dev v5 1/2] vfio/migration: stop a device left running after a " Andrey Drobyshev
  2026-11-09 19:03 ` [PATCH hci-dev v5 2/2] vfio/migration: don't stop the device on " Andrey Drobyshev
  0 siblings, 2 replies; 5+ messages in thread
From: Andrey Drobyshev @ 2026-11-09 19:03 UTC (permalink / raw)
  To: svt-core; +Cc: andrey.drobyshev, den

v4 -> v5, after Sashiko's review:

 - patch 1: a device in RUNNING_P2P is stopped in any run state, not
   only in SHUTDOWN. A reset of the stopped VM leaves the device there
   and the VM in PRELAUNCH, and a migration started from there failed;
 - patch 2: the message says that a device without P2P is left running
   at the guest shutdown, not only P2P-quiesced.

v4: http://lore.virtuozzo.com/qemu/20261109165435.175715-1-andrey.drobyshev@virtuozzo.com/

Andrey Drobyshev (2):
  vfio/migration: stop a device left running after a guest shutdown
    #VSTOR-153976
  vfio/migration: don't stop the device on guest shutdown #VSTOR-153976

 hw/vfio/migration.c               | 67 +++++++++++++++++++++++++++++++
 hw/vfio/vfio-migration-internal.h |  1 +
 include/system/runstate.h         |  1 +
 system/runstate.c                 |  5 +++
 4 files changed, 74 insertions(+)


base-commit: 5d129c4dd43d131fbcdd411ad30be8a9a641895e
--
2.47.1


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

end of thread, other threads:[~2026-11-09 19:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 19:03 [PATCH hci-dev v5 0/2] vfio/migration: don't stop the device on guest shutdown #VSTOR-153976 Andrey Drobyshev
2026-11-09 19:03 ` [PATCH hci-dev v5 1/2] vfio/migration: stop a device left running after a " Andrey Drobyshev
2026-11-09 19:15   ` no-reply
2026-11-09 19:03 ` [PATCH hci-dev v5 2/2] vfio/migration: don't stop the device on " Andrey Drobyshev
2026-11-09 19:15   ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox