1. 25 9月, 2015 3 次提交
    • P
      hmp: implemented io apic dump state for TCG · 6bde8fd6
      Pavel Butsykin 提交于
      Added support emulator for the hmp command "info ioapic"
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Andreas Färber <afaerber@suse.de>
      Message-Id: <1442927901-1084-10-git-send-email-den@openvz.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      6bde8fd6
    • P
      hmp: added io apic dump state · d665d696
      Pavel Butsykin 提交于
      Added the hmp command to query io apic state, may be usefull after guest
      crashes to understand IRQ routing in guest.
      
      Implementation is only for kvm here. The dump will look like
      (qemu) info ioapic
      ioapic id=0x00 sel=0x26 (redir[11])
      pin 0  0x0000000000010000 dest=0 vec=0   active-hi edge  masked fixed  physical
      pin 1  0x0000000000000031 dest=0 vec=49  active-hi edge         fixed  physical
      ...
      pin 23 0x0000000000010000 dest=0 vec=0   active-hi edge  masked fixed  physical
      IRR        (none)
      Remote IRR (none)
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Andreas Färber <afaerber@suse.de>
      Message-Id: <1442927901-1084-9-git-send-email-den@openvz.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      d665d696
    • P
      hmp: added local apic dump state · 1f871d49
      Pavel Butsykin 提交于
      Added the hmp command to query local apic registers state, may be
      usefull after guest crashes to understand IRQ routing in guest.
      
      (qemu) info lapic
      dumping local APIC state for CPU 0
      
      LVT0    0x00010700 active-hi edge  masked                      ExtINT (vec 0)
      LVT1    0x00000400 active-hi edge                              NMI
      LVTPC   0x00010000 active-hi edge  masked                      Fixed  (vec 0)
      LVTERR  0x000000fe active-hi edge                              Fixed  (vec 254)
      LVTTHMR 0x00010000 active-hi edge  masked                      Fixed  (vec 0)
      LVTT    0x000000ef active-hi edge                 one-shot     Fixed  (vec 239)
      Timer   DCR=0x3 (divide by 16) initial_count = 61360
      SPIV    0x000001ff APIC enabled, focus=off, spurious vec 255
      ICR     0x000000fd physical edge de-assert no-shorthand
      ICR2    0x00000001 cpu 1 (X2APIC ID)
      ESR     0x00000000
      ISR     (none)
      IRR     239
      
      APR 0x00 TPR 0x00 DFR 0x0f LDR 0x00 PPR 0x00
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Signed-off-by: NDenis V. Lunev <den@openvz.org>
      CC: Paolo Bonzini <pbonzini@redhat.com>
      CC: Andreas Färber <afaerber@suse.de>
      Message-Id: <1442927901-1084-7-git-send-email-den@openvz.org>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      1f871d49
  2. 16 9月, 2015 1 次提交