qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH 04/14] hw/i386/Kconfig: isapc machine requires VGA dis


From: Philippe Mathieu-Daudé
Subject: [Qemu-ppc] [PATCH 04/14] hw/i386/Kconfig: isapc machine requires VGA display
Date: Sat, 16 Mar 2019 21:08:08 +0100

This fixes when configuring with --without-default-devices:

  $ qemu-system-x86_64
  qemu-system-x86_64: Unknown device 'VGA' for bus 'PCI'
  Aborted (core dumped)

  (gdb) bt
  #0  0x00007ffff5a2753f in __GI_raise (address@hidden) at 
../sysdeps/unix/sysv/linux/raise.c:50
  #1  0x00007ffff5a11895 in __GI_abort () at abort.c:79
  #2  0x000055555581dbc3 in qdev_create (bus=0x5555562f6be0, 
name=0x555555ab048e "VGA") at hw/core/qdev.c:131
  #3  0x00005555558510d1 in pci_create_multifunction (bus=<optimized out>, 
address@hidden, address@hidden, name=<optimized out>) at hw/pci/pci.c:2104
  #4  0x00005555558514e3 in pci_create_simple_multifunction (name=<optimized 
out>, multifunction=<optimized out>, devfn=<optimized out>, bus=<optimized 
out>) at hw/pci/pci.c:2126
  #5  0x00005555558514e3 in pci_create_simple (name=<optimized out>, 
devfn=<optimized out>, bus=<optimized out>) at hw/pci/pci.c:2126
  #6  0x00005555558514e3 in pci_vga_init (address@hidden) at hw/pci/pci.c:1939
  #7  0x000055555573bc23 in pc_vga_init (isa_bus=0x555555f44360, 
pci_bus=0x5555562f6be0) at hw/i386/pc.c:1888
  #8  0x000055555573e291 in pc_init1 (machine=0x555555fc3a60, 
pci_type=0x555555a9e60f "i440FX", host_type=0x555555a9d64c "i440FX-pcihost") at 
hw/i386/pc_piix.c:233
  #9  0x0000555555824b9b in machine_run_board_init (machine=0x555555fc3a60) at 
hw/core/machine.c:1030
  #10 0x0000555555695602 in main (argc=<optimized out>, argv=<optimized out>, 
envp=<optimized out>) at vl.c:4463

Fixes: 7c28b925b7e
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 hw/i386/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/Kconfig b/hw/i386/Kconfig
index 66b435e020..55c061a077 100644
--- a/hw/i386/Kconfig
+++ b/hw/i386/Kconfig
@@ -69,6 +69,7 @@ config ISAPC
     # FIXME: it is in the same file as i440fx, and does not compile
     # if separated
     depends on I440FX
+    select VGA_PCI
 
 config Q35
     bool
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]