[libvirt] problem in pciFindStubDriver

Daniel P. Berrange berrange at redhat.com
Fri Jan 4 10:36:13 UTC 2013


On Fri, Jan 04, 2013 at 10:22:09AM +0800, Chunyan Liu wrote:
> For Xen PV guests, pciback is the only working driver, pci-stub
> doesn't work. Current function finds pci-stub driver first, if
> pci-stub doesn't exist, find pciback. It won't work for Xen PV guests
> since it will find pci-stub driver and return, but in fact it needs
> pciback.
> 
> One way is to prefer pciback rather than pci-stub like in following
> patch. But that will change the behaviour of other drivers too. Is
> there any preferred aprroach to handle this?

Hmm, I wonder if we should let the virt driver simply pass in the
name of its desired stub, rather than trying todo magic fallback.

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




More information about the libvir-list mailing list