diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-06-13 14:34:59 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-13 22:05:44 +0100 |
commit | 919b7e3f6c476c291744b98354208b04b0a670b3 (patch) | |
tree | 925494e20f6d1fc053d4ee3f29bf475b44bc5e52 /src | |
parent | cef979b2897725b735c68f5b806d332f4cea864d (diff) | |
download | libguestfs-919b7e3f6c476c291744b98354208b04b0a670b3.tar.gz libguestfs-919b7e3f6c476c291744b98354208b04b0a670b3.tar.xz libguestfs-919b7e3f6c476c291744b98354208b04b0a670b3.zip |
Update documentation on maximum number of disks.
Diffstat (limited to 'src')
-rw-r--r-- | src/guestfs.pod | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index bd61c831..a181b3fa 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -3201,16 +3201,18 @@ filesystem support (L<guestmount(1)>). =head2 MAXIMUM NUMBER OF DISKS -When using virtio disks (the default) the current limit is B<25> -disks. +When using virtio-scsi disks (the default if available in qemu) the +current limit is B<255> disks. When using virtio-blk (the old +default) the limit is around B<27> disks, but may vary according to +implementation details and whether the network is enabled. -Virtio itself consumes 1 virtual PCI slot per disk, and PCI is limited -to 31 slots. However febootstrap only understands disks with names -C</dev/vda> through C</dev/vdz> (26 letters) and it reserves one disk -for its own purposes. +Virtio-scsi as used by libguestfs is configured to use one target per +disk, and 256 targets are available. -We are working to substantially raise this limit in future versions -but it requires complex changes to qemu. +Virtio-blk consumes 1 virtual PCI slot per disk, and PCI is limited +to 31 slots, but some of these are used for other purposes. + +One virtual disk is used by libguestfs internally. In future versions of libguestfs it should also be possible to "hot plug" disks (add and remove disks after calling L</guestfs_launch>). |