mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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 <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
4a82347a47
commit
6dbe553fe9
9 changed files with 102 additions and 55 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue