X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/1452673888f6d7f0454276d049846c9bec659233..de1b9b85eff3dca42fe2cabe6e026cd2a2d5c769:/kvm-stub.c diff --git a/kvm-stub.c b/kvm-stub.c index d9ad624eee..07c09d1141 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -10,8 +10,8 @@ * */ +#include "qemu/osdep.h" #include "qemu-common.h" -#include "hw/hw.h" #include "cpu.h" #include "sysemu/kvm.h" @@ -30,6 +30,12 @@ bool kvm_gsi_routing_allowed; bool kvm_gsi_direct_mapping; bool kvm_allowed; bool kvm_readonly_mem_allowed; +bool kvm_ioeventfd_any_length_allowed; + +int kvm_destroy_vcpu(CPUState *cpu) +{ + return -ENOSYS; +} int kvm_init_vcpu(CPUState *cpu) { @@ -67,11 +73,6 @@ int kvm_has_many_ioeventfds(void) return 0; } -int kvm_has_pit_state2(void) -{ - return 0; -} - void kvm_setup_guest_memory(void *start, size_t size) { } @@ -115,7 +116,7 @@ int kvm_on_sigbus(int code, void *addr) } #ifndef CONFIG_USER_ONLY -int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg) +int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg, PCIDevice *dev) { return -ENOSYS; } @@ -128,7 +129,8 @@ void kvm_irqchip_release_virq(KVMState *s, int virq) { } -int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg, + PCIDevice *dev) { return -ENOSYS; }