From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aad0A-00046c-0E for qemu-devel@nongnu.org; Tue, 01 Mar 2016 00:37:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aad08-0003t2-51 for qemu-devel@nongnu.org; Tue, 01 Mar 2016 00:37:41 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:37933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aad07-0003sr-Ol for qemu-devel@nongnu.org; Tue, 01 Mar 2016 00:37:40 -0500 From: zhanghailiang Date: Tue, 1 Mar 2016 13:37:01 +0800 Message-ID: <1456810623-8980-1-git-send-email-zhang.zhanghailiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v3 0/2] Introduce 'status' property for netfilter List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jasowang@redhat.com, zhanghailiang , hongyang.yang@easystack.cn 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