scsi: move non-emulation specific code to scsi/
util/scsi.c includes some SCSI code that is shared by block/iscsi.c and hw/scsi, but the introduction of the persistent reservation helper will add many more instances of this. There is also include/block/scsi.h, which actually is not part of the core block layer. The persistent reservation manager will also need a home. A scsi/ directory provides one for both the aforementioned shared code and the PR manager code. Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
include/scsi/scsi.h
已删除
100644 → 0
include/scsi/utils.h
0 → 100644
scsi/Makefile.objs
0 → 100644
scsi/utils.c
0 → 100644
util/scsi.c
已删除
100644 → 0
想要评论请 注册 或 登录