From patchwork Wed Dec 10 19:59:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 5471831 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E1C91BEEA8 for ; Wed, 10 Dec 2014 20:00:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 294962018E for ; Wed, 10 Dec 2014 20:00:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E6912017D for ; Wed, 10 Dec 2014 20:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932802AbaLJUAV (ORCPT ); Wed, 10 Dec 2014 15:00:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53899 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932600AbaLJUAT (ORCPT ); Wed, 10 Dec 2014 15:00:19 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBAK0GYO017774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Dec 2014 15:00:16 -0500 Received: from hawk.usersys.redhat.com ([10.34.1.145]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBAK0CaM028915; Wed, 10 Dec 2014 15:00:15 -0500 From: Andrew Jones To: kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org Cc: christoffer.dall@linaro.org, pbonzini@redhat.com, alex.bennee@linaro.org Subject: [PATCH 01/15] arm: fix run script testdev probing Date: Wed, 10 Dec 2014 20:59:54 +0100 Message-Id: <1418241608-13966-2-git-send-email-drjones@redhat.com> In-Reply-To: <1418241608-13966-1-git-send-email-drjones@redhat.com> References: <1418241608-13966-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Using -kernel doesn't force qemu to exit immediately, and thus we "hang" when trying to run arm/run. Using -initrd works though. Signed-off-by: Andrew Jones --- arm/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm/run b/arm/run index a714350225597..4c5e52525d687 100755 --- a/arm/run +++ b/arm/run @@ -26,7 +26,7 @@ if ! $qemu $M -device '?' 2>&1 | grep virtconsole > /dev/null; then exit 2 fi -if $qemu $M -chardev testdev,id=id -kernel . 2>&1 \ +if $qemu $M -chardev testdev,id=id -initrd . 2>&1 \ | grep backend > /dev/null; then echo "$qpath doesn't support chr-testdev. Exiting." exit 2