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/tap-win32.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/tap-win32.c')
-rw-r--r-- | net/tap-win32.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/tap-win32.c b/net/tap-win32.c index 2a2ba4f..fb92b55 100644 --- a/net/tap-win32.c +++ b/net/tap-win32.c @@ -778,7 +778,6 @@ static int tap_win32_init(NetClientState *peer, const char *model, NetClientState *nc; TAPState *s; tap_win32_overlapped_t *handle; - NetdevTapOptions *stored; if (tap_win32_open(&handle, ifname) < 0) { printf("tap: Could not open '%s'\n", ifname); @@ -789,14 +788,6 @@ static int tap_win32_init(NetClientState *peer, const char *model, s = DO_UPCAST(TAPState, nc, nc); - /* Store startup parameters */ - nc->stored_config = g_new0(NetdevInfo, 1); - nc->stored_config->type = NET_BACKEND_TAP; - stored = &nc->stored_config->u.tap; - - stored->has_ifname = true; - stored->ifname = g_strdup(ifname); - snprintf(s->nc.info_str, sizeof(s->nc.info_str), "tap: ifname=%s", ifname); |