[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH v3 39/43] hyperv: express dependencies with kcon
From: |
Yang Zhong |
Subject: |
[Qemu-devel] [RFC PATCH v3 39/43] hyperv: express dependencies with kconfig |
Date: |
Fri, 18 Jan 2019 19:24:06 +0800 |
remove default-configs/hyperv.mak and make dependencies
with Kconfig.
Signed-off-by: Yang Zhong <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
---
default-configs/hyperv.mak | 2 --
default-configs/i386-softmmu.mak | 1 -
hw/hyperv/Kconfig | 4 ++++
3 files changed, 4 insertions(+), 3 deletions(-)
delete mode 100644 default-configs/hyperv.mak
diff --git a/default-configs/hyperv.mak b/default-configs/hyperv.mak
deleted file mode 100644
index 5d0d9fd830..0000000000
--- a/default-configs/hyperv.mak
+++ /dev/null
@@ -1,2 +0,0 @@
-CONFIG_HYPERV=$(CONFIG_KVM)
-CONFIG_HYPERV_TESTDEV=y
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
index 38622f7132..ab57978b9a 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -1,6 +1,5 @@
# Default configuration for i386-softmmu
-include hyperv.mak
CONFIG_VMXNET3_PCI=y
CONFIG_VIRTIO_VGA=y
CONFIG_IPMI=y
diff --git a/hw/hyperv/Kconfig b/hw/hyperv/Kconfig
index be724b7f8b..a178bac3da 100644
--- a/hw/hyperv/Kconfig
+++ b/hw/hyperv/Kconfig
@@ -1,5 +1,9 @@
config HYPERV
bool
+ default y if PC
+ depends on KVM
config HYPERV_TESTDEV
bool
+ default y if PC
+ depends on HYPERV
--
2.17.1
- Re: [Qemu-devel] [RFC PATCH v3 29/43] build: convert pci.mak to Kconfig, (continued)
[Qemu-devel] [RFC PATCH v3 33/43] bluetooth: express dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 32/43] scsi: express dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 34/43] isa: express dependencies with kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 35/43] i386: express dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 37/43] ptimer: express dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 38/43] edid: express dependencies with kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 36/43] i2c: express dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 39/43] hyperv: express dependencies with kconfig,
Yang Zhong <=
[Qemu-devel] [RFC PATCH v3 41/43] i386-softmmu.mak: remove all CONFIG_* except boards definitions, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 43/43] Makefile: only support defconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 40/43] virtio: make virtio dependencies with Kconfig, Yang Zhong, 2019/01/18
[Qemu-devel] [RFC PATCH v3 42/43] minikconf: implement allyesconfig, allnoconfig, randconfig, defconfig, Yang Zhong, 2019/01/18
Re: [Qemu-devel] [RFC PATCH v3 00/43] Support Kconfig in QEMU, Michael S. Tsirkin, 2019/01/18