]> git.proxmox.com Git - mirror_qemu.git/commit
hw/nvme: do not auto-generate eui64
authorKlaus Jensen <k.jensen@samsung.com>
Fri, 29 Apr 2022 08:33:33 +0000 (10:33 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Fri, 3 Jun 2022 19:48:24 +0000 (21:48 +0200)
commit36d83272d5e45dff13e988ee0a59f11c58b442ba
treefc8d3f2daed4eabf8b7303bc14ac0f9fe7569859
parenta859eb9f8f64e116671048a43a07d87bc6527a55
hw/nvme: do not auto-generate eui64

We cannot provide auto-generated unique or persistent namespace
identifiers (EUI64, NGUID, UUID) easily. Since 6.1, namespaces have been
assigned a generated EUI64 of the form "52:54:00:<namespace counter>".
This is will be unique within a QEMU instance, but not globally.

Revert that this is assigned automatically and immediately deprecate the
compatibility parameter. Users can opt-in to this with the
`eui64-default=on` device parameter or set it explicitly with
`eui64=UINT64`.

Cc: libvir-list@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
docs/about/deprecated.rst
hw/core/machine.c
hw/nvme/ns.c