]> git.proxmox.com Git - qemu.git/commit - cputlb.c
cputlb: fix watchpoints handling
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 5 May 2012 21:44:31 +0000 (01:44 +0400)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 12 May 2012 09:14:38 +0000 (09:14 +0000)
commit56eb21e15827fd0326c57dcab59771cb03ad9df6
treea9573601b5f3dc04de606032cbcba47392eaf9ab
parentad37ad5b25592d2829989111b8386b8007ea0d83
cputlb: fix watchpoints handling

Cleanup commit e554861766d9ae84dd5720baa4869f4ed711506f have changed
code_address calculation in the tlb_set_page function in case of access
to a page with a watchpoint. This caused QEMU segfault in the xtensa
test_break unit test. Fix it by moving code_address assignment above
memory_region_section_get_iotlb call.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cputlb.c