Re: [PATCH V9 32/46] vfio-pci: cpr part 2 (msi)

2023-07-13 Thread Marc Zyngier
On Thu, 13 Jul 2023 13:35:57 +0100, Kunkun Jiang wrote: > > For ARM, it will first send a DISCARD command to ITS and then > establish the interrupt reporting channel for GICv3. The DISCARD > will remove the pending interrupt. Interrupts that come before > channel re-establishment are silently dis

Re: [PATCH V9 32/46] vfio-pci: cpr part 2 (msi)

2023-07-13 Thread Kunkun Jiang via
Hi Steve, On 2023/7/10 23:43, Steven Sistare wrote: On 7/5/2023 4:56 AM, Kunkun Jiang wrote: Hi Steve, I have a few questions about the msi part of the vfio device. In the reboot mode, you mentioned "The guest drivers' suspend methods flush outstanding requests and re-initialize the devices".

Re: [PATCH V9 32/46] vfio-pci: cpr part 2 (msi)

2023-07-10 Thread Steven Sistare
On 7/5/2023 4:56 AM, Kunkun Jiang wrote: > Hi Steve, > > I have a few questions about the msi part of the vfio device. > In the reboot mode, you mentioned "The guest drivers' suspend methods > flush outstanding requests and re-initialize the devices". This means, > during the downtime,the vfio dev

Re: [PATCH V9 32/46] vfio-pci: cpr part 2 (msi)

2023-07-05 Thread Kunkun Jiang via
Hi Steve, I have a few questions about the msi part of the vfio device. In the reboot mode, you mentioned "The guest drivers' suspend methods flush outstanding requests and re-initialize the devices". This means, during the downtime,the vfio device dose not generate interrupts. So no special proc

[PATCH V9 32/46] vfio-pci: cpr part 2 (msi)

2022-07-26 Thread Steve Sistare
Finish cpr for vfio-pci MSI/MSI-X devices by preserving eventfd's and vector state. Signed-off-by: Steve Sistare --- hw/vfio/pci.c | 119 +- 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index