mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
hmp: allow apic-id for "info lapic"
Add [apic-id] 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 <wang.yi59@zte.com.cn> Signed-off-by: Yun Liu <liu.yunh@zte.com.cn> Message-Id: <1501049917-4701-3-git-send-email-wang.yi59@zte.com.cn> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
@ -115,9 +115,10 @@ ETEXI
|
||||
#if defined(TARGET_I386)
|
||||
{
|
||||
.name = "lapic",
|
||||
.args_type = "",
|
||||
.params = "",
|
||||
.help = "show local apic state",
|
||||
.args_type = "apic-id:i?",
|
||||
.params = "[apic-id]",
|
||||
.help = "show local apic state (apic-id: local apic to read, default is which of current CPU)",
|
||||
|
||||
.cmd = hmp_info_local_apic,
|
||||
},
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user