On Fri, Nov 25, 2022 at 08:44:18, Klaus Jensen wrote:
> +CC: block layer maintainers (Kevin, Hanna)
>
> On Nov 24 18:58, Dmitry Tihov wrote:
> > This patch set allows using End-to-End Data Protection in NVMe subsystem
> > with integrity capable host devices as the NVMe namesp
, because apptag is never
checked by block devices, check it explicitly in case of set 01 bit in
PRCHK.
Signed-off-by: Dmitry Tihov
---
hw/nvme/ctrl.c | 13 +-
hw/nvme/dif.c| 303 +++
hw/nvme/dif.h| 18 +++
hw/nvme/trace-events | 4 +
4
: Dmitry Tihov
---
block/file-posix.c | 130 +--
block/io_uring.c | 109 +++--
include/block/block-common.h | 2 +
include/block/raw-aio.h | 3 +-
include/qemu/iov.h | 6 ++
util/iov.c
Add protection information block level passthrough support to compare,
dataset management, verify and copy nvme commands.
Signed-off-by: Dmitry Tihov
---
hw/nvme/ctrl.c | 348 +++
hw/nvme/trace-events | 2 +
2 files changed, 325 insertions(+), 25
Allow namespace to enable pass-through of protection information
between guest and integrity capable BlockBackend.
Signed-off-by: Dmitry Tihov
---
hw/nvme/ns.c | 59 +-
hw/nvme/nvme.h | 2 ++
2 files changed, 55 insertions(+), 6 deletions
should be changed, etc.
Dmitry Tihov (5):
docs/nvme: add new feature summary
block: add transfer of protection information
hw/nvme: add protection information pass parameter
hw/nvme: implement pi pass read/write/wrz commands
hw/nvme: extend pi pass capable commands
block/file-posix.c
Describe use of new protection info block-level passthrough nvme feature.
Signed-off-by: Dmitry Tihov
---
docs/system/devices/nvme.rst | 15 +++
1 file changed, 15 insertions(+)
diff --git a/docs/system/devices/nvme.rst b/docs/system/devices/nvme.rst
index 30f841ef62..7375379810