From: Markus Armbruster <armbru@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
QEMU Developers <qemu-devel@nongnu.org>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command
Date: Mon, 20 Mar 2017 17:29:47 +0100 [thread overview]
Message-ID: <87bmsv29ok.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <CAFEAcA_QWrU6AGfWz1iNfgYJUuKJ=hyUOHkPOo8XKyyV=4WOSw@mail.gmail.com> (Peter Maydell's message of "Mon, 20 Mar 2017 14:56:45 +0000")
Peter Maydell <peter.maydell@linaro.org> writes:
> On 20 March 2017 at 14:45, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> These commands are useful when testing machine-check passthrough.
>> gpa2hva is useful to inject a MADV_HWPOISON madvise from gdb, while
>> gpa2hpa is useful to inject an error with the mce-inject kernel
>> module.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>> hmp-commands.hx | 32 ++++++++++++++++++
>> monitor.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 2 files changed, 133 insertions(+)
>>
>> diff --git a/hmp-commands.hx b/hmp-commands.hx
>> index 8819281..0aca984 100644
>> --- a/hmp-commands.hx
>> +++ b/hmp-commands.hx
>> @@ -526,6 +526,38 @@ Dump 80 16 bit values at the start of the video memory.
>> ETEXI
>
> I have some comments which feel kind of nit-picky, but since this
> is a public-facing HMP API I think they need attention since we only
> get one chance to get it right.
HMP is not a stable interface. If we get it wrong, we change it. If
our change breaks your usage, you get to keep the pieces.
That said, we prefer not to change HMP commands. It's certainly better
to get it right from the start.
[...]
next prev parent reply other threads:[~2017-03-20 16:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-20 14:45 [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command Paolo Bonzini
2017-03-20 14:56 ` Peter Maydell
2017-03-20 15:08 ` Paolo Bonzini
2017-03-20 16:29 ` Markus Armbruster [this message]
2017-03-20 16:32 ` Peter Maydell
2017-03-20 16:35 ` Paolo Bonzini
2017-03-20 17:01 ` Markus Armbruster
2017-03-20 17:16 ` Paolo Bonzini
2017-03-24 21:56 ` Paolo Bonzini
2017-03-27 9:25 ` Dr. David Alan Gilbert
2017-03-27 15:35 ` Dr. David Alan Gilbert
2017-03-20 14:59 ` Dr. David Alan Gilbert
2017-03-27 13:49 ` Dr. David Alan Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmsv29ok.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.