hw: Include the VMWare devices only in the x86 targets
authorThomas Huth <thuth@redhat.com>
Tue, 13 Dec 2022 09:46:54 +0000 (10:46 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 15 Dec 2022 14:19:24 +0000 (15:19 +0100)
It seems a little bit weird that the para-virtualized x86 VMWare
devices "vmware-svga" and "vmxnet3" also show up in non-x86 targets.
They are likely pretty useless there (since the guest OSes likely
do not have any drivers for those enabled), so let's change this and
only enable those devices by default for the classical x86 targets.

Message-Id: <20221213095144.42355-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/display/Kconfig
hw/net/Kconfig

index a1b159becd762b7762342d63976bbdf9606a9000..7b3da68d1c0a50baff83a6d4a64606f5cafaab04 100644 (file)
@@ -55,7 +55,7 @@ config VGA_MMIO
 
 config VMWARE_VGA
     bool
-    default y if PCI_DEVICES
+    default y if PCI_DEVICES && PC_PCI
     depends on PCI
     select VGA
 
index 6d795ec75256c0c85034979077d1c832fd2071b0..1cc1c5775eed05889b741e74ea0e5ccec04f4fcd 100644 (file)
@@ -51,7 +51,7 @@ config RTL8139_PCI
 
 config VMXNET3_PCI
     bool
-    default y if PCI_DEVICES
+    default y if PCI_DEVICES && PC_PCI
     depends on PCI
 
 config SMC91C111