aboutsummaryrefslogtreecommitdiff
path: root/iohandler.c
diff options
context:
space:
mode:
authorzhanghailiang <zhang.zhanghailiang@huawei.com>2016-03-01 13:37:03 +0800
committerJason Wang <jasowang@redhat.com>2016-03-08 15:34:18 +0800
commitf1b2bc601af5037f0af6d55575e619b912e348b5 (patch)
tree7abf1334c4d819bba8c8e3a9ce347394ad0b462d /iohandler.c
parent338d3f415e131673ea51719b0c30edf65f69d806 (diff)
downloadqemu-f1b2bc601af5037f0af6d55575e619b912e348b5.zip
qemu-f1b2bc601af5037f0af6d55575e619b912e348b5.tar.gz
qemu-f1b2bc601af5037f0af6d55575e619b912e348b5.tar.bz2
filter-buffer: Add status_changed callback processing
While the status of filter-buffer changing from 'on' to 'off', it need to release all the buffered packets, and delete the related timer, while switch from 'off' to 'on', it need to resume the release packets timer. Here, we extract the process of setup timer into a new helper, which will be used in the new status_changed callback. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Cc: Jason Wang <jasowang@redhat.com> Cc: Yang Hongyang <hongyang.yang@easystack.cn> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'iohandler.c')
0 files changed, 0 insertions, 0 deletions