aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-01 13:45:44 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-28 13:25:12 +0200
commitdd1750d7981cf9e38985c9dfa474dcdbbe236270 (patch)
treeef2145d92645639759895d8305d793df06634584 /include/sysemu
parentc52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3 (diff)
downloadqemu-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 'include/sysemu')
-rw-r--r--include/sysemu/kvm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h
index 8b19322..3e1db28 100644
--- a/include/sysemu/kvm.h
+++ b/include/sysemu/kvm.h
@@ -259,14 +259,14 @@ int kvm_check_extension(KVMState *s, unsigned int extension);
uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
uint32_t index, int reg);
-void kvm_cpu_synchronize_state(CPUArchState *env);
+void kvm_cpu_synchronize_state(CPUState *cpu);
/* generic hooks - to be moved/refactored once there are more users */
static inline void cpu_synchronize_state(CPUArchState *env)
{
if (kvm_enabled()) {
- kvm_cpu_synchronize_state(env);
+ kvm_cpu_synchronize_state(ENV_GET_CPU(env));
}
}