summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-04-11 12:28:14 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2013-04-11 12:28:14 -0700
commit74cdbc3c9032cad5ff5af0e69787d3213e90fed9 (patch)
tree9975b363e7e7f0ffc48a4e62f1dfc0b900856838
parent49bc341f075bf29822d0cf760c70926b98dfd2a3 (diff)
downloadceph-74cdbc3c9032cad5ff5af0e69787d3213e90fed9.tar.gz
doc: Changed libvirt example to use virtio.
fixes: #4469
-rw-r--r--doc/rbd/libvirt.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst
index 69cc31c20b4..ca923fe93b9 100644
--- a/doc/rbd/libvirt.rst
+++ b/doc/rbd/libvirt.rst
@@ -200,12 +200,14 @@ commands, refer to `Virsh Command Reference`_.
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/path/to/image/recent-linux.img'/>
- <target dev='hda' bus='ide'/>
+ <target dev='vda' bus='virtio'/>
<address type='drive' controller='0' bus='0' unit='0'/>
</disk>
Replace ``/path/to/image/recent-linux.img`` with the path to the OS image.
+ The minimum kernel for using the faster ``virtio`` bus is 2.6.25. See
+ `Virtio`_ for details.
**IMPORTANT:** Use ``sudo virsh edit`` instead of a text editor. If you edit
the configuration file under ``/etc/libvirt/qemu`` with a text editor,
@@ -333,4 +335,5 @@ within your VM.
.. _Ceph Authentication: ../../rados/operations/auth-intro
.. _Disks: http://www.libvirt.org/formatdomain.html#elementsDisks
.. _rbd create: ../rados-rbd-cmds#creating-a-block-device-image
-.. _Cephx Commandline: ../../rados/operations/authentication#cephx-commandline-options \ No newline at end of file
+.. _Cephx Commandline: ../../rados/operations/authentication#cephx-commandline-options
+.. _Virtio: http://www.linux-kvm.org/page/Virtio \ No newline at end of file