i386: add hyperv-stub for CONFIG_HYPERV=n
[qemu/kevin.git] / target / i386 / hyperv.h
blobf0a27c3d73aa95ab5ddce1a8fad5160493088699
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 #endif