On Fri, May 20, 2016 at 04:20:01PM +0800, Xiao Guangrong wrote: > Introduce a parameter, 'label-size', which is the size of nvdimm label > data area which is reserved at the end of backend memory. It is required > at least 128k > > Two callbacks, read_label_data() and write_label_data(), are used to > operate the label area > > Signed-off-by: Xiao Guangrong <guangrong.xiao@xxxxxxxxxxxxxxx> > --- > hw/mem/nvdimm.c | 122 ++++++++++++++++++++++++++++++++++++++++++++++++ > include/hw/mem/nvdimm.h | 55 +++++++++++++++++++++- > 2 files changed, 176 insertions(+), 1 deletion(-) Reviewed-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature