1 | The following changes since commit 285278ca785f5fa9a570927e1c0958a2ca2b2150: | 1 | The following changes since commit 2480f3bbd03814b0651a1f74959f5c6631ee5819: |
---|---|---|---|
2 | 2 | ||
3 | Merge remote-tracking branch 'remotes/famz/tags/testing-pull-request' into staging (2018-10-27 19:55:08 +0100) | 3 | Merge tag 'linux-user-for-7.1-pull-request' of https://gitlab.com/laurent_vivier/qemu into staging (2022-08-03 08:32:44 -0700) |
4 | 4 | ||
5 | are available in the Git repository at: | 5 | are available in the Git repository at: |
6 | 6 | ||
7 | git://github.com/stefanha/qemu.git tags/block-pull-request | 7 | https://gitlab.com/stefanha/qemu.git tags/block-pull-request |
8 | 8 | ||
9 | for you to fetch changes up to bd54b11062c4baa7d2e4efadcf71b8cfd55311fd: | 9 | for you to fetch changes up to 7b0ca313647532a2c7007379ff800c9a2415c95d: |
10 | 10 | ||
11 | nvdimm: Add docs hint for Linux driver name (2018-10-29 13:35:22 +0000) | 11 | virtiofsd: Fix format strings (2022-08-04 14:44:25 -0400) |
12 | 12 | ||
13 | ---------------------------------------------------------------- | 13 | ---------------------------------------------------------------- |
14 | Pull request | 14 | Pull request |
15 | 15 | ||
16 | No changelog-worthy entries, just small tweaks. | 16 | - Format string portability fix in virtiofsd |
17 | 17 | ||
18 | ---------------------------------------------------------------- | 18 | ---------------------------------------------------------------- |
19 | 19 | ||
20 | Kees Cook (1): | 20 | Stefan Weil (1): |
21 | nvdimm: Add docs hint for Linux driver name | 21 | virtiofsd: Fix format strings |
22 | 22 | ||
23 | Li Qiang (1): | 23 | tools/virtiofsd/fuse_lowlevel.c | 4 ++-- |
24 | util: aio-posix: fix a typo | 24 | 1 file changed, 2 insertions(+), 2 deletions(-) |
25 | |||
26 | docs/nvdimm.txt | 5 +++-- | ||
27 | util/aio-posix.c | 2 +- | ||
28 | 2 files changed, 4 insertions(+), 3 deletions(-) | ||
29 | 25 | ||
30 | -- | 26 | -- |
31 | 2.17.2 | 27 | 2.37.1 |
32 | |||
33 | diff view generated by jsdifflib |
Deleted patch | |||
---|---|---|---|
1 | From: Li Qiang <liq3ea@gmail.com> | ||
2 | 1 | ||
3 | Cc: qemu-trivial@nongnu.org | ||
4 | Signed-off-by: Li Qiang <liq3ea@gmail.com> | ||
5 | Reviewed-by: Peter Maydell <peter.maydell@linaro.org> | ||
6 | Reviewed-by: Fam Zheng <famz@redhat.com> | ||
7 | Message-id: 1538964972-3223-1-git-send-email-liq3ea@gmail.com | ||
8 | Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | ||
9 | --- | ||
10 | util/aio-posix.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/util/aio-posix.c b/util/aio-posix.c | ||
14 | index XXXXXXX..XXXXXXX 100644 | ||
15 | --- a/util/aio-posix.c | ||
16 | +++ b/util/aio-posix.c | ||
17 | @@ -XXX,XX +XXX,XX @@ struct AioHandler | ||
18 | |||
19 | #ifdef CONFIG_EPOLL_CREATE1 | ||
20 | |||
21 | -/* The fd number threashold to switch to epoll */ | ||
22 | +/* The fd number threshold to switch to epoll */ | ||
23 | #define EPOLL_ENABLE_THRESHOLD 64 | ||
24 | |||
25 | static void aio_epoll_disable(AioContext *ctx) | ||
26 | -- | ||
27 | 2.17.2 | ||
28 | |||
29 | diff view generated by jsdifflib |
1 | From: Kees Cook <keescook@chromium.org> | 1 | From: Stefan Weil <sw@weilnetz.de> |
---|---|---|---|
2 | 2 | ||
3 | I spent way too much time trying to figure out why the emulated NVDIMM | 3 | Signed-off-by: Stefan Weil <sw@weilnetz.de> |
4 | was missing under Linux. In an effort to help others who might be looking | 4 | Message-Id: <20220804074833.892604-1-sw@weilnetz.de> |
5 | for these kinds of things in the future, include a hint. | ||
6 | |||
7 | Signed-off-by: Kees Cook <keescook@chromium.org> | ||
8 | Message-id: 20181018201351.GA25286@beast | ||
9 | Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> | 5 | Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> |
10 | --- | 6 | --- |
11 | docs/nvdimm.txt | 5 +++-- | 7 | tools/virtiofsd/fuse_lowlevel.c | 4 ++-- |
12 | 1 file changed, 3 insertions(+), 2 deletions(-) | 8 | 1 file changed, 2 insertions(+), 2 deletions(-) |
13 | 9 | ||
14 | diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt | 10 | diff --git a/tools/virtiofsd/fuse_lowlevel.c b/tools/virtiofsd/fuse_lowlevel.c |
15 | index XXXXXXX..XXXXXXX 100644 | 11 | index XXXXXXX..XXXXXXX 100644 |
16 | --- a/docs/nvdimm.txt | 12 | --- a/tools/virtiofsd/fuse_lowlevel.c |
17 | +++ b/docs/nvdimm.txt | 13 | +++ b/tools/virtiofsd/fuse_lowlevel.c |
18 | @@ -XXX,XX +XXX,XX @@ Multiple vNVDIMM devices can be created if multiple pairs of "-object" | 14 | @@ -XXX,XX +XXX,XX @@ static void do_init(fuse_req_t req, fuse_ino_t nodeid, |
19 | and "-device" are provided. | 15 | |
20 | 16 | fuse_log(FUSE_LOG_DEBUG, "INIT: %u.%u\n", arg->major, arg->minor); | |
21 | For above command line options, if the guest OS has the proper NVDIMM | 17 | if (arg->major == 7 && arg->minor >= 6) { |
22 | -driver, it should be able to detect a NVDIMM device which is in the | 18 | - fuse_log(FUSE_LOG_DEBUG, "flags=0x%016llx\n", flags); |
23 | -persistent memory mode and whose size is $NVDIMM_SIZE. | 19 | + fuse_log(FUSE_LOG_DEBUG, "flags=0x%016" PRIx64 "\n", flags); |
24 | +driver (e.g. "CONFIG_ACPI_NFIT=y" under Linux), it should be able to | 20 | fuse_log(FUSE_LOG_DEBUG, "max_readahead=0x%08x\n", arg->max_readahead); |
25 | +detect a NVDIMM device which is in the persistent memory mode and whose | 21 | } |
26 | +size is $NVDIMM_SIZE. | 22 | se->conn.proto_major = arg->major; |
27 | 23 | @@ -XXX,XX +XXX,XX @@ static void do_init(fuse_req_t req, fuse_ino_t nodeid, | |
28 | Note: | 24 | if (se->conn.want & (~se->conn.capable)) { |
29 | 25 | fuse_log(FUSE_LOG_ERR, | |
26 | "fuse: error: filesystem requested capabilities " | ||
27 | - "0x%llx that are not supported by kernel, aborting.\n", | ||
28 | + "0x%" PRIx64 " that are not supported by kernel, aborting.\n", | ||
29 | se->conn.want & (~se->conn.capable)); | ||
30 | fuse_reply_err(req, EPROTO); | ||
31 | se->error = -EPROTO; | ||
30 | -- | 32 | -- |
31 | 2.17.2 | 33 | 2.37.1 |
32 | |||
33 | diff view generated by jsdifflib |