qapi: allow unions to contain further unions
[qemu/armbru.git] / target / i386 / kvm / hyperv.h
blob67543296c3a4e12bc382ea2177bb609c72aac1cb
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 #endif