Re: [libvirt] [PATCH 8/8] Check active domain hostdevs before allowing PCI reset

2009-08-13 Thread Daniel P. Berrange
On Thu, Aug 13, 2009 at 05:44:37PM +0100, Mark McLoughlin wrote: > If a PCI device reset causes other devices to be reset, allow it so long > as those other devices are note assigned to another active domain. > > Note, we need to take the driver lock qemudNodeDeviceReset() because the > check func

[libvirt] [PATCH 8/8] Check active domain hostdevs before allowing PCI reset

2009-08-13 Thread Mark McLoughlin
If a PCI device reset causes other devices to be reset, allow it so long as those other devices are note assigned to another active domain. Note, we need to take the driver lock qemudNodeDeviceReset() because the check function will iterate over the domain list. * src/qemu_conf.c: add qemuCheckPc