From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbnef-0001to-17 for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:40:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zbneb-0006QQ-NC for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:40:04 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:33641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zbneb-0006Py-Hz for qemu-devel@nongnu.org; Tue, 15 Sep 2015 06:40:01 -0400 Received: by wiclk2 with SMTP id lk2so22344924wic.0 for ; Tue, 15 Sep 2015 03:40:01 -0700 (PDT) Sender: Paolo Bonzini References: <1442308988-653-1-git-send-email-den@openvz.org> <1442308988-653-9-git-send-email-den@openvz.org> From: Paolo Bonzini Message-ID: <55F7F3DB.1020903@redhat.com> Date: Tue, 15 Sep 2015 12:32:59 +0200 MIME-Version: 1.0 In-Reply-To: <1442308988-653-9-git-send-email-den@openvz.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 8/9] hmp: added io apic dump state List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Denis V. Lunev" Cc: =?UTF-8?Q?Andreas_F=c3=a4rber?= , qemu-devel@nongnu.org, Pavel Butsykin On 15/09/2015 11:23, Denis V. Lunev wrote: > > Implementation is only for kvm here. The dump will look like > (qemu) info apic-io > ioapic ID=00 IRR=00000000 SEL=18 > ioapic 00 00000000000100ff: int=ff delmod=0:Fixed P.H.EM dest=0 > ioapic 01 0300000000000993: int=93 delmod=1:LowPri L.H.E. dest=3 > ... > ioapic 23 00000000000100ff: int=ff delmod=0:Fixed P.H.EM dest=0 I would call the command "info ioapic" and would use a format like ioapic id=0x00 sel=0x18 (redir[4]) pin 0 0x00000000000100ff dest=0 vec=255 activehi edge masked fixed physical pin 1 0x0300000000000993 dest=3 vec=147 activehi edge lowest logical ... pin 23 0x00000000000100ff dest=0 vec=255 activehi edge masked fixed physical IRR (none) (both suggestions for the format are inspired by the KVM trace events) Paolo