From patchwork Sat Mar 16 20:08:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1057417 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44MDPT2JM8z9s47 for ; Sun, 17 Mar 2019 07:21:49 +1100 (AEDT) Received: from localhost ([127.0.0.1]:45964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5FoR-00020F-98 for incoming@patchwork.ozlabs.org; Sat, 16 Mar 2019 16:21:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Fd6-0001H3-UO for qemu-devel@nongnu.org; Sat, 16 Mar 2019 16:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Fd6-0008WR-0A for qemu-devel@nongnu.org; Sat, 16 Mar 2019 16:10:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40146) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h5Fd5-0008Vd-LO; Sat, 16 Mar 2019 16:10:03 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8AD923082AFC; Sat, 16 Mar 2019 20:10:02 +0000 (UTC) Received: from x1w.redhat.com (ovpn-204-28.brq.redhat.com [10.40.204.28]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9942460634; Sat, 16 Mar 2019 20:09:55 +0000 (UTC) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Paolo Bonzini , qemu-devel@nongnu.org Date: Sat, 16 Mar 2019 21:08:14 +0100 Message-Id: <20190316200818.8265-11-philmd@redhat.com> In-Reply-To: <20190316200818.8265-1-philmd@redhat.com> References: <20190316200818.8265-1-philmd@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Sat, 16 Mar 2019 20:10:02 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 10/14] hw/s390x/Kconfig: s390x machines require virtio-net-ccw device X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , Cornelia Huck , Eduardo Habkost , David Hildenbrand , Aleksandar Markovic , Helge Deller , "Michael S. Tsirkin" , Mark Cave-Ayland , Aleksandar Rikalo , Halil Pasic , Christian Borntraeger , qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Artyom Tarasenko , Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?b?w6k=?= , Aurelien Jarno , David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007ffff5a2d895 in __GI_abort () at abort.c:79 #2 0x00005555557b13b3 in qdev_create (bus=bus@entry=0x555555f84600, name=name@entry=0x555555a07e44 "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=) 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=, argv=, envp=) at vl.c:4463 Fixes: b42075bb7 and 9e5c2056d1 Signed-off-by: Philippe Mathieu-Daudé --- 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