summaryrefslogtreecommitdiffstats
path: root/include/exec/plugin-gen.h
diff options
context:
space:
mode:
authorJingqi Liu2020-04-29 10:50:11 +0200
committerPaolo Bonzini2020-06-26 12:45:31 +0200
commit21b2eca6fc48c6485f5c3b4ed813246839f0a4df (patch)
treedb1412e9ed65e00f7189a623f9c48130aadc369c /include/exec/plugin-gen.h
parentreplay: synchronize on every virtual timer callback (diff)
downloadqemu-21b2eca6fc48c6485f5c3b4ed813246839f0a4df.tar.gz
qemu-21b2eca6fc48c6485f5c3b4ed813246839f0a4df.tar.xz
qemu-21b2eca6fc48c6485f5c3b4ed813246839f0a4df.zip
configure: add libdaxctl support
Add a pair of configure options --{enable,disable}-libdaxctl to control whether QEMU is compiled with libdaxctl [1]. Libdaxctl is a utility library for managing the device dax subsystem. QEMU uses mmap(2) to maps vNVDIMM backends and aligns the mapping address to the page size (getpagesize(2)) by default. However, some types of backends may require an alignment different than the page size. The 'align' option is provided to memory-backend-file to allow users to specify the proper alignment. For device dax (e.g., /dev/dax0.0), the 'align' option needs to match the alignment requirement of the device dax, which can be fetched through the APIs of libdaxctl version 57 or up. [1] Libdaxctl is a part of ndctl project. The project's repository is: https://github.com/pmem/ndctl For more information about libdaxctl APIs, you can refer to the comments in source code of: pmem/ndctl/daxctl/lib/libdaxctl.c. Reviewed-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: Jingqi Liu <jingqi.liu@intel.com> Message-Id: <20200429085011.63752-4-jingqi.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions