Re: [PATCH] virsh: add aliases 'boot', 'stop', and 'restart'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]