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

v2 -> v3:

 - new patch 1: stop the device when QEMU quits or migrates a VM that
   a guest shutdown left stopped. A VF closed while running, after the
   Linux guest driver unloaded, breaks the next VM that resumes on it;
 - the stop at the start of a save moved to patch 1 and now covers only
   the SHUTDOWN run state, so a suspended guest is left alone (Sashiko);
 - the guest shutdown check is one helper, used by both VM state
   handlers.

v2: http://lore.virtuozzo.com/qemu/20261108205050.37277-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 touch 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 15:53 UTC | newest]

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

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