Minor improvements to virtio (allow irqs, allocate page aligned).
authorKevin O'Connor <kevin@koconnor.net>
Sun, 16 May 2010 15:34:38 +0000 (11:34 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 16 May 2010 15:34:38 +0000 (11:34 -0400)
commitea8ac63a06bf621408d65fbfc17d77fa4a19be6f
treee532a8f0a74c30b54faf739a4451629f7f91f9da
parent7d09d0e3ba11310e973d4302c7fcc3fc2184e04c
Minor improvements to virtio (allow irqs, allocate page aligned).

Allow irqs to be handled while waiting for virtio reads to complete.

Use native page aligned allocations instead of manually aligning the
data.  This reduces the amount of low memory virtio requires.

Also, some minor white space cleanups.
src/virtio-blk.c
src/virtio-ring.h