From: Anthony Liguori <aliguori@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: Jason Wang <jasowang@redhat.com>, Bruce Rogers <brogers@suse.com>
Subject: Re: [Qemu-devel] [PATCH 1/2] tap: unbreak -netdev tap,fd=X
Date: Fri, 01 Feb 2013 18:12:19 -0600 [thread overview]
Message-ID: <87txpvr2u4.fsf@codemonkey.ws> (raw)
In-Reply-To: <1359763709-17712-1-git-send-email-aliguori@us.ibm.com>
Please ignore the 1/2 in the subject... a bit past beer time and I got
a little sloppy sending this patch.
Regards,
Anthony Liguori
Anthony Liguori <aliguori@us.ibm.com> writes:
> The multiqueue patch series broke -netdev tap,fd=X which manifests
> as libvirt not being able to start a guest. This was because it
> passed NULL for the netdev name which results in an anonymous netdev
> device regardless of what the user specified.
>
> Cc: Jason Wang <jasowang@redhat.com>
> Cc: Bruce Rogers <brogers@suse.com>
> Reported-by: Bruce Rogers <brogers@suse.com>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> ---
> net/tap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/tap.c b/net/tap.c
> index 1bf7609..48c254e 100644
> --- a/net/tap.c
> +++ b/net/tap.c
> @@ -711,7 +711,7 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
>
> vnet_hdr = tap_probe_vnet_hdr(fd);
>
> - if (net_init_tap_one(tap, peer, "tap", NULL, NULL,
> + if (net_init_tap_one(tap, peer, "tap", name, NULL,
> script, downscript,
> vhostfdname, vnet_hdr, fd)) {
> return -1;
> --
> 1.8.0
prev parent reply other threads:[~2013-02-02 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-02 0:08 [Qemu-devel] [PATCH 1/2] tap: unbreak -netdev tap,fd=X Anthony Liguori
2013-02-02 0:12 ` Anthony Liguori [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=87txpvr2u4.fsf@codemonkey.ws \
--to=aliguori@us.ibm.com \
--cc=brogers@suse.com \
--cc=jasowang@redhat.com \
--cc=qemu-devel@nongnu.org \
/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).