From cc75fcc90f60940a4979d15ff61396393aa3f0b6 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 18 Jun 2012 13:14:49 +0200 Subject: [PATCH] virsh: Tweak attach-* documentation as we are missing: attach-disk: --type can accept 'lun' too, not just cdrom or floppy. attach-disk: --target specify logical device name, not path attach-interface: --target silently drops strings with vnet* prefix --- tools/virsh.pod | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 910a18716a..47291276e7 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1586,10 +1586,11 @@ needed if the device does not use managed mode. [I<--multifunction>] Attach a new disk device to the domain. -I and I are paths for the files and devices. -I can be I, I or I for the Xen hypervisor depending on -the kind of access; or I for the QEMU emulator. -I can indicate I or I as alternative to the disk default, +I is path for the files and devices. I controls the bus or +device under which the disk is exposed to the guest OS. It indicates the +"logical" device name. I can be I, I or I for the Xen +hypervisor depending on the kind of access; or I for the QEMU emulator. +I can indicate I, 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. @@ -1614,7 +1615,8 @@ 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. I indicates the source device. -I allows to indicate the target device in the guest. +I allows to indicate the target device in the guest. Names starting +with 'vnet' are considered as auto-generated an hence blanked out. I allows to specify the MAC address of the network interface. I