ivshmem: reset mask on device reset
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 23 Jun 2015 12:13:08 +0000 (14:13 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:49 +0000 (18:02 +0200)
commit972ad21553fd46738eea91f0085c7bc32cf68d86
tree32de4f451d7a3fceb0eb35c181b4d753cd2e601d
parent1ee57de444ac7dd0cdb091fec318ba056ed173fd
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>
hw/misc/ivshmem.c