[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v1 5/5] xlnx-zynqmp: Set the number of priority qu
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v1 5/5] xlnx-zynqmp: Set the number of priority queues |
Date: |
Mon, 25 Jul 2016 16:50:23 +0100 |
On 12 July 2016 at 00:20, Alistair Francis <address@hidden> wrote:
> Set the ZynqMP number of priority queues to 2.
>
> Signed-off-by: Alistair Francis <address@hidden>
> ---
>
> hw/arm/xlnx-zynqmp.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c
> index 23c7199..0d86ba3 100644
> --- a/hw/arm/xlnx-zynqmp.c
> +++ b/hw/arm/xlnx-zynqmp.c
> @@ -332,6 +332,8 @@ static void xlnx_zynqmp_realize(DeviceState *dev, Error
> **errp)
> qemu_check_nic_model(nd, TYPE_CADENCE_GEM);
> qdev_set_nic_properties(DEVICE(&s->gem[i]), nd);
> }
> + object_property_set_int(OBJECT(&s->gem[i]), 2, "num-priority-queues",
> + &error_abort);
> object_property_set_bool(OBJECT(&s->gem[i]), true, "realized", &err);
> if (err) {
> error_propagate(errp, err);
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- [Qemu-arm] [PATCH v1 1/5] cadence_gem: QOMify Cadence GEM, (continued)
- [Qemu-arm] [PATCH v1 1/5] cadence_gem: QOMify Cadence GEM, Alistair Francis, 2016/07/11
- [Qemu-arm] [PATCH v1 4/5] cadence_gem: Correct indentation, Alistair Francis, 2016/07/11
- [Qemu-arm] [PATCH v1 5/5] xlnx-zynqmp: Set the number of priority queues, Alistair Francis, 2016/07/11
- Re: [Qemu-arm] [PATCH v1 5/5] xlnx-zynqmp: Set the number of priority queues,
Peter Maydell <=
- [Qemu-arm] [PATCH v1 3/5] cadence_gem: Add queue support, Alistair Francis, 2016/07/11
- [Qemu-arm] [PATCH v1 2/5] cadence_gem: Arrayify, Alistair Francis, 2016/07/11
- Re: [Qemu-arm] [PATCH v1 0/5] Add support for Cadence GEM priority queues, Peter Maydell, 2016/07/12