
Hi, On Fri, Oct 15, 2021 at 12:04:22AM +0800, Tommy Sway wrote:
Sometimes, some vm failed to stop it by press the shutdown button on the management portal, it will show such message in log: shutdown of vm *** failed.
And I want to know:
1. why cannot shutdown it normally ?
You should possibly find more information in vdsm.log about why it has failed.
2. what difference between the shutdown and power off ? (For example, what are the different signals sent to the QEMU process)
Power off forcibly stops the VM. From the VM point of view it is similar to pulling out a power cord from bare metal computer. Shutdown delivers a request to the guest OS (which may or may not satisfy the request). If you see an error it means there was a problem communicating the request to the guest. The request is delivered either using a guest agent (if one is installed) or using an ACPI event. Hope this helps, Tomas