diff mbox series

[4/5] default-configs: collect CONFIG_HYPERV* in hyperv.mak

Message ID 20180921082041.29380-5-rkagan@virtuozzo.com (mailing list archive)
State New, archived
Headers show
Series hyperv: move to hw/ and allow opt-out | expand

Commit Message

Roman Kagan Sept. 21, 2018, 8:20 a.m. UTC
Accumulate HYPERV config options in a dedicated file.  There are only
two so far; more will be added later.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
---
 default-configs/hyperv.mak       | 2 ++
 default-configs/i386-softmmu.mak | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
 create mode 100644 default-configs/hyperv.mak

Comments

Paolo Bonzini Oct. 3, 2018, 11:01 a.m. UTC | #1
On 21/09/2018 10:20, Roman Kagan wrote:
> diff --git a/default-configs/hyperv.mak b/default-configs/hyperv.mak
> new file mode 100644
> index 0000000000..3d45e28403
> --- /dev/null
> +++ b/default-configs/hyperv.mak
> @@ -0,0 +1,2 @@
> +CONFIG_HYPERV=$(CONFIG_KVM)
> +CONFIG_HYPERV_TESTDEV=$(CONFIG_HYPERV)

By moving the test device to hy/hyperv, this can be just
CONFIG_HYPERV_TESTDEV=y.

Paolo
diff mbox series

Patch

diff --git a/default-configs/hyperv.mak b/default-configs/hyperv.mak
new file mode 100644
index 0000000000..3d45e28403
--- /dev/null
+++ b/default-configs/hyperv.mak
@@ -0,0 +1,2 @@ 
+CONFIG_HYPERV=$(CONFIG_KVM)
+CONFIG_HYPERV_TESTDEV=$(CONFIG_HYPERV)
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
index 8c7d4a0fa0..210cff2781 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -3,6 +3,7 @@ 
 include pci.mak
 include sound.mak
 include usb.mak
+include hyperv.mak
 CONFIG_QXL=$(CONFIG_SPICE)
 CONFIG_VGA_ISA=y
 CONFIG_VGA_CIRRUS=y
@@ -58,7 +59,6 @@  CONFIG_XIO3130=y
 CONFIG_IOH3420=y
 CONFIG_I82801B11=y
 CONFIG_SMBIOS=y
-CONFIG_HYPERV_TESTDEV=$(CONFIG_KVM)
 CONFIG_PXB=y
 CONFIG_ACPI_VMGENID=y
 CONFIG_FW_CFG_DMA=y