mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
accel/hvf: Mention hvf_arch_update_guest_debug() must run on vCPU
Since hvf_arch_update_guest_debug() calls hvf_arch_set_traps() and hvf_arch_update_guest_debug(), which must run on a vCPU, it also must. Mention it. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mads Ynddal <mads@ynddal.dk> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
21bab557a9
commit
073e7e1cbe
@@ -83,6 +83,8 @@ int hvf_arch_vcpu_exec(CPUState *);
|
||||
int hvf_arch_put_registers(CPUState *);
|
||||
/* Must be called by the owning thread */
|
||||
int hvf_arch_get_registers(CPUState *);
|
||||
/* Must be called by the owning thread */
|
||||
void hvf_arch_update_guest_debug(CPUState *cpu);
|
||||
|
||||
struct hvf_sw_breakpoint {
|
||||
vaddr pc;
|
||||
@@ -109,7 +111,6 @@ void hvf_arch_remove_all_hw_breakpoints(void);
|
||||
* handled by calling down to hvf_arch_update_guest_debug.
|
||||
*/
|
||||
int hvf_update_guest_debug(CPUState *cpu);
|
||||
void hvf_arch_update_guest_debug(CPUState *cpu);
|
||||
|
||||
/*
|
||||
* Return whether the guest supports debugging.
|
||||
|
||||
Reference in New Issue
Block a user