|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH 4/9] main-loop: refactor qemu_system_shutdown_request() |
| Date: | Wed, 20 Feb 2013 16:47:03 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
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
| [Prev in Thread] | Current Thread | [Next in Thread] |