mirror of https://gitee.com/openkylin/qemu.git
x86: ioapic: dump version for "info ioapic"
Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <1483952153-7221-3-git-send-email-peterx@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e5074b3847
commit
8b77709c61
|
@ -58,7 +58,8 @@ void ioapic_print_redtbl(Monitor *mon, IOAPICCommonState *s)
|
|||
uint32_t remote_irr = 0;
|
||||
int i;
|
||||
|
||||
monitor_printf(mon, "ioapic id=0x%02x sel=0x%02x", s->id, s->ioregsel);
|
||||
monitor_printf(mon, "ioapic ver=0x%x id=0x%02x sel=0x%02x",
|
||||
s->version, s->id, s->ioregsel);
|
||||
if (s->ioregsel) {
|
||||
monitor_printf(mon, " (redir[%u])\n",
|
||||
(s->ioregsel - IOAPIC_REG_REDTBL_BASE) >> 1);
|
||||
|
|
Loading…
Reference in New Issue