6093637b4d
Some Windows versions crash at boot or fail to enable the VMBus device if they don't see the expected set of Hyper-V features (enlightenments). Since this provides poor user experience let's warn user if the VMBus device is enabled without the recommended set of Hyper-V features. The recommended set is the minimum set of Hyper-V features required to make the VMBus device work properly in Windows Server versions 2016, 2019 and 2022. Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
32 lines
718 B
C
32 lines
718 B
C
/*
|
|
* QEMU KVM Hyper-V support
|
|
*
|
|
* Copyright (C) 2015 Andrey Smetanin <asmetanin@virtuozzo.com>
|
|
*
|
|
* Authors:
|
|
* Andrey Smetanin <asmetanin@virtuozzo.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef TARGET_I386_HYPERV_H
|
|
#define TARGET_I386_HYPERV_H
|
|
|
|
#include "cpu.h"
|
|
#include "sysemu/kvm.h"
|
|
#include "hw/hyperv/hyperv.h"
|
|
|
|
#ifdef CONFIG_KVM
|
|
int kvm_hv_handle_exit(X86CPU *cpu, struct kvm_hyperv_exit *exit);
|
|
#endif
|
|
|
|
int hyperv_x86_synic_add(X86CPU *cpu);
|
|
void hyperv_x86_synic_reset(X86CPU *cpu);
|
|
void hyperv_x86_synic_update(X86CPU *cpu);
|
|
|
|
void hyperv_x86_set_vmbus_recommended_features_enabled(void);
|
|
|
|
#endif
|