From patchwork Wed Nov 22 19:20:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Dunlap X-Patchwork-Id: 10070803 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32ED16038F for ; Wed, 22 Nov 2017 19:23:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27A1C28C49 for ; Wed, 22 Nov 2017 19:23:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C94F28DAB; Wed, 22 Nov 2017 19:23:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A7C9328CD3 for ; Wed, 22 Nov 2017 19:23:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHaZW-0007Bx-R2; Wed, 22 Nov 2017 19:20:34 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHaZV-0007BC-A6 for xen-devel@lists.xenproject.org; Wed, 22 Nov 2017 19:20:33 +0000 Received: from [193.109.254.147] by server-6.bemta-6.messagelabs.com id E3/02-05156-00EC51A5; Wed, 22 Nov 2017 19:20:32 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRWlGSWpSXmKPExsXitHRDpC7DOdE ogx2nBC2+b5nM5MDocfjDFZYAxijWzLyk/IoE1oyLmy8xFhwWrjjYc4G5gXGtQBcjJ4eEgL/E zu5zzCA2m4CexLzjX1m6GDk4RARUJG7vNehi5OJgFljHJLGs8SMrSI2wQIDEzl8rmUFqWARUJ ab8KwYJ8wrYSWw/9oEdYqS8xOLvO9lAbE6g+KPJ88FsIQFbiVNb5zJD2KoSix8cZYfoFZQ4Of MJC4jNLCAhcfDFC+YJjLyzkKRmIUktYGRaxahRnFpUllqka2Sil1SUmZ5RkpuYmaNraGCml5t aXJyYnpqTmFSsl5yfu4kRGDoMQLCDcd/HyEOMkhxMSqK8wctFooT4kvJTKjMSizPii0pzUosP McpwcChJ8H4/IxolJFiUmp5akZaZAwximLQEB4+SCO8LkDRvcUFibnFmOkTqFKMxx7OZrxuYO aZdbW1iFmLJy89LlRLn9T4LVCoAUppRmgc3CBZdlxhlpYR5GYFOE+IpSC3KzSxBlX/FKM7BqC TMex5kIU9mXgncvldApzABnfLzuDDIKSWJCCmpBsayqRUPzX1M5wb8OzFz/dvb7UGH+9JtbzA dSZvUdaqnfGmaN5dt2rpI9ZaU+Ow5Oqf9J+iufbAwnEszLD9vlbDL1e4P1vWRaxPm9Og1Cof8 vl9wy69cyvdKvULOyr2JDa+YLCzWFry+G3Nc2pt3xYnX/RPKX9/fvuyecf8xh+Wr2uMe5lftf qjEUpyRaKjFXFScCADZUomyqQIAAA== X-Env-Sender: prvs=49202577f=George.Dunlap@citrix.com X-Msg-Ref: server-13.tower-27.messagelabs.com!1511378430!108195651!2 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 36193 invoked from network); 22 Nov 2017 19:20:32 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-13.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 22 Nov 2017 19:20:32 -0000 X-IronPort-AV: E=Sophos;i="5.44,436,1505779200"; d="scan'208";a="452652243" From: George Dunlap To: Date: Wed, 22 Nov 2017 19:20:17 +0000 Message-ID: <20171122192024.21187-10-george.dunlap@citrix.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171122192024.21187-1-george.dunlap@citrix.com> References: <20171122192024.21187-1-george.dunlap@citrix.com> MIME-Version: 1.0 Cc: Stefano Stabellini , Wei Liu , Konrad Wilk , Andrew Cooper , Tim Deegan , George Dunlap , Jan Beulich , Ian Jackson Subject: [Xen-devel] [PATCH v3 10/17] SUPPORT.md: Add Debugging, analysis, crash post-portem X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: George Dunlap --- Changes since v2: - gdbsx -> not security suported - Added host serial, host debug keys, and host sync_console entries CC: Ian Jackson CC: Wei Liu CC: Andrew Cooper CC: Jan Beulich CC: Stefano Stabellini CC: Konrad Wilk CC: Tim Deegan --- SUPPORT.md | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/SUPPORT.md b/SUPPORT.md index f357291e4e..ee069f8499 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -138,6 +138,64 @@ Output of information in machine-parseable JSON format Status: Supported, Security support external +## Debugging, analysis, and crash post-mortem + +### Host serial console + + Status, NS16550: Supported + Status, EHCI: Supported + Status, Cadence UART (ARM): Supported + Status, PL011 UART (ARM): Supported + Status, Exynos 4210 UART (ARM): Supported + Status, OMAP UART (ARM): Supported + Status, SCI(F) UART: Supported + +XXX Should NS16550 and EHCI be limited to x86? Unlike the ARM +entries, they don't depend on x86 being configured + +### Hypervisor 'debug keys' + + Status: Supported, not security supported + +These are functions triggered either from the host serial console, +or via the xl 'debug-keys' command, +which cause Xen to dump various hypervisor state to the console. + +### Hypervisor synchronous console output (sync_console) + + Status: Supported, not security supported + +Xen command-line flag to force synchronous console output. +Useful for debugging, but not suitable for production environments +due to incurred overhead. + +### gdbsx + + Status, x86: Supported, not security supported + +Debugger to debug ELF guests + +### Soft-reset for PV guests + + Status: Supported + +Soft-reset allows a new kernel to start 'from scratch' with a fresh VM state, +but with all the memory from the previous state of the VM intact. +This is primarily designed to allow "crash kernels", +which can do core dumps of memory to help with debugging in the event of a crash. + +### xentrace + + Status, x86: Supported + +Tool to capture Xen trace buffer data + +### gcov + + Status: Supported, Not security supported + +Export hypervisor coverage data suitable for analysis by gcov or lcov. + ## Memory Management ### Dynamic memory control