diff options
author | Jason Wang <jasowang@redhat.com> | 2021-04-02 11:05:20 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2021-04-08 17:33:59 +0800 |
commit | f9bb0c1f9862dc959ba84977620fc8267623463e (patch) | |
tree | e709382573ed7ee7851d8e53cd0e318206b34692 /net/vde.c | |
parent | 22317309df52d165c02a20bddfdd710c8deed583 (diff) | |
download | qemu-f9bb0c1f9862dc959ba84977620fc8267623463e.zip qemu-f9bb0c1f9862dc959ba84977620fc8267623463e.tar.gz qemu-f9bb0c1f9862dc959ba84977620fc8267623463e.tar.bz2 |
Revert "qapi: net: Add query-netdev command"
Several issues has been reported for query-netdev series. Consider
it's late in the rc, this reverts commit
d32ad10a14d46dfe9304e3ed5858a11dcd5c71a0.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/vde.c')
-rw-r--r-- | net/vde.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -84,7 +84,6 @@ static int net_vde_init(NetClientState *peer, const char *model, VDECONN *vde; char *init_group = (char *)group; char *init_sock = (char *)sock; - NetdevVdeOptions *stored; struct vde_open_args args = { .port = port, @@ -109,27 +108,6 @@ static int net_vde_init(NetClientState *peer, const char *model, qemu_set_fd_handler(vde_datafd(s->vde), vde_to_qemu, NULL, s); - /* Store startup parameters */ - nc->stored_config = g_new0(NetdevInfo, 1); - nc->stored_config->type = NET_BACKEND_VDE; - stored = &nc->stored_config->u.vde; - - if (sock) { - stored->has_sock = true; - stored->sock = g_strdup(sock); - } - - stored->has_port = true; - stored->port = port; - - if (group) { - stored->has_group = true; - stored->group = g_strdup(group); - } - - stored->has_mode = true; - stored->mode = mode; - return 0; } |