[virt-tools-list] Why there is no "autostop"?

Peng Yu pengyu.ut at gmail.com
Thu Mar 13 19:39:32 UTC 2014


On Thu, Mar 13, 2014 at 2:28 PM, Eric Blake <eblake at redhat.com> wrote:
> On 03/13/2014 12:39 PM, Peng Yu wrote:
>> Hi,
>>
>> Since there is "autostart", I'd think that there should be a symmetric
>> command "autostop". But I don't see it in the manual. Does anybody
>> know why?
>>
>> What is the proper way to shutdown the host? Do I have to manually
>> shutdown each guests before shutting down the host? Is there a more
>> automated way to shutting down the host? Thanks.
>
> Use the libvirt-guests service, then edit /etc/sysconfig/libvirt-guests
> to change ON_SHUTDOWN=shutdown instead of the default of suspend.

$ cat /etc/issue
Ubuntu 13.10 \n \l

What is the ubuntu equivalent? I only find the following conf files.
But ON_SHUTDOWN appears in none of them. Thanks.

/etc/libvirt$ ls *.conf
libvirt.conf  libvirtd.conf  lxc.conf  qemu.conf  qemu-lockd.conf

-- 
Regards,
Peng




More information about the virt-tools-list mailing list