msix: avoid mask updates if mask is unchanged
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 21 Nov 2011 16:57:50 +0000 (18:57 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Nov 2011 21:05:59 +0000 (15:05 -0600)
commitae392c416c69a020226c768d9c3af08b29dd6d96
tree15c196cc1a091ae2e298ad580c2388ccd254e144
parent9a93b61730e3b46ef1c01ca522c6abe80ec13832
msix: avoid mask updates if mask is unchanged

Check pending bit only if vector mask status changed.
This is not really important for qemu.git but helps
fix a bug in qemu-kvm.git.

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