2 * Stubs for CONFIG_HYPERV=n
4 * Copyright (c) 2015-2018 Virtuozzo International GmbH.
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
10 #include "qemu/osdep.h"
14 int kvm_hv_handle_exit(X86CPU
*cpu
, struct kvm_hyperv_exit
*exit
)
17 case KVM_EXIT_HYPERV_SYNIC
:
18 if (!hyperv_feat_enabled(cpu
, HYPERV_FEAT_SYNIC
)) {
23 * Tracking the changes in the MSRs is unnecessary as there are no
24 * users for them beside save/load, which is handled nicely by the
25 * generic MSR save/load code
28 case KVM_EXIT_HYPERV_HCALL
:
29 exit
->u
.hcall
.result
= HV_STATUS_INVALID_HYPERCALL_CODE
;
31 case KVM_EXIT_HYPERV_SYNDBG
:
32 if (!hyperv_feat_enabled(cpu
, HYPERV_FEAT_SYNDBG
)) {
43 int hyperv_x86_synic_add(X86CPU
*cpu
)
48 void hyperv_x86_synic_reset(X86CPU
*cpu
)
52 void hyperv_x86_synic_update(X86CPU
*cpu
)
56 void hyperv_x86_set_vmbus_recommended_features_enabled(void)