This series cleans up the int1348 logic a bit. It separates it out from disk.c and breaks out some of the controller specific logic.
-Kevin
Kevin O'Connor (3): edd: Move EDD get drive parameters (int 1348) logic from disk.c to block.c. edd: Use sectors==-1 to detect removable media. edd: Separate out ATA and virtio specific parts of fill_edd().
src/block.c | 187 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- src/block.h | 3 +- src/disk.c | 181 +--------------------------------------------------------- 3 files changed, 191 insertions(+), 180 deletions(-)