mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
iscsi: Implement copy offloading
Issue EXTENDED COPY (LID1) command to implement the copy_range API. The parameter data construction code is modified from libiscsi's iscsi-dd.c. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20180601092648.24614-9-famz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
66e75c03b2
commit
604dfaaa32
@ -311,4 +311,8 @@
|
||||
#define MMC_PROFILE_HDDVD_RW_DL 0x005A
|
||||
#define MMC_PROFILE_INVALID 0xFFFF
|
||||
|
||||
#define XCOPY_DESC_OFFSET 16
|
||||
#define IDENT_DESCR_TGT_DESCR_SIZE 32
|
||||
#define XCOPY_BLK2BLK_SEG_DESC_SIZE 28
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user