mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
kvm: Change cpu_synchronize_state() argument to CPUState
Change Monitor::mon_cpu to CPUState as well. Reviewed-by: liguang <lig.fnst@cn.fujitsu.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
dd1750d798
commit
cb446ecab7
13 changed files with 28 additions and 27 deletions
|
@ -2079,7 +2079,7 @@ static int kvm_handle_debug(X86CPU *cpu,
|
|||
ret = EXCP_DEBUG;
|
||||
}
|
||||
if (ret == 0) {
|
||||
cpu_synchronize_state(env);
|
||||
cpu_synchronize_state(CPU(cpu));
|
||||
assert(env->exception_injected == -1);
|
||||
|
||||
/* pass to guest */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue