From: Michal Privoznik Date: Mon, 18 Jun 2012 11:20:01 +0000 (+0200) Subject: virsh: Update vol-create-as manpage X-Git-Tag: v0.9.13-rc1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2872155bfe8e95334116e216f369539d1ec5c7cb;p=thirdparty%2Flibvirt.git virsh: Update vol-create-as manpage as we support qed format as well. --- diff --git a/docs/schemas/storagevol.rng b/docs/schemas/storagevol.rng index 8edb877bcb..7a74331cd7 100644 --- a/docs/schemas/storagevol.rng +++ b/docs/schemas/storagevol.rng @@ -153,6 +153,7 @@ iso qcow qcow2 + qed vmdk vpc diff --git a/tools/virsh.c b/tools/virsh.c index 4d34d491c5..1e1de39d8f 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -11351,7 +11351,7 @@ static const vshCmdOptDef opts_vol_create_as[] = { {"allocation", VSH_OT_STRING, 0, N_("initial allocation size, as scaled integer (default bytes)")}, {"format", VSH_OT_STRING, 0, - N_("file format type raw,bochs,qcow,qcow2,vmdk")}, + N_("file format type raw,bochs,qcow,qcow2,qed,vmdk")}, {"backing-vol", VSH_OT_STRING, 0, N_("the backing volume if taking a snapshot")}, {"backing-vol-format", VSH_OT_STRING, 0, diff --git a/tools/virsh.pod b/tools/virsh.pod index 47291276e7..1a6bef23b3 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -2163,11 +2163,12 @@ I is the size of the volume to be created, as a scaled integer I<--allocation> I is the initial size to be allocated in the volume, also as a scaled integer defaulting to bytes. I<--format> I is used in file based storage pools to specify the volume -file format to use; raw, bochs, qcow, qcow2, vmdk. +file format to use; raw, bochs, qcow, qcow2, vmdk, qed. I<--backing-vol> I is the source backing volume to be used if taking a snapshot of an existing volume. I<--backing-vol-format> I is the format of the snapshot backing volume; -raw, bochs, qcow, qcow2, vmdk, host_device. +raw, bochs, qcow, qcow2, qed, vmdk, host_device. These are, however, meant for +file based storage pools. =item B [I<--pool> I] I I