[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed
From: |
Tony Krowiak |
Subject: |
[PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed |
Date: |
Tue, 30 May 2023 18:55:42 -0400 |
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
- [PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed,
Tony Krowiak <=
[PATCH 2/2] s390x/ap: Wire up the device request notifier interface, Tony Krowiak, 2023/05/30
Re: [PATCH 0/2] s390x/ap: fix hang when mdev attached to guest is removed, Anthony Krowiak, 2023/05/31