qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] monitor: Add an "xlate" command for translating


From: Benjamin Herrenschmidt
Subject: Re: [Qemu-devel] [PATCH] monitor: Add an "xlate" command for translating a virtual address
Date: Mon, 15 Aug 2016 21:56:16 +1000

On Mon, 2016-08-15 at 12:44 +0100, Peter Maydell wrote:
> Certainly I think the QMP protocol command should just
> return all the info (I think current best-practice is
> to implement new HMP commands as wrappers round an
> equivalent QMP command). At that point we get into UI
> design questions about whether we should just print
> everything for the HMP command output, or have it default
> to just-address with an option to print with the attributes.
> I don't have a strong opinion there.

Ok I have no experience with QMP, I'll have a look, but from a UI
perspective, it's easier to not bother too much and just print it
all, something like:

translated_addr [secure=x,user=y,req_id=id]

This is low level debugging stuff, the user can cope with the verbose
output.

Ben.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]