]> xenbits.xensource.com Git - libvirt.git/commitdiff
doc: add doc for missed parameters of attach-disk
authorOsier Yang <jyang@redhat.com>
Thu, 18 Nov 2010 07:50:02 +0000 (15:50 +0800)
committerEric Blake <eblake@redhat.com>
Thu, 18 Nov 2010 18:17:03 +0000 (11:17 -0700)
* tools/virsh.pod (add docs for --persistent and --sourcetype
of attach-disk, break the long lines in the meantime)

tools/virsh.pod

index b4644d8739886eb7068cf0232a6734e4d7146193..c4a5803a799e91917d7dfea7ae523c752f523d49 100644 (file)
@@ -645,7 +645,9 @@ See the documentation to learn about libvirt XML format for a device.
 For cdrom and floppy devices, this command only replaces the media within
 the single existing device; consider using B<update-device> for this usage.
 
-=item B<attach-disk> I<domain-id> I<source> I<target> optional I<--driver driver> I<--subdriver subdriver> I<--type type> I<--mode mode>
+=item B<attach-disk> I<domain-id> I<source> I<target> optional
+I<--driver driver> I<--subdriver subdriver> I<--type type>
+I<--mode mode> I<--persistent> I<--sourcetype soucetype>
 
 Attach a new disk device to the domain.
 I<source> and I<target> are paths for the files and devices.
@@ -654,8 +656,12 @@ I<type> can indicate I<cdrom> or I<floppy> as alternative to the disk default,
 although this use only replaces the media within the existing virtual cdrom or
 floppy device; consider using B<update-device> for this usage instead.
 I<mode> can specify the two specific mode I<readonly> or I<shareable>.
+I<persistent> indicates the changes will affect the next boot of the domain.
+I<sourcetype> can indicate the type of source (block|file)
 
-=item B<attach-interface> I<domain-id> I<type> I<source> optional I<--target target> I<--mac mac> I<--script script> I<--model model> I<--persistent>
+=item B<attach-interface> I<domain-id> I<type> I<source> optional
+I<--target target> I<--mac mac> I<--script script> I<--model model>
+I<--persistent>
 
 Attach a new network interface to the domain.
 I<type> can be either I<network> to indicate a physical network device or I<bridge> to indicate a bridge to a device.