qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed
@ 2023-05-30 22:55 Tony Krowiak
  2023-05-30 22:55 ` [PATCH 1/2] linux-headers: Update with vfio_ap IRQ index mapping Tony Krowiak
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tony Krowiak @ 2023-05-30 22:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-s390x, mjrosato, jjherne, pasic, fiuczy, thuth, farman,
	borntraeger, Tony Krowiak

When a user attempts to remove a vfio-ap mediated device attached to a
guest, the operation hangs until the mdev's fd is closed by the guest
(i.e., the guest is shut down). This patch series provides userspace 
(i.e., qemu) code to handle device unplug requests for AP. When notified
that the mdev is being removed, the handler will unplug the device, thus
avoiding the hang condition.

Tony Krowiak (2):
  linux-headers: Update with vfio_ap IRQ index mapping
  s390x/ap: Wire up the device request notifier interface

 hw/vfio/ap.c               | 113 +++++++++++++++++++++++++++++++++++++
 linux-headers/linux/vfio.h |   9 +++
 2 files changed, 122 insertions(+)

-- 
2.31.1



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

end of thread, other threads:[~2023-05-31 13:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30 22:55 [PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed Tony Krowiak
2023-05-30 22:55 ` [PATCH 1/2] linux-headers: Update with vfio_ap IRQ index mapping Tony Krowiak
2023-05-31  0:56   ` Matthew Rosato
2023-05-31 12:52     ` Anthony Krowiak
2023-05-31 13:07       ` Matthew Rosato
2023-05-31 13:12         ` Anthony Krowiak
2023-05-31 13:07       ` Cornelia Huck
2023-05-31 13:21         ` Anthony Krowiak
2023-05-30 22:55 ` [PATCH 2/2] s390x/ap: Wire up the device request notifier interface Tony Krowiak
2023-05-31 12:40 ` [PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed Anthony Krowiak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).