v6: Rename QAPI enum: TCPS -> UsernetTcpState. [Daniel] v5: Fix QAPI example in comments. [Eric] v4: vlan -> hub. [Samuel] Free 'info. [Samuel]
v3: - Add Eric's rev-by to patch 2. - Address Eric's comments on patch 1: * Fix spell/grammar: "programmed", "awaiting". * Fix include "qapi/qapi-commands-net.h". * Underscores to dashes. * "Since 2.13" now. v2: Fix compiler error. [patchew] The command is a counterpart of HMP "info usernet" and is at least very useful for the VM tests. So add it. Fam Zheng (4): qapi: Introduce UsernetTcpState slirp: Use QAPI enum to replace TCPS_* macros slirp: Add "query-usernet" QMP command tests: Use query-usernet instead of 'info usernet' net/slirp.c | 26 +++++++ qapi/net.json | 214 +++++++++++++++++++++++++++++++++++++++++++++++++++++ slirp/libslirp.h | 2 + slirp/misc.c | 159 ++++++++++++++++++++++++++++----------- slirp/tcp.h | 21 +----- slirp/tcp_input.c | 103 +++++++++++++------------- slirp/tcp_subr.c | 25 ++++--- slirp/tcp_timer.c | 7 +- tests/vm/basevm.py | 14 ++-- 9 files changed, 435 insertions(+), 136 deletions(-) -- 2.14.3