[libvirt-users] If it's possible for a third-party PCIe card to be shared by multiple containers

Daniel P. Berrange berrange at redhat.com
Wed Jan 15 10:45:40 UTC 2014


On Wed, Jan 15, 2014 at 12:58:54AM +0000, WANG Cheng D wrote:
> Dear all,
> 
> I have a thirty-party PCIe card in my host which can work properly in native mode.
> 
> I wonder if this card can be shared by multiple containers.
> 
> As far as the network interface is concerned, too many efforts have 
> been made for it. Two dedicated cgroup resource schedulers/subsystem
> (net_cls, net_prio) have been provided at the kernel level, and
> libvirt has also done a lot of work on virtual networking to enable
> network interface sharing between containers.
> 
> As it's difficult for me to implement all these things that have been
> done for network interface, I should find other way to enable sharing
> of this card.
> 
> Do you have any idea?

You don't mention what kind of PCI card it is and how you want the
guest to use it. It may or may not be possible to share it depending
on the answer to those questions.

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 libvirt-users mailing list