diff options
author | John Wilkins <john.wilkins@inktank.com> | 2013-04-16 13:24:47 -0700 |
---|---|---|
committer | John Wilkins <john.wilkins@inktank.com> | 2013-04-16 13:24:47 -0700 |
commit | 97532875ce8b630d525129d9239ab9acdb75054b (patch) | |
tree | 9d15ffc28374bb5566a9d3da38fa106ec03f0b6c | |
parent | 72b3919c813d153f2b2c6aab5b80b630c7d30f9d (diff) | |
download | ceph-97532875ce8b630d525129d9239ab9acdb75054b.tar.gz |
doc: Cherry-picked from master to next. Updates config to use virtio.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r-- | doc/rbd/libvirt.rst | 7 |
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 |