]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/nvme: fix up extended protection information format
authorKeith Busch <kbusch@kernel.org>
Thu, 20 Nov 2025 01:53:35 +0000 (17:53 -0800)
committerKlaus Jensen <k.jensen@samsung.com>
Tue, 25 Nov 2025 08:21:38 +0000 (09:21 +0100)
commitcf6a1592f17c79f639f0a3ab9bcc72cdbb8ab88b
treeb10ed45813500e227ada8ddb86c0a0fb41581658
parent3050b349214568172776e3cc45c0455e42af741c
hw/nvme: fix up extended protection information format

Set the protection information format (pif) only in the formats that can
support the larger guard types, and update the current in-use format
information when the user changes it.

Signed-off-by: Keith Busch <kbusch@kernel.org>
[k.jensen: fix missing braces and wrong indentation]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ns.c