]> git.proxmox.com Git - mirror_qemu.git/commit - net/dump.c
net/dump: Rework net-dump init functions
authorThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2015 10:39:59 +0000 (12:39 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 27 Oct 2015 02:30:32 +0000 (10:30 +0800)
commit7bc3074c27bb1eae7c8ccacd920ba55454381786
tree2c51b2116f69bb21184cca5b49aede4ea385cc41
parent43192fcc1ac0a61cf9e20a9034eae8d1e91f35c8
net/dump: Rework net-dump init functions

Move the creation of the dump client from net_dump_init() into
net_init_dump(), so we can later use the former function for
dump via netfilter, too. Also rename net_dump_init() to
net_dump_state_init() to make it easier distinguishable from
net_init_dump().

Reviewed-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/dump.c