Re: [PATCH 1/2] qapi: net: Add query-netdevs command

2019-11-13 Thread Eric Blake
On 11/13/19 3:25 PM, Alexey Kirillov wrote: Add a qmp command that provides information about currently attached network devices and their configuration. Signed-off-by: Alexey Kirillov --- +++ b/qapi/net.json @@ -754,3 +754,88 @@ ## { 'event': 'FAILOVER_NEGOTIATED', 'data':

[PATCH 1/2] qapi: net: Add query-netdevs command

2019-11-13 Thread Alexey Kirillov
Add a qmp command that provides information about currently attached network devices and their configuration. Signed-off-by: Alexey Kirillov --- include/net/net.h | 1 + net/hub.c | 8 +++ net/l2tpv3.c | 19 +++ net/net.c | 80 +