On 01/10/2013 05:16 AM, Daniel P. Berrange wrote: > On Thu, Jan 10, 2013 at 03:51:43PM +0800, Chunyan Liu wrote: >> Pass stub driver name directly to pciDettachDevice and pciReAttachDevice to fit >> for different libvirt drivers. For example, qemu driver prefers pci-stub, but >> Xen prefers pciback. >> >> Signed-off-by: Chunyan Liu <cyliu@xxxxxxxx> >> --- >> src/qemu/qemu_driver.c | 4 +- >> src/qemu/qemu_hostdev.c | 6 ++-- >> src/util/virpci.c | 62 +++++++++++++++------------------------------- >> src/util/virpci.h | 6 +++- >> src/xen/xen_driver.c | 4 +- >> 5 files changed, 31 insertions(+), 51 deletions(-) > ACK, this looks nicer to me. I just pushed this. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list