[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hmp: allow cpu index for "info lapic"
From: |
wang.yi59 |
Subject: |
Re: [Qemu-devel] [PATCH] hmp: allow cpu index for "info lapic" |
Date: |
Tue, 18 Jul 2017 09:18:38 +0800 (CST) |
Hi David,
Thanks a lot for your review and suggestion, I will resend a new version right
now.
>* Yi Wang (address@hidden) wrote:
>> Add [vcpu index] support for hmp command "info lapic", which is
>> useful when debugging ipi and so on.
>>
>> Signed-off-by: Yi Wang <address@hidden>
>> Signed-off-by: Yun Liu <address@hidden>
>> ---
>> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH] hmp: allow cpu index for "info lapic",
wang.yi59 <=