[OmniOS-discuss] KVM command to save state / acpi power off

Geoff Nordli geoffn at gnaa.net
Sat Sep 14 19:38:30 UTC 2013


On 13-09-13 07:49 PM, Geoff Nordli wrote:
> Is there a KVM control command that allows you to save state or 
> trigger an guest OS shutdown?
>
> I would like to create some script that gracefully powers off the VMs 
> in the event you shutdown/reboot the host computer.
>
> thanks,
>
> Geoff

I was missing the "monitor" option.

-monitor unix:/tmp/$HOSTNAME.monitor,server,nowait,nodelay

and you can use netcat to control it:

pkg install netcat

echo system_powerdown | nc -U /tmp/test1.monitor






More information about the OmniOS-discuss mailing list