[libvirt] [PATCH] qemu: Do not wait if the PCI device is not managed when reattaching

2011-10-17 Thread Osier Yang
Waiting for qemu-kvm cleaning up the PCI bar(s) mapping with long time while the device is not managed is just waste of time. --- src/qemu/qemu_hostdev.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c index c

Re: [libvirt] [PATCH] qemu: Do not wait if the PCI device is not managed when reattaching

2011-10-17 Thread Eric Blake
On 10/17/2011 04:58 AM, Osier Yang wrote: Waiting for qemu-kvm cleaning up the PCI bar(s) mapping with long time while the device is not managed is just waste of time. --- src/qemu/qemu_hostdev.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) ACK. -- Eric Blake e

Re: [libvirt] [PATCH] qemu: Do not wait if the PCI device is not managed when reattaching

2011-10-17 Thread Osier Yang
于 2011年10月18日 01:47, Eric Blake 写道: On 10/17/2011 04:58 AM, Osier Yang wrote: Waiting for qemu-kvm cleaning up the PCI bar(s) mapping with long time while the device is not managed is just waste of time. --- src/qemu/qemu_hostdev.c | 15 --- 1 files changed, 8 insertions(+), 7 deletio