x86: Unbreak TCG support for hardware breakpoints
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 Mar 2011 11:26:13 +0000 (12:26 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 15 Mar 2011 17:36:25 +0000 (14:36 -0300)
commit1009d2edea4acd5b683ab1572ad7f4d4583e1860
tree7360a9fb40c4c9fa49a9c811b50c54c74673fced
parent1ab3c6c07382c4249854f811cd6182a0a88e25fb
x86: Unbreak TCG support for hardware breakpoints

Commit 83f338f73e broke x86 hardware breakpoint emulation by moving the
debug exception handling out of cpu_exec. Fix this by moving all TCG
related bits back, only leaving the generic guest debugging parts in
cpus.c.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
CC: TeLeMan <geleman@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpu-exec.c
cpus.c