From 7528a58b8294234b18f948074e13c5dbf9c087ca Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Fri, 20 Sep 2024 16:29:29 +0000 Subject: [PATCH] ci/qemu: add FDP test Signed-off-by: Vincent Fu --- .github/workflows/qemu.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/qemu.yml b/.github/workflows/qemu.yml index c955340fb0..b443849423 100644 --- a/.github/workflows/qemu.yml +++ b/.github/workflows/qemu.yml @@ -36,6 +36,13 @@ jobs: -drive id=nvm-2,file=nvme0.img,format=raw,if=none,discard=unmap,media=disk -device nvme-ns,id=nvm-2,drive=nvm-2,bus=nvme2,nsid=1,pif=2,ms=64,mset=1,pi=1,pil=0,logical_block_size=4096,physical_block_size=4096 test_cmd: "python3 t/nvmept_pi.py --fio ./fio --dut /dev/ng0n1 --lbaf 7" + - config: FDP + device: >- + -device nvme-subsys,id=nvme-subsys0,fdp=on,fdp.runs=128K,fdp.nrg=8,fdp.nruh=64 + -device nvme,id=nvme0,serial=deadbeef,subsys=nvme-subsys0 + -drive id=nvm-1,file=nvme0.img,format=raw,if=none,discard=unmap,media=disk + -device nvme-ns,id=nvm-1,drive=nvm-1,bus=nvme0,nsid=1,logical_block_size=4096,physical_block_size=4096,fdp.ruhs=0-63 + test_cmd: "python3 t/nvmept_fdp.py --fio ./fio --dut /dev/ng0n1" env: DISTRO: debian-12