xref: /openbmc/qemu/target/i386/kvm/hyperv.h (revision 729cc683)
1 /*
2  * QEMU KVM Hyper-V support
3  *
4  * Copyright (C) 2015 Andrey Smetanin <asmetanin@virtuozzo.com>
5  *
6  * Authors:
7  *  Andrey Smetanin <asmetanin@virtuozzo.com>
8  *
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.
11  *
12  */
13 
14 #ifndef TARGET_I386_HYPERV_H
15 #define TARGET_I386_HYPERV_H
16 
17 #include "cpu.h"
18 #include "sysemu/kvm.h"
19 #include "hw/hyperv/hyperv.h"
20 
21 #ifdef CONFIG_KVM
22 int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit);
23 #endif
24 
25 int hyperv_x86_synic_add(X86CPU *cpu);
26 void hyperv_x86_synic_reset(X86CPU *cpu);
27 void hyperv_x86_synic_update(X86CPU *cpu);
28 
29 #endif
30