From: <wang.yi59@zte.com.cn>
To: dgilbert@redhat.com
Cc: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com,
qemu-devel@nongnu.org, Liu.Jianjun3@zte.com.cn,
liu.yunh@zte.com.cn
Subject: Re: [Qemu-devel] [PATCH] hmp: allow cpu index for "info lapic"
Date: Tue, 18 Jul 2017 09:18:38 +0800 (CST) [thread overview]
Message-ID: <201707180918381714420@zte.com.cn> (raw)
Hi David,
Thanks a lot for your review and suggestion, I will resend a new version right now.
>* Yi Wang (wang.yi59@zte.com.cn) wrote:
>> Add [vcpu index] support for hmp command "info lapic", which is
>> useful when debugging ipi and so on.
>>
>> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
>> Signed-off-by: Yun Liu <liu.yunh@zte.com.cn>
>> ---
>> hmp-commands-info.hx | 6 +++---
>> target/i386/monitor.c | 7 ++++++-
>> 2 files changed, 9 insertions(+), 4 deletions(-)
>>
>> diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx
>> index 07500ef..8ad2f81 100644
>> --- a/hmp-commands-info.hx
>> +++ b/hmp-commands-info.hx
>> @@ -115,9 +115,9 @@ ETEXI
>> #if defined(TARGET_I386)
>> {
>> .name = "lapic",
>> - .args_type = "",
>> - .params = "",
>> - .help = "show local apic state",
>> + .args_type = "vcpu:i?",
>> + .params = "[vcpu index]",
>> + .help = "show local apic state (default vcpu 0)",
>
>Normally I think the syntax for the help is
>(vcpu: vCPU to read, default is 0)"
---
Best wishes
Yi Wang
next reply other threads:[~2017-07-18 1:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 1:18 wang.yi59 [this message]
[not found] <1500099757-4184-1-git-send-email-wang.yi59@zte.com.cn>
2017-07-17 15:13 ` [Qemu-devel] [PATCH] hmp: allow cpu index for "info lapic" 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=201707180918381714420@zte.com.cn \
--to=wang.yi59@zte.com.cn \
--cc=Liu.Jianjun3@zte.com.cn \
--cc=dgilbert@redhat.com \
--cc=ehabkost@redhat.com \
--cc=liu.yunh@zte.com.cn \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).