Re: [PATCH] libxl: Retry QMP PCI device_add

2022-04-08 Thread Jason Andryuk
On Fri, Apr 8, 2022 at 10:56 AM Anthony PERARD wrote: > > On Wed, Mar 30, 2022 at 03:46:56PM -0400, Jason Andryuk wrote: > > PCI device assignment to an HVM with stubdom is potentially racy. First > > the PCI device is assigned to the stubdom via the PV PCI protocol. Then > > QEMU is sent a QMP

Re: [PATCH] libxl: Retry QMP PCI device_add

2022-04-08 Thread Anthony PERARD
On Wed, Mar 30, 2022 at 03:46:56PM -0400, Jason Andryuk wrote: > PCI device assignment to an HVM with stubdom is potentially racy. First > the PCI device is assigned to the stubdom via the PV PCI protocol. Then > QEMU is sent a QMP command to attach the PCI device to QEMU running > within the stu

[PATCH] libxl: Retry QMP PCI device_add

2022-03-30 Thread Jason Andryuk
PCI device assignment to an HVM with stubdom is potentially racy. First the PCI device is assigned to the stubdom via the PV PCI protocol. Then QEMU is sent a QMP command to attach the PCI device to QEMU running within the stubdom. However, the sysfs entries within the stubdom may not have appea