This patch enables zoned support for UFS devices. By applying this patch, a QEMU run can use parameters to configure whether each LU of each UFS is zoned, and the capacity, size, and max open zones. Zoned UFS is implemented by referencing ZBC2. (https://www.t10.org/members/w_zbc2.htm)
Daejun Park (3): hw/ufs: Support for Zoned UFS hw/scsi: add mode sense support for zbc device tests/qtest: Add tests for Zoned UFS hw/scsi/scsi-disk.c | 13 +- hw/ufs/lu.c | 616 +++++++++++++++++++++++++++++++++++++++++ hw/ufs/ufs.c | 6 +- hw/ufs/ufs.h | 32 +++ include/block/ufs.h | 31 +++ tests/qtest/ufs-test.c | 178 ++++++++++++ 6 files changed, 870 insertions(+), 6 deletions(-) -- 2.25.1