Discussion:
[9fans] xen3: behaviour with on_poweroff='destroy'
(too old to reply)
Nicolas Bercher
2012-02-15 23:57:18 UTC
Permalink
I'm not sure that this triggers fshalt on a virtualized Plan 9 machine.
Is there a way to properly shut down a Plan 9 vm when the host/dom0 shuts
down?

Thank a lot for your help.
Nicolas
Richard Miller
2012-02-16 15:58:20 UTC
Permalink
Post by Nicolas Bercher
Is there a way to properly shut down a Plan 9 vm when the host/dom0 shuts
down?
At present nothing is set up to do this. You should be able to use the
xenstore command (/sys/src/9/xen3/xenstore.c) to watch for messages on
control/shutdown in the xenstore and respond accordingly.

Loading...