]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
virtio-scsi: Set _DRIVER_OK flag before scsi target scanning
authorAsias He <asias@redhat.com>
Fri, 15 Mar 2013 01:45:15 +0000 (09:45 +0800)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 17 Mar 2013 14:27:58 +0000 (10:27 -0400)
commit5a7730db57ab0715223421e65b54fb50d6fefe5c
tree38ab7eedd174f0a050602288af1df75f407d2a3b
parent091a2f4567a634566f70e12da85857231f05c3d1
virtio-scsi: Set _DRIVER_OK flag before scsi target scanning

Before we start scsi target scanning, we need to set the
VIRTIO_CONFIG_S_DRIVER_OK flag so the device can do setup properly.

This fix a bug when booting tcm_vhost with seabios.

Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
src/virtio-scsi.c