[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/12] Rework PCI video card initialization
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH 00/12] Rework PCI video card initialization |
Date: |
Sat, 8 Sep 2012 13:26:12 +0200 |
This patch series is technically a new version of the "add a video
card only when requested" series I sent yesterday. It uses a different
approach though.
It creates a new pci_vga_init() function that takes care of initializing
the requested PCI video card. This way there is no need to duplicate
code in the various machines QEMU supports, and has the advantage that
the newly added PCI video cards are available to all machines without
having to touch machine specific code.
Cc: Alexander Graf <address@hidden>
Cc: Andreas Färber <address@hidden>
Cc: Anthony Liguori <address@hidden>
Cc: Blue Swirl <address@hidden>
Cc: David Gibson <address@hidden>
Cc: Gerd Hoffmann <address@hidden>
Cc: Richard Henderson <address@hidden>
Aurelien Jarno (12):
vga: rename pci_vga_init() into pci_std_vga_init()
vl.c: check for qxl availability
pci: add a pci_vga_init() function
mips/malta: use the new pci_vga_init() function
alpha: use the new pci_vga_init() function
ppc/newworld: use the new pci_vga_init() function
ppc/oldworld: use the new pci_vga_init() function
ppc/prep: use the new pci_vga_init() function
ppc/pSeries: use the new pci_vga_init() function
sun/sun4u: use the new pci_vga_init() function
pc: use the new pci_vga_init() function
vga: cleanup after pci_vga_init() conversion
hw/alpha_dp264.c | 2 +-
hw/alpha_pci.c | 24 ------------------------
hw/alpha_sys.h | 2 --
hw/cirrus_vga.c | 6 ------
hw/mips_malta.c | 10 +---------
hw/pc.c | 41 +++++++++++++++--------------------------
hw/pci.c | 18 ++++++++++++++++++
hw/pci.h | 3 +++
hw/ppc_newworld.c | 1 -
hw/ppc_oldworld.c | 1 -
hw/ppc_prep.c | 1 -
hw/spapr.c | 7 ++-----
hw/sun4u.c | 1 -
hw/vga-pci.c | 10 ++--------
hw/vga-pci.h | 12 ------------
hw/vmware_vga.c | 1 -
hw/vmware_vga.h | 15 ---------------
sysemu.h | 4 ----
vl.c | 12 +++++++++++-
19 files changed, 53 insertions(+), 118 deletions(-)
delete mode 100644 hw/vga-pci.h
delete mode 100644 hw/vmware_vga.h
--
1.7.10.4
- [Qemu-devel] [PATCH 00/12] Rework PCI video card initialization,
Aurelien Jarno <=
- [Qemu-devel] [PATCH 02/12] vl.c: check for qxl availability, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 09/12] ppc/pSeries: use the new pci_vga_init() function, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 03/12] pci: add a pci_vga_init() function, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 08/12] ppc/prep: use the new pci_vga_init() function, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 11/12] pc: use the new pci_vga_init() function, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 06/12] ppc/newworld: use the new pci_vga_init() function, Aurelien Jarno, 2012/09/08
- [Qemu-devel] [PATCH 01/12] vga: rename pci_vga_init() into pci_std_vga_init(), Aurelien Jarno, 2012/09/08