[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PATCH 11/14] hw/sparc/Kconfig: SPARCstation machine requir
From: |
Philippe Mathieu-Daudé |
Subject: |
[qemu-s390x] [PATCH 11/14] hw/sparc/Kconfig: SPARCstation machine requires the TCX display |
Date: |
Sat, 16 Mar 2019 21:08:15 +0100 |
This is the default display device used in sun4m_hw_init():
/* If no display specified, default to TCX */
This fixes when configuring with --without-default-devices:
$ sparc-softmmu/qemu-system-sparc
qemu-system-sparc: Unknown device 'SUNW,tcx' for default sysbus
Aborted (core dumped)
(gdb) bt
#0 0x00007fc78d19353f in __GI_raise (address@hidden) at
../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007fc78d17d895 in __GI_abort () at abort.c:79
#2 0x0000560beaf637f3 in qdev_create (address@hidden, address@hidden
"SUNW,tcx") at hw/core/qdev.c:131
#3 0x0000560beaf1392d in tcx_init (vram_size=1048576, width=1024,
height=768, depth=8, irq=0x560bed1a0230, addr=1342177280) at
hw/sparc/sun4m.c:477
#4 0x0000560beaf1392d in sun4m_hw_init (hwdef=0x560beb1be780 <sun4m_hwdefs>,
machine=0x560becf65f00) at hw/sparc/sun4m.c:943
#5 0x0000560beaf6b15b in machine_run_board_init (machine=0x560becf65f00) at
hw/core/machine.c:1030
#6 0x0000560beae86692 in main (argc=<optimized out>, argv=<optimized out>,
envp=<optimized out>) at vl.c:4463
Fixes: 8c75eec06d4
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
default-configs/sparc-softmmu.mak | 1 -
hw/sparc/Kconfig | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/default-configs/sparc-softmmu.mak
b/default-configs/sparc-softmmu.mak
index ee85218115..56509bf263 100644
--- a/default-configs/sparc-softmmu.mak
+++ b/default-configs/sparc-softmmu.mak
@@ -2,7 +2,6 @@
# Uncomment the following lines to disable these optional devices:
#
-#CONFIG_TCX=n
#CONFIG_CG3=n
# Boards:
diff --git a/hw/sparc/Kconfig b/hw/sparc/Kconfig
index 2a83a8010e..5383dbd910 100644
--- a/hw/sparc/Kconfig
+++ b/hw/sparc/Kconfig
@@ -1,6 +1,6 @@
config SUN4M
bool
- imply TCX
+ select TCX
imply CG3
select CS4231
select ECCMEMCTL
--
2.20.1
- [qemu-s390x] [PATCH 00/14] hw/Kconfig: Fixes when running ./configure --without-default-devices, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 05/14] hw/i386/Kconfig: isapc machine requires e1000 network card, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 06/14] hw/mips/Kconfig: Malta machine requires the pcnet network card, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 07/14] hw/mips/Kconfig: Fulong 2e board requires ati-vga/rtl8139 PCI devices, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 08/14] hw/ppc/Kconfig: Bamboo machine requires e1000 network card, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 09/14] hw/ppc/Kconfig: e500 based machines require virtio-net-pci device, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 10/14] hw/s390x/Kconfig: s390x machines require virtio-net-ccw device, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 11/14] hw/sparc/Kconfig: SPARCstation machine requires the TCX display,
Philippe Mathieu-Daudé <=
- [qemu-s390x] [PATCH 12/14] hw/sh4/Kconfig: r2d machine requires the rtl8139 network card, Philippe Mathieu-Daudé, 2019/03/16
- [qemu-s390x] [PATCH 13/14] hw/hppa/Kconfig: Dino board requires e1000 network card, Philippe Mathieu-Daudé, 2019/03/16
[qemu-s390x] [PATCH 14/14] hw/alpha/Kconfig: DP264 hardware requires e1000 network card, Philippe Mathieu-Daudé, 2019/03/16
[qemu-s390x] [PATCH 04/14] hw/i386/Kconfig: isapc machine requires VGA display, Philippe Mathieu-Daudé, 2019/03/16
[qemu-s390x] [PATCH 01/14] hw/isa/Kconfig: PIIX4 southbridge requires USB UHCI, Philippe Mathieu-Daudé, 2019/03/16
[qemu-s390x] [PATCH 03/14] hw/i386/Kconfig: Q35 machine requires e1000e network card, Philippe Mathieu-Daudé, 2019/03/16