[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic"
From: |
wang.yi59 |
Subject: |
Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic" |
Date: |
Wed, 19 Jul 2017 12:47:53 +0800 (CST) |
Hi Eduardo,
Thank you for your reply!
>On Mon, Jul 17, 2017 at 09:49:37PM -0400, Yi Wang wrote:
>> Add [vcpu] index support for hmp command "info lapic", which is
>> useful when debugging ipi and so on. Current behavior is not
>> changed when the parameter isn't specified.
>>
>> Signed-off-by: Yi Wang <address@hidden>
>> Signed-off-by: Yun Liu <address@hidden>
>
>We have 8 monitor commands (see below) that use the CPU set by
>the "cpu" command (mon_get_cpu()) as input. Why is "info lapic"
>special?
When we debugging a problem of ipi, we wanted to verify lapic info
on each vCPU, but we found that we could only get vCPU 0's lapic
through "info lapic", so we supposed this patch could help those
who have the same problem as us.
>
>* info cpustats
>* info lapic
>* info mem
>* info registers
>* info tlb
>* x
>* memsave
>* inject-nmi (QMP)
Monitor command "info registers" already have "-a" parameter to
show all vCPU's info. -)
May I send some new patches for the other monitor commands, which may
be helpful for analyzing multiple cpu problems?
---
Best wishes
Yi Wang
- [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Yi Wang, 2017/07/18
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", wang.yi59, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic",
wang.yi59 <=
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Dr. David Alan Gilbert, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eduardo Habkost, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Dr. David Alan Gilbert, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eduardo Habkost, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eric Blake, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Daniel P. Berrange, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eric Blake, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eduardo Habkost, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Dr. David Alan Gilbert, 2017/07/19
- Re: [Qemu-devel] [PATCH v2] hmp: allow cpu index for "info lapic", Eduardo Habkost, 2017/07/19