diff options
| author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2016-03-01 13:37:03 +0800 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2016-03-08 15:34:18 +0800 |
| commit | f1b2bc601af5037f0af6d55575e619b912e348b5 (patch) | |
| tree | 7abf1334c4d819bba8c8e3a9ce347394ad0b462d /migration/qemu-file-unix.c | |
| parent | 338d3f415e131673ea51719b0c30edf65f69d806 (diff) | |
| download | focaccia-qemu-f1b2bc601af5037f0af6d55575e619b912e348b5.tar.gz focaccia-qemu-f1b2bc601af5037f0af6d55575e619b912e348b5.zip | |
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 'migration/qemu-file-unix.c')
0 files changed, 0 insertions, 0 deletions