From 5f509751f711b54717c1be03d55d096015b1712b Mon Sep 17 00:00:00 2001 From: Jingqi Liu Date: Wed, 29 Apr 2020 16:50:10 +0800 Subject: docs/nvdimm: add description of alignment requirement of device dax For device dax (e.g., /dev/dax0.0), the NUM of 'align=NUM' option needs to match the alignment requirement of the device dax. It must be larger than or equal to the 'align' of device dax. Reviewed-by: Joao Martins Signed-off-by: Jingqi Liu Message-Id: <20200429085011.63752-3-jingqi.liu@intel.com> Signed-off-by: Paolo Bonzini --- exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec.c') diff --git a/exec.c b/exec.c index c5ab59ec44..21926dc9c7 100644 --- a/exec.c +++ b/exec.c @@ -2379,7 +2379,7 @@ RAMBlock *qemu_ram_alloc_from_fd(ram_addr_t size, MemoryRegion *mr, file_align = get_file_align(fd); if (file_align > 0 && mr && file_align > mr->align) { error_setg(errp, "backing store align 0x%" PRIx64 - " is larger than 'align' option 0x" PRIx64, + " is larger than 'align' option 0x%" PRIx64, file_align, mr->align); return NULL; } -- cgit v1.2.3-55-g7522