From: Philippe Mathieu-Daudé <philmd@redhat.com>
This fixes when configuring with CONFIG_PCI_DEVICES=n:
$ qemu-system-x86_64 -M q35
qemu-system-x86_64: Unsupported NIC model: e1000e
$ qemu-system-x86_64 -M pc
qemu-system-x86_64: Unsupported NIC model: e1000
Fixes: 7c28b925b7e
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190316200818.8265-4-philmd@redhat.com>
---
hw/i386/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 756b1ea..8e8444d 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -18,6 +18,7 @@ config PC
imply TEST_DEVICES
imply TPM_CRB
imply TPM_TIS
+ imply VGA_PCI
select FDC
select I8259
select I8254
@@ -47,6 +48,7 @@ config PC_ACPI
config I440FX
bool
+ imply E1000_PCI
select PC_PCI
select PC_ACPI
select ACPI_SMBUS
@@ -72,6 +74,7 @@ config Q35
bool
imply VTD
imply AMD_IOMMU
+ imply E1000E_PCI_EXPRESS
select PC_PCI
select PC_ACPI
select PCI_EXPRESS_Q35
--
1.8.3.1