[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command |
Date: |
Mon, 20 Mar 2017 17:29:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Peter Maydell <address@hidden> writes:
> On 20 March 2017 at 14:45, Paolo Bonzini <address@hidden> 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 <address@hidden>
>> ---
>> 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.
[...]
- [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Paolo Bonzini, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Peter Maydell, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Paolo Bonzini, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command,
Markus Armbruster <=
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Peter Maydell, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Paolo Bonzini, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Markus Armbruster, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Paolo Bonzini, 2017/03/20
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Paolo Bonzini, 2017/03/24
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Dr. David Alan Gilbert, 2017/03/27
- Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Dr. David Alan Gilbert, 2017/03/27
Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Dr. David Alan Gilbert, 2017/03/20
Re: [Qemu-devel] [PATCH v2] hmp: gpa2hva and gpa2hpa hostaddr command, Dr. David Alan Gilbert, 2017/03/27