commit | 972ad21553fd46738eea91f0085c7bc32cf68d86 | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Tue Jun 23 14:13:08 2015 +0200 |
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | Sat Oct 24 18:02:49 2015 +0200 |
tree | 32de4f451d7a3fceb0eb35c181b4d753cd2e601d | |
parent | 1ee57de444ac7dd0cdb091fec318ba056ed173fd [diff] |
ivshmem: reset mask on device reset The interrupt mask is a state value, it should be reset, like the interrupt status. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c index d5207ee..0dd8da1 100644 --- a/hw/misc/ivshmem.c +++ b/hw/misc/ivshmem.c
@@ -619,6 +619,7 @@ IVShmemState *s = IVSHMEM(d); s->intrstatus = 0; + s->intrmask = 0; ivshmem_use_msix(s); }