From 6dbe553fe9ffdee008c1bbbe1af2d030e0f04aab Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:29 +0200 Subject: slirp: Add info usernet for dumping connection states Break out sockstats from the slirp statistics and present them under the new info category "usernet". This patch also improves the current output /wrt proper reporting connection source and destination. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- monitor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 6b45f6c..47fc9de 100644 --- a/monitor.c +++ b/monitor.c @@ -1735,6 +1735,8 @@ static const mon_cmd_t info_cmds[] = { #if defined(CONFIG_SLIRP) { "slirp", "", do_info_slirp, "", "show SLIRP statistics", }, + { "usernet", "", do_info_usernet, + "", "show user network stack connection states", }, #endif { "migrate", "", do_info_migrate, "", "show migration status" }, { "balloon", "", do_info_balloon, -- cgit v1.1