This is picked from COLO series, which is to realize the new 'status' property for filter.
With this property, users can control if the filter is enabled or disabled. ChangeLog: v3: - Use 'bool on' instead of member 'char *status' (Jason) - Extract the process of setup timer into a new helper zhanghailiang (2): filter: Add 'status' property for filter object filter-buffer: Add status_changed callback processing include/net/filter.h | 4 ++++ net/filter-buffer.c | 34 ++++++++++++++++++++++++++++------ net/filter.c | 41 +++++++++++++++++++++++++++++++++++++++++ qemu-options.hx | 4 +++- 4 files changed, 76 insertions(+), 7 deletions(-) -- 1.8.3.1