[virt-tools-list] Why virsh shutdown does not work?
digimars at gmail.com
Fri May 13 15:54:34 UTC 2011
Are you having this problem on Windows or Linux VMs? I don't have
this issue with Linux VMs (provided I installed them with the virtio
drivers). However, on a Windows VM there is an extra step that I do
to make it work:
Computer Configuration\Windows Settings\Security Settings\Local
Policies\Security Options\Shutdown: Allow system to be shut down
without having to log on
2011/5/13 Laurent Léonard <laurent at open-minds.org>:
> Le vendredi 13 mai 2011 13:33:54, Bruno Lamps a écrit :
>> As you may have noticed, I'm writing some simple backup scripts to my KVM
>> vms. Because my production server runs libvirt 0.7.5, I'm not able to use
>> virsh save, there's some sort of bug that make the VM to not always
>> So I do my backups shuting down the systems and then copying que raw image
>> and the .xml file. To do so, I run "virsh shutdown VMname". For some
>> reason, it doesn't works all the time, so my script currently waits 10
>> mintues to run "virsh destroy VMname", to be sure that the VM isn't
>> running and then copy it's files.
>> Why "virsh shutdown" isn't working for me everytime? Is there any VM log
>> where I can discover the reason? =]
> "virsh shutdown" sends an ACPI shutdown call to the virtual machine. If it
> never worked for one or more virtual machines, check that the guest systems
> correctly handle ACPI shutdown calls.
>> Can "virsh destroy" damage VMs easily?
> Avoid it if you can, it has the same effect as if you unplug the power cord for
> a physical machine...
> Laurent Léonard
> virt-tools-list mailing list
> virt-tools-list at redhat.com
More information about the virt-tools-list