]> git.proxmox.com Git - qemu.git/blobdiff - kvm-all.c
kvm: Pass CPUState to kvm_on_sigbus_vcpu()
[qemu.git] / kvm-all.c
index 363a358a398ba5c865d8821feda94df76444ca37..04ec2d541a73ec95ebfd8de47c513d106f7d0577 100644 (file)
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -2026,9 +2026,8 @@ int kvm_set_ioeventfd_pio_word(int fd, uint16_t addr, uint16_t val, bool assign)
     return 0;
 }
 
-int kvm_on_sigbus_vcpu(CPUArchState *env, int code, void *addr)
+int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr)
 {
-    CPUState *cpu = ENV_GET_CPU(env);
     return kvm_arch_on_sigbus_vcpu(cpu, code, addr);
 }