qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Jason Wang <jasowang@redhat.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PULL 4/6] net: remove the wrong comment in net_init_hubport()
Date: Fri,  6 Feb 2015 14:10:50 +0000	[thread overview]
Message-ID: <1423231852-22075-5-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1423231852-22075-1-git-send-email-stefanha@redhat.com>

From: Jason Wang <jasowang@redhat.com>

Not only nic could be the one to peer.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-id: 1422860798-17495-2-git-send-email-jasowang@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 net/hub.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/hub.c b/net/hub.c
index ef09d5f..2b60ab9 100644
--- a/net/hub.c
+++ b/net/hub.c
@@ -288,7 +288,6 @@ int net_init_hubport(const NetClientOptions *opts, const char *name,
     assert(opts->kind == NET_CLIENT_OPTIONS_KIND_HUBPORT);
     hubport = opts->hubport;
 
-    /* Treat hub port like a backend, NIC must be the one to peer */
     if (peer) {
         return -EINVAL;
     }
-- 
2.1.0

  parent reply	other threads:[~2015-02-06 14:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 14:10 [Qemu-devel] [PULL 0/6] Net patches Stefan Hajnoczi
2015-02-06 14:10 ` [Qemu-devel] [PULL 1/6] MAINTAINERS: add Jason Wang as net subsystem maintainer Stefan Hajnoczi
2015-02-06 14:10 ` [Qemu-devel] [PULL 2/6] rtl8139: simplify timer logic Stefan Hajnoczi
2015-02-06 14:10 ` [Qemu-devel] [PULL 3/6] monitor: print hub port name during info network Stefan Hajnoczi
2015-02-06 14:10 ` Stefan Hajnoczi [this message]
2015-02-06 14:10 ` [Qemu-devel] [PULL 5/6] net: del hub port when peer is deleted Stefan Hajnoczi
2015-02-06 14:10 ` [Qemu-devel] [PULL 6/6] monitor: more accurate completion for host_net_remove() Stefan Hajnoczi
2015-02-06 16:10 ` [Qemu-devel] [PULL 0/6] Net patches Peter Maydell

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=1423231852-22075-5-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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).