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

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



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 suse com>
> ---
>  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 :|


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