[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/12] ppc/pSeries: use the new pci_vga_init() funct
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [PATCH 09/12] ppc/pSeries: use the new pci_vga_init() function |
Date: |
Sat, 8 Sep 2012 13:26:21 +0200 |
Keep the case to prevent some vga card to be selected.
Cc: Alexander Graf <address@hidden>
Cc: David Gibson <address@hidden>
Signed-off-by: Aurelien Jarno <address@hidden>
---
hw/spapr.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/spapr.c b/hw/spapr.c
index 80735d6..8b0c390 100644
--- a/hw/spapr.c
+++ b/hw/spapr.c
@@ -46,7 +46,6 @@
#include "kvm.h"
#include "kvm_ppc.h"
#include "pci.h"
-#include "vga-pci.h"
#include "exec-memory.h"
#include "hw/usb.h"
@@ -589,11 +588,9 @@ static void spapr_cpu_reset(void *opaque)
static int spapr_vga_init(PCIBus *pci_bus)
{
switch (vga_interface_type) {
- case VGA_STD:
- pci_std_vga_init(pci_bus);
- return 1;
case VGA_NONE:
- return 0;
+ case VGA_STD:
+ return pci_vga_init(pci_bus) != NULL;
default:
fprintf(stderr, "This vga model is not supported,"
"currently it only supports -vga std\n");
--
1.7.10.4
- [Qemu-devel] [PATCH 00/12] Rework PCI video card initialization, Aurelien Jarno, 2012/09/08
- [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 <=
- [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
- [Qemu-devel] [PATCH 04/12] mips/malta: use the new pci_vga_init() function, Aurelien Jarno, 2012/09/08