[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 30/46] ivshmem: reset mask on device reset
From: |
Claudio Fontana |
Subject: |
Re: [Qemu-devel] [PATCH v3 30/46] ivshmem: reset mask on device reset |
Date: |
Wed, 16 Sep 2015 14:15:23 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 15.09.2015 18:07, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
>
> The interrupt mask is a state value, it should be reset, like the value.
probably you wanted to say "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 63e4c4f..6c0a829 100644
> --- a/hw/misc/ivshmem.c
> +++ b/hw/misc/ivshmem.c
> @@ -617,6 +617,7 @@ static void ivshmem_reset(DeviceState *d)
> IVShmemState *s = IVSHMEM(d);
>
> s->intrstatus = 0;
> + s->intrmask = 0;
> ivshmem_use_msix(s);
> }
>
>
Ciao
CLaudio
- Re: [Qemu-devel] [PATCH v3 24/46] ivshmem: shmfd can be 0, (continued)
- [Qemu-devel] [PATCH v3 27/46] ivshmem: fix pci_ivshmem_exit(), marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 26/46] ivshmem: add device description, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 28/46] ivshmem: replace 'guest' for 'peer' appropriately, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 29/46] ivshmem: error on too many eventfd received, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 30/46] ivshmem: reset mask on device reset, marcandre . lureau, 2015/09/15
- Re: [Qemu-devel] [PATCH v3 30/46] ivshmem: reset mask on device reset,
Claudio Fontana <=
- [Qemu-devel] [PATCH v3 32/46] ivshmem-client: check the number of vectors, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 33/46] ivshmem-server: use a uint16 for client ID, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 31/46] contrib: add ivshmem client and server, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 34/46] ivshmem-server: fix hugetlbfs support, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 35/46] docs: update ivshmem device spec, marcandre . lureau, 2015/09/15
- [Qemu-devel] [PATCH v3 36/46] ivshmem: add check on protocol version in QEMU, marcandre . lureau, 2015/09/15