Skip to content

Init vNVDIMM LSA if applicable

Robert Hoo qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NVDIMM: rename NVDIMM::label_size to NVDIMM::lsa_sizedocs/nvdimm.txt hw/acpi/nvdimm.c hw/mem/nvdimm.c +1 more+22 -220 replies
2/2NVDIMM: Init vNVDIMM's LSA index block if it hasn't beenhw/mem/nvdimm.c include/hw/mem/nvdimm.h+463 -05 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLiu, Jingqi
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Init vNVDIMM LSA if applicable

QEMU option "-device nvdimm,...,label-size=" designates a vNVDIMM with Label Storage Area (LSA), where stores the namespace labels and conforms to some format and rules defined by NVDIMM label protocol[1].

Recent guest Kernel, will by validating LSA to determine if the NVDIMM is label-capable. So without initialization, guest Kernel will judge it label-less, though it actually support label.

This patch set, is to init vNVDIMM's LSA, so that guest Kernel can correctly identify and use it.

[1]:
https://uefi.org/sites/default/files/resources/ACPI_Spec_6_4_Jan22.pdf,
Section 13.19.

Robert Hoo (2):
NVDIMM: rename NVDIMM::label_size to NVDIMM::lsa_size
NVDIMM: Init vNVDIMM's LSA index block if it hasn't been

 docs/nvdimm.txt         |   4 +-
 hw/acpi/nvdimm.c        |  14 +-
 hw/mem/nvdimm.c         | 381 ++++++++++++++++++++++++++++++++++++++--
 include/hw/mem/nvdimm.h | 108 +++++++++++-
 4 files changed, 485 insertions(+), 22 deletions(-)

base-commit: 27fc9f365d6f60ff86c2e2be57289bb47a2be882

Signature · 1 line
2.31.1