aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-21 15:29:50 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-21 17:42:18 +0100
commit938912a866114deb5660c93907a80635b16e5807 (patch)
tree96ae3602ec59bac0f732474cec9033e75398f908 /hw
parentb7c11e574977a0addfbbdb89377c6f52affe64ec (diff)
downloadqemu-938912a866114deb5660c93907a80635b16e5807.zip
qemu-938912a866114deb5660c93907a80635b16e5807.tar.gz
qemu-938912a866114deb5660c93907a80635b16e5807.tar.bz2
virtio-vga: only enable for specific boards
When virtio-vga was added, the intention was to only support it for those machines where the firmware does not know about virtio-gpu, and supported VGA legacy hardware before virtio-{gpu,vga} were introduced. The Kconfig switch however enabled virtio-vga for all machines with a PCI bus, and libvirt then prefers it even on hardware where virtio-gpu would be preferrable. At least for now, only enable virtio-vga for PC, hppa and pSeries machines, as was the case before Kconfig dependencies were introduced. Reported-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/display/Kconfig2
-rw-r--r--hw/hppa/Kconfig1
-rw-r--r--hw/i386/Kconfig1
-rw-r--r--hw/ppc/Kconfig1
4 files changed, 4 insertions, 1 deletions
diff --git a/hw/display/Kconfig b/hw/display/Kconfig
index 86c1d54..72be57a 100644
--- a/hw/display/Kconfig
+++ b/hw/display/Kconfig
@@ -100,7 +100,7 @@ config VIRTIO_GPU
config VIRTIO_VGA
bool
- default y if PCI_DEVICES
+ # defaults to "N", enabled by specific boards
depends on VIRTIO_PCI
select VGA
diff --git a/hw/hppa/Kconfig b/hw/hppa/Kconfig
index 7334f57..6e5d74a 100644
--- a/hw/hppa/Kconfig
+++ b/hw/hppa/Kconfig
@@ -2,6 +2,7 @@ config DINO
bool
imply PCI_DEVICES
imply E1000_PCI
+ imply VIRTIO_VGA
select PCI
select SERIAL
select ISA_BUS
diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 8e8444d..a6aed7c 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -19,6 +19,7 @@ config PC
imply TPM_CRB
imply TPM_TIS
imply VGA_PCI
+ imply VIRTIO_VGA
select FDC
select I8259
select I8254
diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index ae07b4d..a346515 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -2,6 +2,7 @@ config PSERIES
bool
imply PCI_DEVICES
imply TEST_DEVICES
+ imply VIRTIO_VGA
select DIMM
select PCI
select SPAPR_VSCSI