X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/a2cb15b0ddfa05f81a42d7b65dd0c7c50e420c33..19380b1bf587fd962a60fb40cc4927ba999cf17b:/kvm-stub.c diff --git a/kvm-stub.c b/kvm-stub.c index d65fd04507..760aadc874 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -14,8 +14,8 @@ #include "hw/hw.h" #include "hw/pci/msi.h" #include "cpu.h" -#include "gdbstub.h" -#include "kvm.h" +#include "exec/gdbstub.h" +#include "sysemu/kvm.h" KVMState *kvm_state; bool kvm_kernel_irqchip; @@ -24,7 +24,7 @@ bool kvm_irqfds_allowed; bool kvm_msi_via_irqfd_allowed; bool kvm_gsi_routing_allowed; -int kvm_init_vcpu(CPUArchState *env) +int kvm_init_vcpu(CPUState *cpu) { return -ENOSYS; } @@ -112,7 +112,7 @@ int kvm_set_ioeventfd_mmio(int fd, uint32_t adr, uint32_t val, bool assign, uint return -ENOSYS; } -int kvm_on_sigbus_vcpu(CPUArchState *env, int code, void *addr) +int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr) { return 1; } @@ -131,6 +131,11 @@ void kvm_irqchip_release_virq(KVMState *s, int virq) { } +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +{ + return -ENOSYS; +} + int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq) { return -ENOSYS;