From 6870cfb8140d8cf545a464b1e21521fdbeeb3417 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 14 Jun 2021 22:19:00 +0200 Subject: 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 Acked-by: Klaus Jensen Reviewed-by: Klaus Jensen --- docs/system/nvme.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/system/nvme.rst b/docs/system/nvme.rst index f7f63d6..b5f8288 100644 --- a/docs/system/nvme.rst +++ b/docs/system/nvme.rst @@ -81,6 +81,10 @@ There are a number of parameters available: Set the UUID of the namespace. This will be reported as a "Namespace UUID" descriptor in the Namespace Identification Descriptor List. +``eui64`` + Set the EUI-64 of the namespace. This will be reported as a "IEEE Extended + Unique Identifier" descriptor in the Namespace Identification Descriptor List. + ``bus`` If there are more ``nvme`` devices defined, this parameter may be used to attach the namespace to a specific ``nvme`` device (identified by an ``id`` -- cgit v1.1 From 3276dde4f262588f3645f2adbc84d07cb6981d3e Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Mon, 14 Jun 2021 22:19:01 +0200 Subject: hw/nvme: default for namespace EUI-64 On machines with version > 6.0 replace a missing EUI-64 by a generated value. Signed-off-by: Heinrich Schuchardt Reviewed-by: Klaus Jensen --- docs/system/nvme.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/system/nvme.rst b/docs/system/nvme.rst index b5f8288..33a15c7 100644 --- a/docs/system/nvme.rst +++ b/docs/system/nvme.rst @@ -84,6 +84,8 @@ There are a number of parameters available: ``eui64`` Set the EUI-64 of the namespace. This will be reported as a "IEEE Extended Unique Identifier" descriptor in the Namespace Identification Descriptor List. + Since machine type 6.1 a non-zero default value is used if the parameter + is not provided. For earlier machine types the field defaults to 0. ``bus`` If there are more ``nvme`` devices defined, this parameter may be used to -- cgit v1.1 From 176c0a4973d3ca5d46b05d0edb439b154363d29f Mon Sep 17 00:00:00 2001 From: Keith Busch Date: Tue, 29 Jun 2021 10:47:52 -0700 Subject: hw/nvme: add 'zoned.zasl' to documentation Signed-off-by: Keith Busch Reviewed-by: Klaus Jensen Signed-off-by: Klaus Jensen --- docs/system/nvme.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/system/nvme.rst b/docs/system/nvme.rst index 33a15c7..bff72d1 100644 --- a/docs/system/nvme.rst +++ b/docs/system/nvme.rst @@ -202,6 +202,12 @@ The namespace may be configured with additional parameters allows all zones to be open. If ``zoned.max_active`` is specified, this value must be less than or equal to that. +``zoned.zasl=UINT8`` (default: ``0``) + Set the maximum data transfer size for the Zone Append command. Like + ``mdts``, the value is specified as a power of two (2^n) and is in units of + the minimum memory page size (CAP.MPSMIN). The default value (``0``) + has this property inherit the ``mdts`` value. + Metadata -------- -- cgit v1.1