Set the guest OS to shutdown when an acpi signal shutdown is received. Send acpi signal using
The action controls what QEMU will do when the watchdog timer
expires. The default is "reset" (forcefully reset the guest).
Other possible actions are: "shutdown" (attempt to gracefully
shutdown the guest), "poweroff" (forcefully poweroff the guest),
"pause" (pause the guest), "debug" (print a debug message and
continue), or "none" (do nothing).
Note that the "shutdown" action requires that the guest responds to
ACPI signals, which it may not be able to do in the sort of
situations where the watchdog would have expired, and thus
"-watchdog-action shutdown" is not recommended for production use.