From patchwork Thu Nov 14 08:27:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?SsO8cmdlbiBHcm/Dnw==?= X-Patchwork-Id: 11243217 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9A923138C for ; Thu, 14 Nov 2019 08:29:19 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 80F85206EF for ; Thu, 14 Nov 2019 08:29:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 80F85206EF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iVATl-00067X-Uq; Thu, 14 Nov 2019 08:27:49 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iVATl-00067Q-9U for xen-devel@lists.xenproject.org; Thu, 14 Nov 2019 08:27:49 +0000 X-Inumbo-ID: a065944c-06b8-11ea-b678-bc764e2007e4 Received: from mx1.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id a065944c-06b8-11ea-b678-bc764e2007e4; Thu, 14 Nov 2019 08:27:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B8AC7B1BF; Thu, 14 Nov 2019 08:27:41 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org Date: Thu, 14 Nov 2019 09:27:37 +0100 Message-Id: <20191114082739.7928-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 Subject: [Xen-devel] [PATCH v2 0/2] xen: make more debugger support code conditional X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Juergen Gross , Elena Ufimtseva , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Support for debugging the hypervisor of guests via gdb/gdbsx should be configurable. Changes in V2: - split support for gdbstub and gdbsx (Andrew Cooper) Juergen Gross (2): xen: put more code under CONFIG_CRASH_DEBUG xen: make gdbsx support configurable xen/Kconfig.debug | 7 ++++++ xen/arch/x86/Kconfig | 1 - xen/arch/x86/Makefile | 2 +- xen/arch/x86/debug.c | 52 +----------------------------------------- xen/arch/x86/domctl.c | 4 ++++ xen/common/Kconfig | 3 --- xen/common/domain.c | 2 +- xen/include/asm-x86/debugger.h | 32 ++++++++++++++++---------- xen/include/xen/sched.h | 4 ++++ 9 files changed, 38 insertions(+), 69 deletions(-)