diff options
author | Li Zhijian <lizhijian@cn.fujitsu.com> | 2016-04-14 11:25:52 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-23 16:53:44 +0200 |
commit | e92a2d9cb3d8f589c9fe5d2eacc83d8dddea0e16 (patch) | |
tree | 7c9d9244d055029de7b8b3bd6dae9a269960daff /exec.c | |
parent | ed1263c363c970a7ad5226b8f41dbbf0c92c1e17 (diff) | |
download | qemu-e92a2d9cb3d8f589c9fe5d2eacc83d8dddea0e16.tar.gz qemu-e92a2d9cb3d8f589c9fe5d2eacc83d8dddea0e16.tar.bz2 qemu-e92a2d9cb3d8f589c9fe5d2eacc83d8dddea0e16.zip |
vl: change runstate only if new state is different from current state
Previously, qemu will abort at following scenario:
(qemu) stop
(qemu) system_reset
(qemu) system_reset
(qemu) 2016-04-13T20:54:38.979158Z qemu-system-x86_64: invalid runstate transition: 'prelaunch' -> 'prelaunch'
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1460604352-18630-1-git-send-email-lizhijian@cn.fujitsu.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions