Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / target / i386 / kvm / hyperv.h
blobe3982c8f4dd1b5751454eeb1d90a3077144b85b1
1 /*
2 * QEMU KVM Hyper-V support
4 * Copyright (C) 2015 Andrey Smetanin <asmetanin@virtuozzo.com>
6 * Authors:
7 * Andrey Smetanin <asmetanin@virtuozzo.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #ifndef TARGET_I386_HYPERV_H
15 #define TARGET_I386_HYPERV_H
17 #include "cpu.h"
18 #include "sysemu/kvm.h"
19 #include "hw/hyperv/hyperv.h"
21 #ifdef CONFIG_KVM
22 int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit);
23 #endif
25 int hyperv_x86_synic_add(X86CPU *cpu);
26 void hyperv_x86_synic_reset(X86CPU *cpu);
27 void hyperv_x86_synic_update(X86CPU *cpu);
29 void hyperv_x86_set_vmbus_recommended_features_enabled(void);
31 #endif