Received: from eggs.gnu.org ([208.118.235.92]:34701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAJBl-0003CO-6Z for qemu-devel@nongnu.org; Sat, 08 Sep 2012 07:27:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAJBh-0000zP-Ro for qemu-devel@nongnu.org; Sat, 08 Sep 2012 07:27:01 -0400 Received: from hall.aurel32.net ([88.191.126.93]:57362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAJBh-0000xI-AH for qemu-devel@nongnu.org; Sat, 08 Sep 2012 07:26:57 -0400 From: Aurelien Jarno Date: Sat, 8 Sep 2012 13:26:12 +0200 Message-Id: <1347103584-20598-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 00/12] Rework PCI video card initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Alexander Graf , Blue Swirl , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Gerd Hoffmann , Richard Henderson , Aurelien Jarno , David Gibson 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 Cc: Andreas Färber Cc: Anthony Liguori Cc: Blue Swirl Cc: David Gibson Cc: Gerd Hoffmann Cc: Richard Henderson 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