projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ee57de
)
ivshmem: reset mask on device reset
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Tue, 23 Jun 2015 12:13:08 +0000
(14:13 +0200)
committer
Marc-André Lureau
<marcandre.lureau@redhat.com>
Sat, 24 Oct 2015 16:02:49 +0000
(18:02 +0200)
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
patch
|
blob
|
history
diff --git
a/hw/misc/ivshmem.c
b/hw/misc/ivshmem.c
index
d5207ee
..
0dd8da1
100644
(file)
--- a/
hw/misc/ivshmem.c
+++ b/
hw/misc/ivshmem.c
@@
-619,6
+619,7
@@
static void ivshmem_reset(DeviceState *d)
IVShmemState *s = IVSHMEM(d);
s->intrstatus = 0;
+ s->intrmask = 0;
ivshmem_use_msix(s);
}