aboutsummaryrefslogtreecommitdiff
path: root/kvm-all.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-26 23:46:55 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-28 13:25:12 +0200
commit1458c363139a54f50ea336edc612d8c5e9142220 (patch)
treeac2bb2b8c61ca96e6e22a5f02d4a6ca6f46394c1 /kvm-all.c
parent5326ab5567c12bac0802b08b265f401fe84a4ad6 (diff)
downloadqemu-1458c363139a54f50ea336edc612d8c5e9142220.zip
qemu-1458c363139a54f50ea336edc612d8c5e9142220.tar.gz
qemu-1458c363139a54f50ea336edc612d8c5e9142220.tar.bz2
kvm: Change kvm_cpu_exec() argument to CPUState
It no longer uses CPUArchState. Prepares for changing qemu_kvm_cpu_thread_fn() opaque to CPUState. 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kvm-all.c b/kvm-all.c
index d3e5e5e..7a1684e 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1607,9 +1607,8 @@ void kvm_cpu_synchronize_post_init(CPUState *cpu)
cpu->kvm_vcpu_dirty = false;
}
-int kvm_cpu_exec(CPUArchState *env)
+int kvm_cpu_exec(CPUState *cpu)
{
- CPUState *cpu = ENV_GET_CPU(env);
struct kvm_run *run = cpu->kvm_run;
int ret, run_ret;