diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-02-27 17:22:23 +0100 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-03-06 07:25:16 -0500 |
commit | c5c488f46b406b9bbd83a4a7aa28ec89d5a6cbcd (patch) | |
tree | 4564306081db09200a8c37d3a584c96a6585c88f /src/disk.c | |
parent | cb721714570520c02ae48efc26d3c04b8548d973 (diff) | |
download | seabios-hppa-c5c488f46b406b9bbd83a4a7aa28ec89d5a6cbcd.zip seabios-hppa-c5c488f46b406b9bbd83a4a7aa28ec89d5a6cbcd.tar.gz seabios-hppa-c5c488f46b406b9bbd83a4a7aa28ec89d5a6cbcd.tar.bz2 |
add virtio-scsi driver
virtio-scsi is a simple HBA that talks to the host via a single
vring. The implementation looks like a hybrid of usb-msc and
virtio-blk.
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -551,7 +551,8 @@ disk_1348(struct bregs *regs, struct drive_s *drive_g) SET_INT13DPT(regs, blksize, blksize); if (size < 30 || - (type != DTYPE_ATA && type != DTYPE_ATAPI && type != DTYPE_VIRTIO_BLK)) { + (type != DTYPE_ATA && type != DTYPE_ATAPI && + type != DTYPE_VIRTIO_BLK && type != DTYPE_VIRTIO_SCSI)) { disk_ret(regs, DISK_RET_SUCCESS); return; } |