[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 30/47] ivshmem: reset mask on device reset
From: |
Claudio Fontana |
Subject: |
Re: [Qemu-devel] [PATCH v4 30/47] ivshmem: reset mask on device reset |
Date: |
Tue, 29 Sep 2015 15:40:33 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 24.09.2015 13:37, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
>
> The interrupt mask is a state value, it should be reset, like the
> interrupt status.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
> hw/misc/ivshmem.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
> index 3231a46..9974f25 100644
> --- a/hw/misc/ivshmem.c
> +++ b/hw/misc/ivshmem.c
> @@ -620,6 +620,7 @@ static void ivshmem_reset(DeviceState *d)
> IVShmemState *s = IVSHMEM(d);
>
> s->intrstatus = 0;
> + s->intrmask = 0;
> ivshmem_use_msix(s);
> }
>
Reviewed-by: Claudio Fontana <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v4 30/47] ivshmem: reset mask on device reset,
Claudio Fontana <=