commit | 4e0daae583aeaac8e2a7fb25d02533bf40ecf29b | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Wed Jul 07 13:34:22 2010 +0100 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Jul 08 08:42:05 2010 -0400 |
tree | 7953a958de7a4e914777895eeb9f91066fdca5f3 | |
parent | af0963d3c5c0f255ffde1dbcb7a8bc68b79f86b2 [diff] |
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>