vmbus: Print a warning when enabled without the recommended set of features
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Thu, 25 Jan 2024 14:12:41 +0000 (15:12 +0100)
committerMaciej S. Szmigiero <maciej.szmigiero@oracle.com>
Fri, 8 Mar 2024 13:18:56 +0000 (14:18 +0100)
commit6093637b4d32875f98cd59696ffc5f26884aa0b4
treec5d26abf310983d1414847f2a62984e5810f463e
parent546987284a7da9106bbead1063553cbfe7ddd697
vmbus: Print a warning when enabled without the recommended set of features

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>
hw/hyperv/hyperv.c
hw/hyperv/vmbus.c
include/hw/hyperv/hyperv.h
target/i386/kvm/hyperv-stub.c
target/i386/kvm/hyperv.c
target/i386/kvm/hyperv.h
target/i386/kvm/kvm.c