]> Git Repo - qemu.git/blobdiff - target/i386/hyperv.h
qapi: make query-cpu-model-expansion depend on s390 or x86
[qemu.git] / target / i386 / hyperv.h
index 59e9f9a1e14d8cc8de0d813af0f25aebbd6b9ceb..67543296c3a4e12bc382ea2177bb609c72aac1cb 100644 (file)
 
 #include "cpu.h"
 #include "sysemu/kvm.h"
+#include "hw/hyperv/hyperv.h"
 
-typedef struct HvSintRoute HvSintRoute;
-typedef void (*HvSintAckClb)(void *data);
-
+#ifdef CONFIG_KVM
 int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit);
+#endif
 
-HvSintRoute *hyperv_sint_route_new(uint32_t vp_index, uint32_t sint,
-                                   HvSintAckClb sint_ack_clb,
-                                   void *sint_ack_clb_data);
-void hyperv_sint_route_ref(HvSintRoute *sint_route);
-void hyperv_sint_route_unref(HvSintRoute *sint_route);
-
-int hyperv_sint_route_set_sint(HvSintRoute *sint_route);
-
-uint32_t hyperv_vp_index(X86CPU *cpu);
-X86CPU *hyperv_find_vcpu(uint32_t vp_index);
+int hyperv_x86_synic_add(X86CPU *cpu);
+void hyperv_x86_synic_reset(X86CPU *cpu);
+void hyperv_x86_synic_update(X86CPU *cpu);
 
 #endif
This page took 0.023664 seconds and 4 git commands to generate.