summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorYang Zhong2019-01-23 07:56:14 +0100
committerPaolo Bonzini2019-03-07 21:45:53 +0100
commitccf222a816d59af1318a7efb59c6b9c5578d1abf (patch)
tree8da01102d57507dbb7fcc1c349372a2b19f568e4 /hw
parentdisplay: express dependencies with kconfig (diff)
downloadqemu-ccf222a816d59af1318a7efb59c6b9c5578d1abf.tar.gz
qemu-ccf222a816d59af1318a7efb59c6b9c5578d1abf.tar.xz
qemu-ccf222a816d59af1318a7efb59c6b9c5578d1abf.zip
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/hyperv/Kconfig3
-rw-r--r--hw/i386/Kconfig1
2 files changed, 4 insertions, 0 deletions
diff --git a/hw/hyperv/Kconfig b/hw/hyperv/Kconfig
index be724b7f8b..a1fa8ff9be 100644
--- a/hw/hyperv/Kconfig
+++ b/hw/hyperv/Kconfig
@@ -1,5 +1,8 @@
config HYPERV
bool
+ depends on KVM
config HYPERV_TESTDEV
bool
+ default y if TEST_DEVICES
+ depends on HYPERV
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index a1a388371f..ea72f4888a 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -4,6 +4,7 @@ config SEV
config PC
bool
+ imply HYPERV
imply QXL
imply SEV
imply TPM_CRB