From: Thomas Huth <thuth@redhat.com>
To: Yonggang Luo <luoyonggang@gmail.com>, qemu-devel@nongnu.org
Cc: "Kevin Wolf" <kwolf@redhat.com>,
"QEMU Block" <qemu-block@nongnu.org>,
"QEMU Trivial" <qemu-trivial@nongnu.org>,
"Stefan Weil" <sw@weilnetz.de>, "Peter Lieven" <pl@kamp.de>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH v5 08/11] osdep: These function are only available on Non-Win32 system.
Date: Sat, 5 Sep 2020 10:33:24 +0200 [thread overview]
Message-ID: <8d7357bc-518e-e408-bf56-32fcce8bb520@redhat.com> (raw)
In-Reply-To: <20200905062333.1087-9-luoyonggang@gmail.com>
On 05/09/2020 08.23, Yonggang Luo wrote:
> int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
> int qemu_unlock_fd(int fd, int64_t start, int64_t len);
> int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
> bool qemu_has_ofd_lock(void);
>
> Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
> ---
> include/qemu/osdep.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
> index 412962d91a..e80fddd1e8 100644
> --- a/include/qemu/osdep.h
> +++ b/include/qemu/osdep.h
> @@ -502,11 +502,11 @@ int qemu_close(int fd);
> int qemu_unlink(const char *name);
> #ifndef _WIN32
> int qemu_dup(int fd);
> -#endif
> int qemu_lock_fd(int fd, int64_t start, int64_t len, bool exclusive);
> int qemu_unlock_fd(int fd, int64_t start, int64_t len);
> int qemu_lock_fd_test(int fd, int64_t start, int64_t len, bool exclusive);
> bool qemu_has_ofd_lock(void);
> +#endif
>
> #if defined(__HAIKU__) && defined(__i386__)
> #define FMT_pid "%ld"
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2020-09-05 8:34 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-05 6:23 [PATCH v5 00/11] Green the msys2 CI make Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 01/11] Revert "configure: add --ninja option" Yonggang Luo
2020-09-05 8:29 ` Thomas Huth
2020-09-05 8:45 ` Mark Cave-Ayland
2020-09-05 8:48 ` Paolo Bonzini
2020-09-05 6:23 ` [PATCH v5 02/11] block: Fixes nfs on msys2/mingw Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 03/11] ci: fixes msys2 build by upgrading capstone to 4.0.2 Yonggang Luo
2020-09-05 11:14 ` Mark Cave-Ayland
2020-09-05 13:22 ` 罗勇刚(Yonggang Luo)
2020-09-05 14:28 ` Peter Maydell
2020-09-05 6:23 ` [PATCH v5 04/11] meson: upgrade meson for execute custom ninjatool under msys2 properly Yonggang Luo
2020-09-05 13:44 ` Paolo Bonzini
2020-09-05 14:21 ` 罗勇刚(Yonggang Luo)
2020-09-05 6:23 ` [PATCH v5 05/11] ci: Enable msys2 ci in cirrus Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 06/11] tests: Trying fixes test-replication.c on msys2 Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 07/11] block: get file-win32.c handle locking option consistence with file-posix.c Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 08/11] osdep: These function are only available on Non-Win32 system Yonggang Luo
2020-09-05 8:33 ` Thomas Huth [this message]
2020-09-07 17:42 ` 罗勇刚(Yonggang Luo)
2020-09-05 6:23 ` [PATCH v5 09/11] meson: Fixes qapi tests Yonggang Luo
2020-09-05 8:42 ` Thomas Huth
2020-09-07 4:20 ` 罗勇刚(Yonggang Luo)
2020-09-05 6:23 ` [PATCH v5 10/11] docker: Add win32/msys2/mingw64 docker Yonggang Luo
2020-09-05 6:23 ` [PATCH v5 11/11] ci: Enable Github actions Yonggang Luo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8d7357bc-518e-e408-bf56-32fcce8bb520@redhat.com \
--to=thuth@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=kwolf@redhat.com \
--cc=luoyonggang@gmail.com \
--cc=pbonzini@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).