msix: Prevent bogus mask updates on MMIO accesses
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Nov 2011 16:57:31 +0000 (18:57 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Nov 2011 21:05:59 +0000 (15:05 -0600)
commit9a93b61730e3b46ef1c01ca522c6abe80ec13832
tree980eadcaf28fc5e87f359e032d5b1ce6076fad73
parent50322249fdfa3fb8bc6a67c50aebb0f9c36bafb6
msix: Prevent bogus mask updates on MMIO accesses

>From: Jan Kiszka <jan.kiszka@siemens.com>

Only accesses to the MSI-X table must trigger a call to
msix_handle_mask_update, otherwise the vector
value might be out of range.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/msix.c