[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support |
Date: |
Thu, 31 May 2018 13:54:44 +0100 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
On Thu, May 10, 2018 at 10:08:52AM +0800, address@hidden wrote:
> ##########################################
> +# check for libpmem
> +
> +if test "$libpmem" != "no"; then
> + cat > $TMPC <<EOF
> +#include <libpmem.h>
> +int main(void)
> +{
> + pmem_is_pmem(0, 0);
> + return 0;
> +}
> +EOF
> + libpmem_libs="-lpmem"
PMDK uses pkg-config, please take advantage of it instead of hardcoding
flags. See $pkg_config in ./configure for examples.
This will allow QEMU to detect PMDK on a wider range of systems.
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH V5 0/9] nvdimm: guarantee persistence of QEMU writes to persistent memory, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 1/9 V5] memory, exec: switch file ram allocation functions to 'flags' parameters, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 2/9 V5] hostmem-file: add the 'pmem' option, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support, junyan . he, 2018/05/09
- Re: [Qemu-devel] [PATCH 3/9 V5] configure: add libpmem support,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 4/9 V5] mem/nvdimm: ensure write persistence to PMEM in label emulation, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 5/9 V5] migration/ram: ensure write persistence on loading zero pages to PMEM, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 6/9 V5] migration/ram: ensure write persistence on loading normal pages to PMEM, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 7/9 V5] migration/ram: ensure write persistence on loading compressed pages to PMEM, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 8/9 V5] migration/ram: ensure write persistence on loading xbzrle pages to PMEM, junyan . he, 2018/05/09
- [Qemu-devel] [PATCH 9/9 V5] migration/ram: Add check and info message to nvdimm post copy., junyan . he, 2018/05/09
- Re: [Qemu-devel] [PATCH V5 0/9] nvdimm: guarantee persistence of QEMU writes to persistent memory, He, Junyan, 2018/05/09
- Re: [Qemu-devel] [PATCH V5 0/9] nvdimm: guarantee persistence of QEMU writes to persistent memory, no-reply, 2018/05/10
- Re: [Qemu-devel] [PATCH V5 0/9] nvdimm: guarantee persistence of QEMU writes to persistent memory, Junyan He, 2018/05/20