diff options
author | Andreas Färber <afaerber@suse.de> | 2012-12-17 06:38:45 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-01-15 04:09:13 +0100 |
commit | 504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c (patch) | |
tree | 0e8d9bd270b459c1a8077ab71c2dec9ada8e58c5 /kvm-all.c | |
parent | 55e5c2850293547203874098f7cec148ffd12dfa (diff) | |
download | qemu-504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c.tar.gz qemu-504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c.tar.bz2 qemu-504134d27f15aa94f6d2b5c45eaa804a8dfb5a4c.zip |
kvm: Pass CPUState to kvm_init_vcpu()
CPUArchState is no longer needed, and it thereby no longer depends on
NEED_CPU_H.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'kvm-all.c')
-rw-r--r-- | kvm-all.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -214,9 +214,8 @@ static void kvm_reset_vcpu(void *opaque) kvm_arch_reset_vcpu(cpu); } -int kvm_init_vcpu(CPUArchState *env) +int kvm_init_vcpu(CPUState *cpu) { - CPUState *cpu = ENV_GET_CPU(env); KVMState *s = kvm_state; long mmap_size; int ret; |