From patchwork Fri Aug 14 17:46:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 507545 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 7CBC7140293 for ; Sat, 15 Aug 2015 03:52:17 +1000 (AEST) Received: from localhost ([::1]:47675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQJ9L-000752-NE for incoming@patchwork.ozlabs.org; Fri, 14 Aug 2015 13:52:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQJ8t-0006Fj-Gh for qemu-devel@nongnu.org; Fri, 14 Aug 2015 13:51:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQJ8s-0008CI-44 for qemu-devel@nongnu.org; Fri, 14 Aug 2015 13:51:47 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:34969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQJ8r-0008Bo-Sj for qemu-devel@nongnu.org; Fri, 14 Aug 2015 13:51:46 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1ZQJ3o-00019f-Eg; Fri, 14 Aug 2015 18:46:32 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 14 Aug 2015 18:46:31 +0100 Message-Id: <1439574392-4403-4-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> References: <1439574392-4403-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Jan Kiszka , Markus Armbruster , "Dr. David Alan Gilbert" , Stefan Hajnoczi , patches@linaro.org Subject: [Qemu-devel] [PATCH v2 3/4] scripts/qemu-gdb: Silently pass through SIGUSR1 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org SIGUSR1 is QEMU's IPI signal, and it gets sent a lot, so is best silently passed through to the guest without stopping. Make qemu-gdb.py do this bit of configuration for the user. Signed-off-by: Peter Maydell --- scripts/qemu-gdb.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/qemu-gdb.py b/scripts/qemu-gdb.py index 1c94b2a..f98cd21 100644 --- a/scripts/qemu-gdb.py +++ b/scripts/qemu-gdb.py @@ -34,3 +34,7 @@ class QemuCommand(gdb.Command): QemuCommand() coroutine.CoroutineCommand() mtree.MtreeCommand() + +# Default to silently passing through SIGUSR1, because QEMU sends it +# to itself a lot. +gdb.execute('handle SIGUSR1 pass noprint nostop')