Re: [Qemu-devel] [PATCH] hmp: gva2gpa debug command

2019-05-01 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@gmail.com) wrote: > On Fri, Apr 12, 2019 at 04:26:52PM +0100, Dr. David Alan Gilbert (git) wrote: > > diff --git a/hmp-commands.hx b/hmp-commands.hx > > index d3bad2fc27..ba4690b9ac 100644 > > --- a/hmp-commands.hx > > +++ b/hmp-commands.hx > > @@ -585,6 +585,21 @@ STEXI

Re: [Qemu-devel] [PATCH] hmp: gva2gpa debug command

2019-04-15 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@gmail.com) wrote: > On Fri, Apr 12, 2019 at 04:26:52PM +0100, Dr. David Alan Gilbert (git) wrote: > > diff --git a/hmp-commands.hx b/hmp-commands.hx > > index d3bad2fc27..ba4690b9ac 100644 > > --- a/hmp-commands.hx > > +++ b/hmp-commands.hx > > @@ -585,6 +585,21 @@ STEXI

Re: [Qemu-devel] [PATCH] hmp: gva2gpa debug command

2019-04-15 Thread Stefan Hajnoczi
On Fri, Apr 12, 2019 at 04:26:52PM +0100, Dr. David Alan Gilbert (git) wrote: > diff --git a/hmp-commands.hx b/hmp-commands.hx > index d3bad2fc27..ba4690b9ac 100644 > --- a/hmp-commands.hx > +++ b/hmp-commands.hx > @@ -585,6 +585,21 @@ STEXI > @findex gpa2hpa > Print the host physical address at

[Qemu-devel] [PATCH] hmp: gva2gpa debug command

2019-04-12 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Add a gva2gpa command purely for debug which performs address translation on the gva, the existing gpa2hva command can then also be used to find it in the qemu userspace; e.g. (qemu) info registers RSP=81c03e98 (qemu) gva2gpa 0x81c03e98 gp