150efe82cSAndrey Smetanin /* 250efe82cSAndrey Smetanin * QEMU KVM Hyper-V support 350efe82cSAndrey Smetanin * 450efe82cSAndrey Smetanin * Copyright (C) 2015 Andrey Smetanin <asmetanin@virtuozzo.com> 550efe82cSAndrey Smetanin * 650efe82cSAndrey Smetanin * Authors: 750efe82cSAndrey Smetanin * Andrey Smetanin <asmetanin@virtuozzo.com> 850efe82cSAndrey Smetanin * 950efe82cSAndrey Smetanin * This work is licensed under the terms of the GNU GPL, version 2 or later. 1050efe82cSAndrey Smetanin * See the COPYING file in the top-level directory. 1150efe82cSAndrey Smetanin * 1250efe82cSAndrey Smetanin */ 1350efe82cSAndrey Smetanin 14121d0712SMarkus Armbruster #ifndef TARGET_I386_HYPERV_H 15121d0712SMarkus Armbruster #define TARGET_I386_HYPERV_H 1650efe82cSAndrey Smetanin 1750efe82cSAndrey Smetanin #include "cpu.h" 18*32cad1ffSPhilippe Mathieu-Daudé #include "system/kvm.h" 19701189e3SRoman Kagan #include "hw/hyperv/hyperv.h" 2050efe82cSAndrey Smetanin 218417442aSRoman Kagan #ifdef CONFIG_KVM 2250efe82cSAndrey Smetanin int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit); 238417442aSRoman Kagan #endif 2450efe82cSAndrey Smetanin 25606c34bfSRoman Kagan int hyperv_x86_synic_add(X86CPU *cpu); 26606c34bfSRoman Kagan void hyperv_x86_synic_reset(X86CPU *cpu); 27606c34bfSRoman Kagan void hyperv_x86_synic_update(X86CPU *cpu); 28606c34bfSRoman Kagan 296093637bSMaciej S. Szmigiero void hyperv_x86_set_vmbus_recommended_features_enabled(void); 306093637bSMaciej S. Szmigiero 3150efe82cSAndrey Smetanin #endif 32