From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeLLV-0000YY-TT for qemu-devel@nongnu.org; Tue, 22 Sep 2015 07:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeLLR-0002rH-Jp for qemu-devel@nongnu.org; Tue, 22 Sep 2015 07:02:49 -0400 Received: from mx2.parallels.com ([199.115.105.18]:53500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeLLR-0002pC-EA for qemu-devel@nongnu.org; Tue, 22 Sep 2015 07:02:45 -0400 Message-ID: <5601319F.30400@odin.com> Date: Tue, 22 Sep 2015 13:46:55 +0300 From: Pavel Butsykin MIME-Version: 1.0 References: <1442833057-8186-1-git-send-email-den@openvz.org> <56000D4A.8080300@redhat.com> In-Reply-To: <56000D4A.8080300@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 0/9] hmp command IO- and Local APIC dump state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , "Denis V. Lunev" Cc: Markus Armbruster , Luiz Capitulino , qemu-devel@nongnu.org, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Pavel Butsykin On 21.09.2015 16:59, Paolo Bonzini wrote: >> IRR 239 >> >> APR 0x00 TPR 0x00 DFR 0x0f LDR 0x00 PPR 0x00 >> >> (qemu) info ioapic >> ioapic id=0x00 sel=0x2e (redir[15]) >> 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 2 0x0000000000000030 dest=0 vec=48 active-hi edge fixed physical >> pin 3 0x0000000000000033 dest=0 vec=51 active-hi edge fixed physical >> pin 4 0x0000000000010034 dest=0 vec=52 active-hi edge masked fixed physical >> pin 5 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 6 0x0000000000000036 dest=0 vec=54 active-hi edge fixed physical >> pin 7 0x0000000000000037 dest=0 vec=55 active-hi edge fixed physical >> pin 8 0x0000000000000038 dest=0 vec=56 active-hi edge fixed physical >> pin 9 0x0000000000018041 dest=0 vec=65 active-hi level masked fixed physical >> pin 10 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 11 0x0300000000008081 dest=3 vec=129 active-hi level fixed physical >> pin 12 0x000000000000003c dest=0 vec=60 active-hi edge fixed physical >> pin 13 0x000000000000003d dest=0 vec=61 active-hi edge fixed physical >> pin 14 0x000000000000003e dest=0 vec=62 active-hi edge fixed physical >> pin 15 0x000000000000003f dest=0 vec=63 active-hi edge fixed physical >> pin 16 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 17 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 18 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 19 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 20 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 21 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 22 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> pin 23 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical >> IRR (none) > I would print IRR as a bitmap here, like ISR/IRR in the local APIC dump. > Similarly, it would be nice to print the "Remote IRR" bits of the > redirection table (printing them as a bitmap with the same format). ... pin 9 0x0000000000018041 dest=0 vec=65 active-hi level IRR(0) masked fixed physical pin 10 0x0000000000010000 dest=0 vec=0 active-hi edge masked fixed physical pin 11 0x0300000000008081 dest=3 vec=129 active-hi level IRR(0) fixed physical pin 12 0x000000000000003c dest=0 vec=60 active-hi edge fixed physical ... IRR 2 17 Do I understand you right?