mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
hw/nvme: add ozcs enum
Add enumeration for OZCS values. Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
This commit is contained in:
parent
6190d92ff7
commit
25872031e1
2 changed files with 6 additions and 1 deletions
|
@ -1351,6 +1351,10 @@ typedef struct QEMU_PACKED NvmeIdNsZoned {
|
|||
uint8_t vs[256];
|
||||
} NvmeIdNsZoned;
|
||||
|
||||
enum NvmeIdNsZonedOzcs {
|
||||
NVME_ID_NS_ZONED_OZCS_RAZB = 1 << 0,
|
||||
};
|
||||
|
||||
/*Deallocate Logical Block Features*/
|
||||
#define NVME_ID_NS_DLFEAT_GUARD_CRC(dlfeat) ((dlfeat) & 0x10)
|
||||
#define NVME_ID_NS_DLFEAT_WRITE_ZEROES(dlfeat) ((dlfeat) & 0x08)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue