]> git.ipfire.org Git - thirdparty/qemu.git/commit
exec: fix breakpoint_invalidate when pc may not be translated
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 27 Sep 2013 18:29:17 +0000 (22:29 +0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 4 Dec 2013 01:59:05 +0000 (19:59 -0600)
commit2c8187434f90fceb20ee1f0031fb591e5382674d
tree4dd976d6ac18763429ef127dd7c64341a32bdd63
parent5326636ff2390bb260b3d8d14899b04db205992d
exec: fix breakpoint_invalidate when pc may not be translated

This fixes qemu abort with the following message:

    include/qemu/int128.h:22: int128_get64: Assertion `!a.hi' failed.

which happens due to attempt to invalidate breakpoint by virtual address
for which get_phys_page_debug couldn't find mapping.

For more details see
http://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04582.html

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit e8262a1b5b7cfbcbc80c46e4ce6ff7c517b7b2f6)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c