]> git.proxmox.com Git - qemu.git/blobdiff - hw/misc/vmport.c
kvm: Change cpu_synchronize_state() argument to CPUState
[qemu.git] / hw / misc / vmport.c
index 57b71f5248c7b2c90bfeed306e3fc6970d492a69..8363dfdf9297ac619468ad89216ef67bd4257d5b 100644 (file)
@@ -66,7 +66,7 @@ static uint64_t vmport_ioport_read(void *opaque, hwaddr addr,
     unsigned char command;
     uint32_t eax;
 
-    cpu_synchronize_state(env);
+    cpu_synchronize_state(CPU(x86_env_get_cpu(env)));
 
     eax = env->regs[R_EAX];
     if (eax != VMPORT_MAGIC)