[libvirt] [PATCH 4/4] Allow choice of shutdown method via virsh

Eric Blake eblake at redhat.com
Thu Jan 19 23:50:57 UTC 2012


On 01/17/2012 04:44 AM, Michal Privoznik wrote:
> Extend the 'shutdown' and 'reboot' methods so that they both
> accept a new argument
> 
>     --mode acpi|agent
> 
> * tools/virsh.c: New args for shutdown/reboot
> * tools/virsh.pod: Document new args
> ---
>  tools/virsh.c   |   47 +++++++++++++++++++++++++++++++++++++++++++++--
>  tools/virsh.pod |   24 ++++++++++++++++--------
>  2 files changed, 61 insertions(+), 10 deletions(-)
> 

> @@ -1796,9 +1804,9 @@ Edit the XML configuration file for a storage pool.
>  
>  This is equivalent to:
>  
> - virsh pool-dumpxml pool > pool.xml
> - vi pool.xml (or make changes with your other text editor)
> - virsh pool-define pool.xml
> +virsh pool-dumpxml pool > pool.xml
> +vi pool.xml (or make changes with your other text editor)
> +virsh pool-define pool.xml
>  
>  except that it does some error checking.
>  
> @@ -1853,9 +1861,9 @@ pre-existing volume.
>  
>  B<Example>
>  
> - virsh vol-dumpxml --pool storagepool1 appvolume1 > newvolume.xml
> - vi newvolume.xml (or make changes with your other text editor)
> - virsh vol-create differentstoragepool newvolume.xml
> +virsh vol-dumpxml --pool storagepool1 appvolume1 > newvolume.xml
> +vi newvolume.xml (or make changes with your other text editor)
> +virsh vol-create differentstoragepool newvolume.xml

These two whitespace-changing hunks look spurious.  ACK to the rest of
the patch.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120119/1a2b9d1b/attachment-0001.sig>


More information about the libvir-list mailing list