From 84146be4e9a103c3262b476c8f446bc8ed25a5d0 Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Thu, 18 Nov 2010 15:50:02 +0800 Subject: [PATCH] doc: add doc for missed parameters of attach-disk * tools/virsh.pod (add docs for --persistent and --sourcetype of attach-disk, break the long lines in the meantime) --- tools/virsh.pod | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index b4644d8739..c4a5803a79 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -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 for this usage. -=item B I I I optional I<--driver driver> I<--subdriver subdriver> I<--type type> I<--mode mode> +=item B I I I 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 and I are paths for the files and devices. @@ -654,8 +656,12 @@ I can indicate I or I as alternative to the disk default, although this use only replaces the media within the existing virtual cdrom or floppy device; consider using B for this usage instead. I can specify the two specific mode I or I. +I indicates the changes will affect the next boot of the domain. +I can indicate the type of source (block|file) -=item B I I I optional I<--target target> I<--mac mac> I<--script script> I<--model model> I<--persistent> +=item B I I I optional +I<--target target> I<--mac mac> I<--script script> I<--model model> +I<--persistent> Attach a new network interface to the domain. I can be either I to indicate a physical network device or I to indicate a bridge to a device.