On 1/8/25 2:29 AM, Cédric Le Goater wrote:
Hello Rorie,
On 1/7/25 19:43, Rorie Reyes wrote:
This patch adds enumeration constant VFIO_AP_CFG_CHG_IRQ_INDEX to
specify
an IRQ index for signaling that a change has been made to the guest's AP
configuration. This is a placeholder for
On 1/7/25 2:06 PM, Alex Williamson wrote:
Why are configuration changes to the device allowed while the device is
in use?
Would a uevent be considered an inefficient mechanism? Why?
Thanks,
Alex
I believe a vfio device is typically used to pass through a single I/O
device, like a VGPU or P
On 1/8/25 2:34 AM, Cédric Le Goater wrote:
On 1/7/25 19:43, Rorie Reyes wrote:
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
hw/vfio/ap.c | 27
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
linux-headers/linux/vfio.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
index 1b5e254d6a..
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
target/s390x/ioinst.c | 11 +--
1 file changed, 9 insertions(+), 2 dele
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 37
ation changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (5):
linux-headers: NOTFORMERGE - placeholder uapi updates for AP config
change
hw/vfio/ap: notification handler for AP config changed event
hw/vfio/ap: store object indic
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony