]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Cherry-picked from master to next. Updates config to use virtio.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 16 Apr 2013 20:24:47 +0000 (13:24 -0700)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 16 Apr 2013 20:24:47 +0000 (13:24 -0700)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rbd/libvirt.rst

index 69cc31c20b46a84c8f46410320c234bbaaa82086..ca923fe93b9605ede3382114f9583d23cd9d143f 100644 (file)
@@ -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