From: Laurent Vivier <laurent@vivier.eu>
To: Richard Henderson <richard.henderson@linaro.org>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, Shu-Chun Weng <scw@google.com>,
Josh Kunz <jkz@google.com>
Subject: Re: [PATCH, BUILD-FIX] linux-user: Conditionalize TUNSETVNETLE
Date: Tue, 5 Jan 2021 10:59:07 +0100 [thread overview]
Message-ID: <db974bf1-0592-fb46-ef09-0de28a96c948@vivier.eu> (raw)
In-Reply-To: <20210104234415.405521-1-richard.henderson@linaro.org>
Le 05/01/2021 à 00:44, Richard Henderson a écrit :
> This fixes the build for older ppc64 kernel headers.
>
> Fixes: 6addf06a3c4
> Cc: Josh Kunz <jkz@google.com>
> Cc: Shu-Chun Weng <scw@google.com>
> Cc: Laurent Vivier <laurent@vivier.eu>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> linux-user/ioctls.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
> index 661b5daa9f..7193c3b226 100644
> --- a/linux-user/ioctls.h
> +++ b/linux-user/ioctls.h
> @@ -748,8 +748,10 @@
> IOCTL(TUNSETQUEUE, IOC_W, MK_PTR(MK_STRUCT(STRUCT_short_ifreq)))
> IOCTL(TUNSETIFINDEX , IOC_W, MK_PTR(TYPE_INT))
> /* TUNGETFILTER is not supported: see TUNATTACHFILTER. */
> +#ifdef TUNSETVNETLE
> IOCTL(TUNSETVNETLE, IOC_W, MK_PTR(TYPE_INT))
> IOCTL(TUNGETVNETLE, IOC_R, MK_PTR(TYPE_INT))
> +#endif
> #ifdef TUNSETVNETBE
> IOCTL(TUNSETVNETBE, IOC_W, MK_PTR(TYPE_INT))
> IOCTL(TUNGETVNETBE, IOC_R, MK_PTR(TYPE_INT))
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
prev parent reply other threads:[~2021-01-05 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-04 23:44 [PATCH, BUILD-FIX] linux-user: Conditionalize TUNSETVNETLE Richard Henderson
2021-01-05 8:35 ` Philippe Mathieu-Daudé
2021-01-05 9:59 ` Laurent Vivier [this message]
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=db974bf1-0592-fb46-ef09-0de28a96c948@vivier.eu \
--to=laurent@vivier.eu \
--cc=jkz@google.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=scw@google.com \
/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).