Re: [libvirt] [PATCH 5/8] Reset and re-attach PCI host devices on guest shutdown

2009-08-13 Thread Daniel P. Berrange
On Thu, Aug 13, 2009 at 05:44:34PM +0100, Mark McLoughlin wrote: > When the guest shuts down, we should attempt to restore all PCI host > devices to a sane state. > > In the case of managed hostdevs, we should reset and re-attach the > devices. In the case of unmanaged hostdevs, we should just res

[libvirt] [PATCH 5/8] Reset and re-attach PCI host devices on guest shutdown

2009-08-13 Thread Mark McLoughlin
When the guest shuts down, we should attempt to restore all PCI host devices to a sane state. In the case of managed hostdevs, we should reset and re-attach the devices. In the case of unmanaged hostdevs, we should just reset them. Note, KVM will already reset assigned devices when the guest shut