summaryrefslogtreecommitdiffstats
path: root/hw/fw_cfg.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin2009-11-25 11:24:14 +0100
committerMichael S. Tsirkin2009-12-01 17:00:14 +0100
commit98304c846d8866dae6322ef400ce6595b23cfc41 (patch)
tree7526a2fb68d30d9f82143c35eab444770f835083 /hw/fw_cfg.c
parentmsix: fix reset value for enable bit (diff)
downloadqemu-98304c846d8866dae6322ef400ce6595b23cfc41.tar.gz
qemu-98304c846d8866dae6322ef400ce6595b23cfc41.tar.xz
qemu-98304c846d8866dae6322ef400ce6595b23cfc41.zip
msix: clear pending bit of an unused vector
PCI spec states: if a masked vector has its Pending bit set, and the associated underlying interrupt events are somehow satisfied (usually by software though the exact manner is function-specific), the function must clear the Pending bit, to avoid sending a spurious interrupt message later when software unmasks the vector. In our case this happens if vector becomes unused. Clear pending bit in this case. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/fw_cfg.c')
0 files changed, 0 insertions, 0 deletions