On 24.09.2015 13:37, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau <marcandre.lur...@redhat.com> > > The interrupt mask is a state value, it should be reset, like the > interrupt status. > > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > 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 <claudio.font...@huawei.com>