Il 20/02/2013 16:32, Anthony Liguori ha scritto: > + if (no_shutdown) { > + vm_stop(RUN_STATE_SHUTDOWN); > + } else { > + main_loop_quit(); > + }
Would it make sense to call vm_stop() unconditionally? Then Xen can just use the vmstate_change handler as a hook. Similarly, for reset it can just use qemu_register_reset. Paolo