This series add support querying local apic through apic-id for 'info
lapic'.
As cpu_index will not be used afterwards, so extend 'info registers'
firstly to get apic-id through monitor commands.

Yi Wang (2):
  hmp: dump ids including socket-id, core-id and so on for 'info registers'
  hmp: allow apic-id for "info lapic"

 hmp-commands-info.hx  |  6 +++---
 include/qom/cpu.h     | 12 ++++++++++++
 monitor.c             |  1 +
 qom/cpu.c             | 10 ++++++++++
 target/i386/cpu.c     |  1 +
 target/i386/cpu.h     | 11 +++++++++++
 target/i386/helper.c  | 29 +++++++++++++++++++++++++++++
 target/i386/monitor.c |  9 ++++++++-
 8 files changed, 75 insertions(+), 4 deletions(-)


Reply via email to