From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPlGC-0001HL-2Y for qemu-devel@nongnu.org; Mon, 04 Jun 2018 04:54:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPlG8-0007D2-2R for qemu-devel@nongnu.org; Mon, 04 Jun 2018 04:54:40 -0400 Received: from mail-he1eur01on0131.outbound.protection.outlook.com ([104.47.0.131]:10240 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fPlG7-00076s-Aw for qemu-devel@nongnu.org; Mon, 04 Jun 2018 04:54:35 -0400 Date: Mon, 4 Jun 2018 11:54:26 +0300 From: Viktor Prutyanov Message-ID: <20180604115426.4de20d54@vp-pc> In-Reply-To: <20180517162342.4330-1-viktor.prutyanov@virtuozzo.com> References: <20180517162342.4330-1-viktor.prutyanov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/4] dump: add Windows crashdump format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rkagan@virtuozzo.com, marcandre.lureau@redhat.com, dgilbert@redhat.com, armbru@redhat.com On Thu, 17 May 2018 19:23:38 +0300 Viktor Prutyanov wrote: > Recently a Windows guest driver has been added with the ability to > publish the data needed to produce useful guest dumps on the > hypervisor side. The data is wrapped in a standard VMCOREINFO > container and is exposed to the hypervisor via FwCfg (see > https://github.com/virtio-win/kvm-guest-drivers-windows/tree/master/fwcfg64) > > This patch series extends dump-guest-memory to make use of this data > and generate guest dumps in Windows crashdump format directly in QEMU > (as opposed to postprocessing the traditional ELF dumps). > > The first patch in the series is identical to the one posted two weeks > ago with message-id: > <20180501132031.13270-1-viktor.prutyanov@virtuozzo.com>. The rest are > various improvements on top of it, making it useful in situations > beyond immediately after a BSOD. > > Viktor Prutyanov (4): > dump: add Windows dump format to dump-guest-memory > dump: use system context in Windows dump > dump: add fallback KDBG using in Windows dump > dump: add Windows live system dump > > Makefile.target | 1 + > dump.c | 24 +++- > hmp-commands.hx | 13 +- > hmp.c | 9 +- > qapi/misc.json | 5 +- > win_dump.c | 385 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > win_dump.h | 176 ++++++++++++++++++++++++++ 7 files changed, 604 > insertions(+), 9 deletions(-) create mode 100644 win_dump.c > create mode 100644 win_dump.h > ping