]> git.ipfire.org Git - thirdparty/qemu.git/commit - vl.c
vl: change QEMU state machine for system reset
authorDenis V. Lunev <den@openvz.org>
Sat, 13 Feb 2016 13:26:26 +0000 (16:26 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 08:27:59 +0000 (09:27 +0100)
commit7ec13c798a5792c70edbc088ac6aae07c85ee230
treeee5a164db4efb223c698459a9f463f6e8ea57ad8
parentb11d029b0a093e31ae13e4fade03c7848e8af169
vl: change QEMU state machine for system reset

This patch implements proposal from Paolo to handle system reset when
the guest is not running.

"After a reset, main_loop_should_exit should actually transition
to VM_STATE_PRELAUNCH (*not* RUN_STATE_PAUSED) for *all* states except
RUN_STATE_INMIGRATE, RUN_STATE_SAVE_VM (which I think cannot happen
there) and (of course) RUN_STATE_RUNNING."

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1455369986-20353-1-git-send-email-den@openvz.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
vl.c