]> git.proxmox.com Git - mirror_qemu.git/blobdiff - kvm-stub.c
vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)
[mirror_qemu.git] / kvm-stub.c
index a5051f7c6eeec36a9664ff610f924e5afc73caa9..07c09d114179acd4865f5c6eae0373fff17eec1c 100644 (file)
@@ -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)
 {