Re: [PATCH] pass stub driver name instead of pciFindStubDriver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]