Skip to content
  • Jan Kiszka's avatar
    Move debug exception handling out of cpu_exec · 83f338f7
    Jan Kiszka authored
    
    
    To prepare splitting up KVM and TCG CPU entry/exit, move the debug
    exception into cpus.c and invoke cpu_handle_debug_exception on return
    from qemu_cpu_exec.
    
    This also allows to clean up the debug request signaling: We can assign
    the job of informing main-loop to qemu_system_debug_request and stop the
    calling cpu directly in cpu_handle_debug_exception. That means a debug
    stop will now only be signaled via debug_requested and not additionally
    via vmstop_requested.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
    83f338f7