mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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
d32ad10a14
.
Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
22317309df
commit
f9bb0c1f98
12 changed files with 9 additions and 477 deletions
|
@ -427,13 +427,6 @@ int net_init_netmap(const Netdev *netdev,
|
|||
pstrcpy(s->ifname, sizeof(s->ifname), netmap_opts->ifname);
|
||||
netmap_read_poll(s, true); /* Initially only poll for reads. */
|
||||
|
||||
/* Store startup parameters */
|
||||
nc->stored_config = g_new0(NetdevInfo, 1);
|
||||
nc->stored_config->type = NET_BACKEND_NETMAP;
|
||||
|
||||
QAPI_CLONE_MEMBERS(NetdevNetmapOptions,
|
||||
&nc->stored_config->u.netmap, netmap_opts);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue