]> git.proxmox.com Git - mirror_qemu.git/commitdiff
i386: switch boards to "default y"
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Jan 2024 12:36:37 +0000 (13:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 May 2024 13:47:47 +0000 (15:47 +0200)
Some targets use "default y" for boards to filter out those that require
TCG.  For consistency we are switching all other targets to do the same.
Continue with i386.

No changes to generated config-devices.mak files, other than
adding CONFIG_I386 to the x86_64-softmmu target.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
.gitlab-ci.d/buildtest.yml
configs/devices/i386-softmmu/default.mak
hw/i386/Kconfig
target/i386/Kconfig

index 6531758d9689ef6e036e02f4246236f6b8b611a8..75222c4450bb89fa619fc9f63d6a5edff7646de5 100644 (file)
@@ -648,7 +648,8 @@ build-tci:
     - make check-tcg
 
 # Check our reduced build configurations
-# requires libfdt: aarch64, arm
+# requires libfdt: aarch64, arm, i386, x86_64
+# does not build without boards: i386, x86_64
 build-without-defaults:
   extends: .native_build_job_template
   needs:
index 598c6646dfc0f941385b4d07939739bf9ae53e5c..448e3e3b1ba219ee75cd7645c937434933a9adc8 100644 (file)
@@ -24,9 +24,8 @@
 #CONFIG_VTD=n
 #CONFIG_SGX=n
 
-# Boards:
-#
-CONFIG_ISAPC=y
-CONFIG_I440FX=y
-CONFIG_Q35=y
-CONFIG_MICROVM=y
+# Boards are selected by default, uncomment to keep out of the build.
+# CONFIG_ISAPC=n
+# CONFIG_I440FX=n
+# CONFIG_Q35=n
+# CONFIG_MICROVM=n
index a6ee052f9a1b6f37e10fa50130c2cb0054e4e48b..4362164962c2d9e4a93140c16d839c1f854fe184 100644 (file)
@@ -66,6 +66,8 @@ config PC_ACPI
 
 config I440FX
     bool
+    default y
+    depends on I386
     imply E1000_PCI
     imply VMPORT
     imply VMMOUSE
@@ -81,6 +83,8 @@ config I440FX
 
 config ISAPC
     bool
+    default y
+    depends on I386
     imply VGA_ISA
     select ISA_BUS
     select PC
@@ -91,6 +95,8 @@ config ISAPC
 
 config Q35
     bool
+    default y
+    depends on I386
     imply VTD
     imply AMD_IOMMU
     imply E1000E_PCI_EXPRESS
@@ -108,6 +114,8 @@ config Q35
 
 config MICROVM
     bool
+    default y
+    depends on I386
     select SERIAL_ISA # for serial_hds_isa_init()
     select ISA_BUS
     select APIC
@@ -142,4 +150,4 @@ config VMMOUSE
 config XEN_EMU
     bool
     default y
-    depends on KVM && (I386 || X86_64)
+    depends on KVM && I386
index 46898946394e81587ca389b55bd8755ed95d1d5b..ad9291d3b8f0fab20f2cc11dcb65af079b557bd9 100644 (file)
@@ -5,3 +5,4 @@ config I386
 
 config X86_64
     bool
+    select I386