[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: add to misc
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: add to misc category |
Date: |
Mon, 28 Sep 2015 13:06:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
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 <address@hidden>
> ---
> 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 <address@hidden>
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category, (continued)
- [Qemu-ppc] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 01/10][TRIVIAL] adb: add to input category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 09/10][TRIVIAL] macio-nvram: add to misc category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 03/10][TRIVIAL] escc: add to input category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 10/10][TRIVIAL] openpic: add to misc category, Laurent Vivier, 2015/09/26
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: add to misc category,
Thomas Huth <=