From 82dfee5a68240fe786ae3d0dbc5e026430203155 Mon Sep 17 00:00:00 2001 From: Li Qiang Date: Sun, 7 Oct 2018 19:16:12 -0700 Subject: util: aio-posix: fix a typo Cc: qemu-trivial@nongnu.org Signed-off-by: Li Qiang Reviewed-by: Peter Maydell Reviewed-by: Fam Zheng Message-id: 1538964972-3223-1-git-send-email-liq3ea@gmail.com Signed-off-by: Stefan Hajnoczi --- util/aio-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/aio-posix.c b/util/aio-posix.c index 621b302..51c41ed 100644 --- a/util/aio-posix.c +++ b/util/aio-posix.c @@ -40,7 +40,7 @@ struct AioHandler #ifdef CONFIG_EPOLL_CREATE1 -/* The fd number threashold to switch to epoll */ +/* The fd number threshold to switch to epoll */ #define EPOLL_ENABLE_THRESHOLD 64 static void aio_epoll_disable(AioContext *ctx) -- cgit v1.1 From bd54b11062c4baa7d2e4efadcf71b8cfd55311fd Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 18 Oct 2018 13:13:51 -0700 Subject: nvdimm: Add docs hint for Linux driver name I spent way too much time trying to figure out why the emulated NVDIMM was missing under Linux. In an effort to help others who might be looking for these kinds of things in the future, include a hint. Signed-off-by: Kees Cook Message-id: 20181018201351.GA25286@beast Signed-off-by: Stefan Hajnoczi --- docs/nvdimm.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt index 5f158a6..7231c2d 100644 --- a/docs/nvdimm.txt +++ b/docs/nvdimm.txt @@ -49,8 +49,9 @@ Multiple vNVDIMM devices can be created if multiple pairs of "-object" and "-device" are provided. For above command line options, if the guest OS has the proper NVDIMM -driver, it should be able to detect a NVDIMM device which is in the -persistent memory mode and whose size is $NVDIMM_SIZE. +driver (e.g. "CONFIG_ACPI_NFIT=y" under Linux), it should be able to +detect a NVDIMM device which is in the persistent memory mode and whose +size is $NVDIMM_SIZE. Note: -- cgit v1.1