qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: marcandre.lureau@redhat.com
To: qemu-devel@nongnu.org
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
	jasowang@redhat.com, mst@redhat.com
Subject: [Qemu-devel] [PATCH 2/5] vhost-user: remove useless is_server field
Date: Tue, 23 Feb 2016 19:10:50 +0100	[thread overview]
Message-ID: <1456251053-25960-3-git-send-email-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <1456251053-25960-1-git-send-email-marcandre.lureau@redhat.com>

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 net/vhost-user.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net/vhost-user.c b/net/vhost-user.c
index 9d2a6fa..eb40387 100644
--- a/net/vhost-user.c
+++ b/net/vhost-user.c
@@ -27,7 +27,6 @@ typedef struct VhostUserState {
 typedef struct VhostUserChardevProps {
     bool is_socket;
     bool is_unix;
-    bool is_server;
 } VhostUserChardevProps;
 
 VHostNetState *vhost_user_get_vhost_net(NetClientState *nc)
@@ -240,7 +239,6 @@ static int net_vhost_chardev_opts(void *opaque,
     } else if (strcmp(name, "path") == 0) {
         props->is_unix = true;
     } else if (strcmp(name, "server") == 0) {
-        props->is_server = true;
     } else {
         error_setg(errp,
                    "vhost-user does not support a chardev with option %s=%s",
-- 
2.5.0

  parent reply	other threads:[~2016-02-23 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 18:10 [Qemu-devel] [PATCH 0/5] vhost-user: fixes from reconnect RFC marcandre.lureau
2016-02-23 18:10 ` [Qemu-devel] [PATCH 1/5] vhost-user: fix use after free marcandre.lureau
2016-02-23 18:10 ` marcandre.lureau [this message]
2016-02-23 18:10 ` [Qemu-devel] [PATCH 3/5] qemu-char: avoid potential double-free marcandre.lureau
2016-02-23 18:10 ` [Qemu-devel] [PATCH 4/5] qemu-char: remove all msgfds on disconnect marcandre.lureau
2016-02-23 18:10 ` [Qemu-devel] [PATCH 5/5] qemu-char: make tcp_chr_disconnect() reentrant-safe marcandre.lureau

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=1456251053-25960-3-git-send-email-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=mst@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).