diff options
author | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:45:44 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-06-28 13:25:12 +0200 |
commit | dd1750d7981cf9e38985c9dfa474dcdbbe236270 (patch) | |
tree | ef2145d92645639759895d8305d793df06634584 /kvm-all.c | |
parent | c52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3 (diff) | |
download | qemu-dd1750d7981cf9e38985c9dfa474dcdbbe236270.zip qemu-dd1750d7981cf9e38985c9dfa474dcdbbe236270.tar.gz qemu-dd1750d7981cf9e38985c9dfa474dcdbbe236270.tar.bz2 |
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>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 4 |
1 files changed, 1 insertions, 3 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); } |