[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 23/23] virtio-vga: only enable for specific boards
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 23/23] virtio-vga: only enable for specific boards |
Date: |
Wed, 27 Mar 2019 13:38:01 +0100 |
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 <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
hw/display/Kconfig | 2 +-
hw/hppa/Kconfig | 1 +
hw/i386/Kconfig | 1 +
hw/ppc/Kconfig | 1 +
4 files changed, 4 insertions(+), 1 deletion(-)
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
--
1.8.3.1
- [Qemu-devel] [PULL 12/23] hw/mips/Kconfig: Malta machine requires the pcnet network card, (continued)
- [Qemu-devel] [PULL 12/23] hw/mips/Kconfig: Malta machine requires the pcnet network card, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 09/23] hw/isa/Kconfig: i82378 SuperIO requires PC speaker device, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 14/23] hw/ppc/Kconfig: Bamboo machine requires e1000 network card, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 15/23] hw/ppc/Kconfig: e500 based machines require virtio-net-pci device, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 16/23] hw/sh4/Kconfig: r2d machine requires the rtl8139 network card, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 17/23] hw/hppa/Kconfig: Dino board requires e1000 network card, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 18/23] hw/alpha/Kconfig: DP264 hardware requires e1000 network card, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 19/23] test-announce-self: convert to qgraph, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 20/23] intel-iommu: optimize nodmar memory regions, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 22/23] config-all-devices.mak: rebuild on reconfigure, Paolo Bonzini, 2019/03/27
- [Qemu-devel] [PULL 23/23] virtio-vga: only enable for specific boards,
Paolo Bonzini <=
- [Qemu-devel] [PULL 21/23] minikconf: fix parser typo, Paolo Bonzini, 2019/03/27
- Re: [Qemu-devel] [PULL 00/23] Misc patches for QEMU 4.0-rc, mostly Kconfig refinements, Peter Maydell, 2019/03/28