[libvirt] [PATCH 3/3] reattach pci devices when qemuPrepareHostdevPCIDevices() failed

2011-03-28 Thread Wen Congyang
Reattach all pci devices that we detached when qemuPrepareHostdevPCIDevices() failed. --- src/qemu/qemu_hostdev.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c index 30db0e2..7f5ad51 100644 --- a/src/qemu/qemu

Re: [libvirt] [PATCH 3/3] reattach pci devices when qemuPrepareHostdevPCIDevices() failed

2011-04-04 Thread Eric Blake
On 03/28/2011 01:01 AM, Wen Congyang wrote: > Reattach all pci devices that we detached when qemuPrepareHostdevPCIDevices() > failed. > > --- > src/qemu/qemu_hostdev.c | 12 +--- > 1 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu