mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
kvm: Change kvm_cpu_synchronize_state() argument to CPUState
It no longer relies on CPUArchState since 20d695a
.
Reviewed-by: liguang <lig.fnst@cn.fujitsu.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
c52a6b67c1
commit
dd1750d798
5 changed files with 10 additions and 12 deletions
|
@ -1590,10 +1590,8 @@ static void do_kvm_cpu_synchronize_state(void *arg)
|
|||
}
|
||||
}
|
||||
|
||||
void kvm_cpu_synchronize_state(CPUArchState *env)
|
||||
void kvm_cpu_synchronize_state(CPUState *cpu)
|
||||
{
|
||||
CPUState *cpu = ENV_GET_CPU(env);
|
||||
|
||||
if (!cpu->kvm_vcpu_dirty) {
|
||||
run_on_cpu(cpu, do_kvm_cpu_synchronize_state, cpu);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue