[libvirt] [PATCH] virsh: add aliases 'boot', 'stop', and 'restart'
Daniel P. Berrange
berrange at redhat.com
Thu Nov 8 14:25:41 UTC 2012
On Tue, Nov 06, 2012 at 09:30:15AM +0100, Viktor Mihajlovski wrote:
> On 11/05/2012 08:59 PM, Eric Blake wrote:
> >
> >This patch documents both spellings. An alternative would be to
> >leave the alternate spellings as hidden aliases (virsh has support
> >for that), but still mention them in virsh.pod (see how we did an
> >alias for nodedev-dettach, for reference).
> In my opinion start, stop, restart is better than the mix before and
> semantically more accurate than boot, shutdown, reboot. The latter
> uses terms that apply to the operating system inside the domain
> rather than the domain (virtual machine) itself.
The 'shutdown' and 'reboot' commands use terms that apply to the
operating system, because they *are* controlling the operating
system, not the virtual machine. They directly result in the
guest OS commands 'shutdown' and 'reboot' being invoked.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list