diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2010-07-07 13:34:22 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-07-08 08:42:05 -0400 |
commit | 4e0daae583aeaac8e2a7fb25d02533bf40ecf29b (patch) | |
tree | 7953a958de7a4e914777895eeb9f91066fdca5f3 /src/dev-i440fx.h | |
parent | af0963d3c5c0f255ffde1dbcb7a8bc68b79f86b2 (diff) | |
download | seabios-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