qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] [PATCH 10/14] hw/s390x/Kconfig: s390x machines require virtio


From: Philippe Mathieu-Daudé
Subject: [Qemu-ppc] [PATCH 10/14] hw/s390x/Kconfig: s390x machines require virtio-net-ccw device
Date: Sat, 16 Mar 2019 21:08:14 +0100

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

  $ qemu-system-s390x
  qemu-system-s390x: Unknown device 'virtio-net-ccw' for bus 'virtual-css-bus'
  Aborted (core dumped)

  (gdb) bt
  #0  0x00007ffff5a4353f in __GI_raise (address@hidden) at 
../sysdeps/unix/sysv/linux/raise.c:50
  #1  0x00007ffff5a2d895 in __GI_abort () at abort.c:79
  #2  0x00005555557b13b3 in qdev_create (address@hidden, address@hidden 
"virtio-net-ccw") at hw/core/qdev.c:131
  #3  0x000055555572dfed in s390_create_virtio_net (name=0x555555a07e44 
"virtio-net-ccw", bus=0x555555f84600) at hw/s390x/s390-virtio-ccw.c:234
  #4  0x000055555572dfed in ccw_init (machine=<optimized out>) at 
hw/s390x/s390-virtio-ccw.c:293
  #5  0x00005555557b838b in machine_run_board_init (machine=0x555555e9ce90) at 
hw/core/machine.c:1030
  #6  0x000055555568bad2 in main (argc=<optimized out>, argv=<optimized out>, 
envp=<optimized out>) at vl.c:4463

Fixes: b42075bb7 and 9e5c2056d1
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
 hw/s390x/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/s390x/Kconfig b/hw/s390x/Kconfig
index a7046ea41f..4158bd8497 100644
--- a/hw/s390x/Kconfig
+++ b/hw/s390x/Kconfig
@@ -9,3 +9,4 @@ config S390_CCW_VIRTIO
     select S390_FLIC
     select SCLPCONSOLE
     select VIRTIO_CCW
+    select VIRTIO_NET
-- 
2.20.1




reply via email to

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