aboutsummaryrefslogtreecommitdiffstats
path: root/src/dev-i440fx.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2010-07-07 13:34:22 +0100
committerKevin O'Connor <kevin@koconnor.net>2010-07-08 08:42:05 -0400
commit4e0daae583aeaac8e2a7fb25d02533bf40ecf29b (patch)
tree7953a958de7a4e914777895eeb9f91066fdca5f3 /src/dev-i440fx.h
parentaf0963d3c5c0f255ffde1dbcb7a8bc68b79f86b2 (diff)
downloadseabios-4e0daae583aeaac8e2a7fb25d02533bf40ecf29b.tar.gz
virtio: Clear interrupt status register in virtio-blk
The VRING_AVAIL_F_NO_INTERRUPT flag is a hint that interrupts should be suppressed. It does not guarantee that interrupts will not be raised. Therefore, make sure to clear the interrupt after each virtio-blk read. This avoids a stuck interrupt interfering with the OS loaded later in the boot process. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'src/dev-i440fx.h')
0 files changed, 0 insertions, 0 deletions