From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754214AbdDOOfs (ORCPT ); Sat, 15 Apr 2017 10:35:48 -0400 Received: from smtp2.provo.novell.com ([137.65.250.81]:35305 "EHLO smtp2.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753039AbdDOOfp (ORCPT ); Sat, 15 Apr 2017 10:35:45 -0400 Date: Sat, 15 Apr 2017 16:35:27 +0200 From: Petr Tesarik To: Daniel Kiper Cc: Juergen Gross , Daniel Kiper , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Subject: Re: [Xen-devel] [PATCH v2] xen, kdump: handle pv domain in paddr_vmcoreinfo_note() Message-ID: <20170415163527.0a38cb16@hananiah.suse.cz> In-Reply-To: <20170414222605.GA16658@olila.local.net-space.pl> References: <20170331101438.28582-1-jgross@suse.com> <20170403124257.GA3439@router-fw-old.local.net-space.pl> <1df1de5c-8f89-3d65-b0cb-15a2a78992f8@suse.com> <20170411130058.GI4372@olila.local.net-space.pl> <20170411165916.698b6b85@hananiah.suse.cz> <20170411172008.GA16658@olila.local.net-space.pl> <20170414185336.673fa084@hananiah.suse.cz> <20170414222605.GA16658@olila.local.net-space.pl> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 15 Apr 2017 00:26:05 +0200 Daniel Kiper wrote: > On Fri, Apr 14, 2017 at 06:53:36PM +0200, Petr Tesarik wrote: >[...] > > shifted towards libkdumpfile (https://github.com/ptesarik/libkdumpfile), > > and this library can open PV guest dump files without any issues. > > Great! AIUI, it reminds my idea to make such think. However, I have not > have time to make it happen. Is it based on makedumpfile or written from > scratch? Do you plan support for Linux kernel dumps and/or Xen ones? Some ideas are borrowed from existing tools (makedumpfile, crash). All code is written from scratch, however. The kdumpfile library itself is designed for use with any platform and operating system. Xen is treated as just another type of operating system. Based on which OS type is initialized, the library is able to provide a hypervisor view or a Dom0 view. There is another project led by Jeff Mahoney, which extends standard gdb with semantic commands. This project supports only x86_64 Linux right now. See https://github.com/jeffmahoney/crash-python. Petr T