]> Git Repo - qemu.git/blobdiff - target-i386/kvm.c
kvm: reset state from the CPU's reset method
[qemu.git] / target-i386 / kvm.c
index d17eea3186a8a86b765052fa091a52b090b6d314..2882e14dadb861341717a0f82c4fdf35dbe0711a 100644 (file)
@@ -723,9 +723,8 @@ int kvm_arch_init_vcpu(CPUState *cs)
     return 0;
 }
 
-void kvm_arch_reset_vcpu(CPUState *cs)
+void kvm_arch_reset_vcpu(X86CPU *cpu)
 {
-    X86CPU *cpu = X86_CPU(cs);
     CPUX86State *env = &cpu->env;
 
     env->exception_injected = -1;
This page took 0.022438 seconds and 4 git commands to generate.