From patchwork Tue Jul 21 06:15:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Dovgalyuk X-Patchwork-Id: 1332812 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=ispras.ru Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B9pHc2ljfz9sPB for ; Tue, 21 Jul 2020 16:15:40 +1000 (AEST) Received: from localhost ([::1]:57466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxlYw-0006rP-40 for incoming@patchwork.ozlabs.org; Tue, 21 Jul 2020 02:15:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxlYS-0006r8-QA for qemu-devel@nongnu.org; Tue, 21 Jul 2020 02:15:08 -0400 Received: from mail.ispras.ru ([83.149.199.84]:53654) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxlYP-0001cX-ES for qemu-devel@nongnu.org; Tue, 21 Jul 2020 02:15:08 -0400 Received: from [127.0.1.1] (unknown [62.118.151.149]) by mail.ispras.ru (Postfix) with ESMTPSA id 609094089F10; Tue, 21 Jul 2020 06:15:00 +0000 (UTC) Subject: [PATCH v2 0/2] Romless QEMU shutdown patches From: Pavel Dovgalyuk To: qemu-devel@nongnu.org Date: Tue, 21 Jul 2020 09:15:00 +0300 Message-ID: <159531210010.24117.10018704762356020189.stgit@pasha-ThinkPad-X280> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Received-SPF: pass client-ip=83.149.199.84; envelope-from=pavel.dovgalyuk@ispras.ru; helo=mail.ispras.ru X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/21 02:15:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, pavel.dovgalyuk@ispras.ru, f4bug@amsat.org, aleksandar.qemu.devel@gmail.com, antonynpavlov@gmail.com, chenhc@lemote.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Some machines require custom ROMs or kernels. They can't be started without -bios, -kernel, or -pflash options. But this requirement can't be detected automatically. Running a romless machine may be needed for automatic introspection of default machine hardware, when QEMU is started with a single -machine option. This series provides patches that enable QEMU execution for MIPS and ARM machines, even when there is no ROM. v2 changes: - useless error reports were dropped (suggested by Peter Maydell) --- Pavel Dovgalyuk (2): hw/mips: remove exit(1) in case of missing ROM hw/arm: remove exit(1) in case of missing ROM hw/arm/digic_boards.c | 8 ++++++-- hw/arm/gumstix.c | 12 ------------ hw/arm/omap_sx1.c | 5 ----- hw/arm/palm.c | 8 +------- hw/mips/fuloong2e.c | 8 +++----- hw/mips/jazz.c | 8 +++----- hw/mips/malta.c | 11 ++++------- hw/mips/mipssim.c | 10 +++------- 8 files changed, 20 insertions(+), 50 deletions(-) -- Pavel Dovgalyuk