From: Michael Tokarev <mjt@tls.msk.ru>
To: arei.gonglei@huawei.com, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, peter.huangpeng@huawei.com, stefanha@redhat.com
Subject: Re: [Qemu-trivial] [PATCH] tap_int.h: remove repeating macroinstruction
Date: Sat, 01 Nov 2014 21:10:07 +0300 [thread overview]
Message-ID: <545521FF.8070603@msgid.tls.msk.ru> (raw)
In-Reply-To: <1414724010-1756-1-git-send-email-arei.gonglei@huawei.com>
31.10.2014 05:53, arei.gonglei@huawei.com wrote:
> From: Gonglei <arei.gonglei@huawei.com>
>
> DEFAULT_NETWORK_SCRIPT and DEFAULT_NETWORK_DOWN_SCRIPT
> have been defined in net/net.h included in
> tap.c, which is the only C file that using those two macro.
> Let's remove the repeating macroinstruction.
>
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> ---
> net/tap_int.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/net/tap_int.h b/net/tap_int.h
> index 86bb224..79afdf2 100644
> --- a/net/tap_int.h
> +++ b/net/tap_int.h
> @@ -29,9 +29,6 @@
> #include "qemu-common.h"
> #include "qapi-types.h"
>
> -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
> -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
> -
> int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
> int vnet_hdr_required, int mq_required);
Hmm. We had this change in debian qemu-kvm for many years
(at least since 2008), here:
http://anonscm.debian.org/cgit/collab-maint/qemu-kvm.git/tree/debian/patches/04_use_etc_kvm_kvm-ifup.patch
I always thought it is some mis-merge of kvm to qemu.
So, ofcourse, applying to -trivial, thank you for getting
rid of it finally, because I really forgot about it...
/mjt
WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: arei.gonglei@huawei.com, qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, peter.huangpeng@huawei.com, stefanha@redhat.com
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] tap_int.h: remove repeating macroinstruction
Date: Sat, 01 Nov 2014 21:10:07 +0300 [thread overview]
Message-ID: <545521FF.8070603@msgid.tls.msk.ru> (raw)
In-Reply-To: <1414724010-1756-1-git-send-email-arei.gonglei@huawei.com>
31.10.2014 05:53, arei.gonglei@huawei.com wrote:
> From: Gonglei <arei.gonglei@huawei.com>
>
> DEFAULT_NETWORK_SCRIPT and DEFAULT_NETWORK_DOWN_SCRIPT
> have been defined in net/net.h included in
> tap.c, which is the only C file that using those two macro.
> Let's remove the repeating macroinstruction.
>
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> ---
> net/tap_int.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/net/tap_int.h b/net/tap_int.h
> index 86bb224..79afdf2 100644
> --- a/net/tap_int.h
> +++ b/net/tap_int.h
> @@ -29,9 +29,6 @@
> #include "qemu-common.h"
> #include "qapi-types.h"
>
> -#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup"
> -#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown"
> -
> int tap_open(char *ifname, int ifname_size, int *vnet_hdr,
> int vnet_hdr_required, int mq_required);
Hmm. We had this change in debian qemu-kvm for many years
(at least since 2008), here:
http://anonscm.debian.org/cgit/collab-maint/qemu-kvm.git/tree/debian/patches/04_use_etc_kvm_kvm-ifup.patch
I always thought it is some mis-merge of kvm to qemu.
So, ofcourse, applying to -trivial, thank you for getting
rid of it finally, because I really forgot about it...
/mjt
next prev parent reply other threads:[~2014-11-01 18:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-31 2:53 [Qemu-trivial] [PATCH] tap_int.h: remove repeating macroinstruction arei.gonglei
2014-10-31 2:53 ` [Qemu-devel] " arei.gonglei
2014-11-01 18:10 ` Michael Tokarev [this message]
2014-11-01 18:10 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2014-11-01 18:10 ` Michael Tokarev
2014-11-01 18:10 ` [Qemu-devel] " Michael Tokarev
2014-11-02 4:56 ` Michael Tokarev
2014-11-02 4:56 ` [Qemu-devel] " Michael Tokarev
2014-11-02 5:01 ` Gonglei
2014-11-02 5:01 ` [Qemu-devel] " Gonglei
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=545521FF.8070603@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=arei.gonglei@huawei.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=stefanha@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.