hyperv: express dependencies with kconfig

remove default-configs/hyperv.mak and make dependencies
with Kconfig.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190123065618.3520-41-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Yang Zhong 2019-01-23 14:56:14 +08:00 committed by Paolo Bonzini
parent 32690c8bed
commit ccf222a816
4 changed files with 4 additions and 3 deletions

View File

@ -1,2 +0,0 @@
CONFIG_HYPERV=$(CONFIG_KVM)
CONFIG_HYPERV_TESTDEV=y

View File

@ -1,6 +1,5 @@
# Default configuration for i386-softmmu
include hyperv.mak
CONFIG_VMXNET3_PCI=y
CONFIG_VIRTIO_VGA=y
CONFIG_IPMI=y

View File

@ -1,5 +1,8 @@
config HYPERV
bool
depends on KVM
config HYPERV_TESTDEV
bool
default y if TEST_DEVICES
depends on HYPERV

View File

@ -4,6 +4,7 @@ config SEV
config PC
bool
imply HYPERV
imply QXL
imply SEV
imply TPM_CRB