Received: from eggs.gnu.org ([2001:4830:134:3::10]:35496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgWGq-0006H5-8q for qemu-devel@nongnu.org; Mon, 28 Sep 2015 07:07:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgWGp-0003WX-F8 for qemu-devel@nongnu.org; Mon, 28 Sep 2015 07:07:00 -0400 References: <1443284532-8634-1-git-send-email-laurent@vivier.eu> <1443284532-8634-11-git-send-email-laurent@vivier.eu> From: Thomas Huth Message-ID: <56091F4A.9070403@redhat.com> Date: Mon, 28 Sep 2015 13:06:50 +0200 MIME-Version: 1.0 In-Reply-To: <1443284532-8634-11-git-send-email-laurent@vivier.eu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: add to misc category List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-trivial@nongnu.org Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Paolo Bonzini , John Snow On 26/09/15 18:22, Laurent Vivier wrote: > openpic is a programmable interrupt controller, so > add it to the misc category. > > Signed-off-by: Laurent Vivier > --- > hw/intc/openpic.c | 1 + > hw/intc/openpic_kvm.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c > index 14ab0e3..bfcf155 100644 > --- a/hw/intc/openpic.c > +++ b/hw/intc/openpic.c > @@ -1643,6 +1643,7 @@ static void openpic_class_init(ObjectClass *oc, void *data) > dc->props = openpic_properties; > dc->reset = openpic_reset; > dc->vmsd = &vmstate_openpic; > + set_bit(DEVICE_CATEGORY_MISC, dc->categories); > } > > static const TypeInfo openpic_info = { > diff --git a/hw/intc/openpic_kvm.c b/hw/intc/openpic_kvm.c > index f7cac58..649f476 100644 > --- a/hw/intc/openpic_kvm.c > +++ b/hw/intc/openpic_kvm.c > @@ -275,6 +275,7 @@ static void kvm_openpic_class_init(ObjectClass *oc, void *data) > dc->realize = kvm_openpic_realize; > dc->props = kvm_openpic_properties; > dc->reset = kvm_openpic_reset; > + set_bit(DEVICE_CATEGORY_MISC, dc->categories); > } Reviewed-by: Thomas Huth