]> git.proxmox.com Git - qemu.git/commit - gdbstub.c
gdbstub: fix for commit 87f25c12bfeaaa0c41fb857713bbc7e8a9b757dc
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 3 Jun 2013 15:06:54 +0000 (17:06 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Jun 2013 16:36:11 +0000 (11:36 -0500)
commit26ac7a31fbf5522d2ca3f0e2e5b5c8e915701f66
tree9996b46bd97064983d99cb0c46cd8ff8073094aa
parent4f293bd6e53739e089f33b458f70a9c4ac136b92
gdbstub: fix for commit 87f25c12bfeaaa0c41fb857713bbc7e8a9b757dc

This commit used the wrong check to prevent an assertion failure.
After this commit, you need to start a guest in the monitor, you
cannot use anymore the "c" command in the debugger.  This is
undesirable.  The commit's aim was to prevent a restart
after a KVM internal error or something like that; use
runstate_needs_reset() for that.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Message-id: 1370272015-9659-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
gdbstub.c