Received: from eggs.gnu.org ([2001:4830:134:3::10]:58546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boQ7X-0005h3-TY for qemu-devel@nongnu.org; Mon, 26 Sep 2016 03:14:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1boQ7T-0001QF-M1 for qemu-devel@nongnu.org; Mon, 26 Sep 2016 03:14:34 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1boQ7T-0001Q2-Gk for qemu-devel@nongnu.org; Mon, 26 Sep 2016 03:14:31 -0400 Received: by mail-wm0-f65.google.com with SMTP id w84so12586113wmg.0 for ; Mon, 26 Sep 2016 00:14:31 -0700 (PDT) Sender: Paolo Bonzini References: <1474828572-25187-1-git-send-email-hpoussin@reactos.org> From: Paolo Bonzini Message-ID: Date: Mon, 26 Sep 2016 09:13:29 +0200 MIME-Version: 1.0 In-Reply-To: <1474828572-25187-1-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 0/6] intc: change 'info irq' and 'info pic' to be target-agnostic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Herv=c3=a9_Poussineau?= , qemu-devel@nongnu.org Cc: Luiz Capitulino On 25/09/2016 20:36, Hervé Poussineau wrote: > > This patchset aims at genericizing the 'info irq' and 'info pic' HMP commands, so > that it is available on all machines and can display details about more than one > interrupt controller per machine. > > Patch 1 adds a new interface IntCtrl, which is used to: > - gather statistics for the 'info irq' command > - print some text when 'info pic' is called > > Patches 2 to 4 implement IntCtrl interface on interrupt controllers which have > ad-hock code to handle 'info irq'/'info pic' commands. > > Patch 5 removes ad-hock code, and replaces it by a generic version. You can get > details about multiple interrupt controllers per machine starting here. > > Patch 6 makes 'info irq'/'info pic' commands available on all architectures. > For example, Alpha clipper machine is now able to display details about the > i8259 interrupt controller. Nice. The only remark is that I'd change IntCtrl to something more descriptive such as InterruptStatsProvider. Paolo