Micron Confidential

Hi All,


Need help in  understand the reason for failing the zns command as below. Only 
the zns id-ctrl, id-ns command are working.


Sudo nvme zns report-zones /dev/nvme0n1
NVMe status: INVALID_OPCODE : The associated command opcode field is not 
valid(0x4001)

Qemu Command executed:
sudo ./x86_64-softmmu/qemu-system-x86_64 -machine accel=kvm -smp 4 -m 4096 -hda 
/var/lib/libvirt/images/demo3-vm.qcow2 -drive 
file=/home/labpc/Desktop/nvme.qcow,if=none,id=NVME1 -device 
nvme-subsys,id=nvme-subsys-0,nqn=subsys0 -device 
nvme,serial=serial_01,id=nvme0,subsys=nvme-subsys-0 -device 
nvme-ns,drive=NVME1,nsid=1,zoned=true,zoned.zone_size=512B,zoned.zone_capacity=512B,zoned.max_open=0,zoned.max_active=0,zoned.descr_ext_size=64
 -nic user,hostfwd=tcp::6022-:22


I used the latest qemu source code version as it is supporting the zns feature.
wget https://download.qemu.org/qemu-6.0.0.tar.xz
tar xvJf qemu-6.0.0.tar.xz
cd qemu-6.0.0
./configure
make


Can anyone please guide us, is there something I am missing in the way I am 
doing here.



Thanks
Santosh


Micron Confidential

Reply via email to