aboutsummaryrefslogtreecommitdiff
path: root/hw/nvme/nvme.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-06-14 22:19:00 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-06-29 07:16:25 +0200
commit6870cfb8140d8cf545a464b1e21521fdbeeb3417 (patch)
tree3f5ee2486ff1cf190c5020b2976bbccc71f55095 /hw/nvme/nvme.h
parent3553c48fcb6c8469d41de6410b01298d5f9d975e (diff)
downloadqemu-6870cfb8140d8cf545a464b1e21521fdbeeb3417.zip
qemu-6870cfb8140d8cf545a464b1e21521fdbeeb3417.tar.gz
qemu-6870cfb8140d8cf545a464b1e21521fdbeeb3417.tar.bz2
hw/nvme: namespace parameter for EUI-64
The EUI-64 field is the only identifier for NVMe namespaces in UEFI device paths. Add a new namespace property "eui64", that provides the user the option to specify the EUI-64. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Acked-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/nvme/nvme.h')
-rw-r--r--hw/nvme/nvme.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/nvme/nvme.h b/hw/nvme/nvme.h
index 93a7e0e..ac90e13 100644
--- a/hw/nvme/nvme.h
+++ b/hw/nvme/nvme.h
@@ -83,6 +83,7 @@ typedef struct NvmeNamespaceParams {
bool shared;
uint32_t nsid;
QemuUUID uuid;
+ uint64_t eui64;
uint16_t ms;
uint8_t mset;