Re: [PATCH 3/4] bhyve: multiple virtio-blk devices support

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

 



On Thu, Mar 20, 2014 at 09:39:22AM +0100, Wojciech Macek wrote:
> Add support for multiple virtio-blk devices. Current implementation
> offers room for up to 8 disks and enumerates them as functions on
> PCI bus: 2:0, 2:1 ... 2:7

Use of PCI functions should be avoided by default, since it prevents
you from supporting hotplug/unplug. You want virtio-blk devices to
be set on individual PCI slots instead, which allows upto 32 devices
in total (though VGA, host bridge & nic consume some of those).

Also we need to assign & track PCI addresses in the XML explicitly
so that upon migraton the addresses don't change. IOW, the bhyve
driver really needs to copy the qemuDomainAssignPCIAddresses code
in this area, and then honour the address info when building the
command line

Regards,
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]