]> xenbits.xensource.com Git - libvirt.git/commit
virsh: doc: Fix supported driver types for attach-disk command
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 Sep 2011 12:57:07 +0000 (14:57 +0200)
committerEric Blake <eblake@redhat.com>
Mon, 19 Sep 2011 22:54:13 +0000 (16:54 -0600)
commit2ad83bf4486d1475ba3f5c6903c8447dae4b1ba5
treea4eab9afaf60de0785af7c65121f13719bc2ac02
parentd6fb294346f0dc8a2e8218ae615502efd7cc2014
virsh: doc: Fix supported driver types for attach-disk command

Virsh man page lists driver types to be used with attach-device
command, but does not specify that those are usable only with the XEN
Hypervisor.

This patch adds statement, that those options specified are applicable
only on the Xen hypervisor and adds option usable with qemu emulator.

This patch also changes type of error returned by QEMU driver if the
user specifies incompatible driver type from VIR_ERR_INTERNAL_ERROR to
VIR_ERR_CONFIG_UNSUPPORTED.
src/qemu/qemu_command.c
src/qemu/qemu_driver.c
tools/virsh.pod