From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE9JB-0006sr-2K for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE9J2-00058d-MO for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:47:04 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:49403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE9J2-00056x-35 for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:46:56 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 27 Aug 2013 12:38:20 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id A40142BB0058 for ; Tue, 27 Aug 2013 12:46:51 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r7R2UbUU61931718 for ; Tue, 27 Aug 2013 12:30:38 +1000 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id r7R2ko8m015883 for ; Tue, 27 Aug 2013 12:46:50 +1000 Message-ID: <521C129C.7020308@linux.vnet.ibm.com> Date: Tue, 27 Aug 2013 10:44:44 +0800 From: Wenchao Xia MIME-Version: 1.0 References: <1377486828-10788-1-git-send-email-xiawenc@linux.vnet.ibm.com> In-Reply-To: <1377486828-10788-1-git-send-email-xiawenc@linux.vnet.ibm.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 0/3] qemu-iotests: add test for fd passing via SCM rights List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: pbonzini@redhat.com, lcapitulino@redhat.com, qemu-devel@nongnu.org, anthony@codemonkey.ws, armbru@redhat.com ÓÚ 2013-8-26 11:13, Wenchao Xia дµÀ: > This series add test case for fd passing with unix socket at runtime. Since > getfd and closefd interface will interact with monitor's data, so it will > help to do regression test for monitor patches. Since python2 do not support > sendmsg(), so a C helper program is added to do the job. > > Wenchao Xia (3): > 1 qemu-iotests: add unix socket help program > 2 qemu-iotests: add infrastructure of fd passing via SCM > 3 qemu-iotests: add tests for runtime fd passing via SCM rights > > QMP/qmp.py | 6 ++ > configure | 2 +- > tests/Makefile | 4 +- > tests/qemu-iotests/045 | 37 ++++++++++- > tests/qemu-iotests/045.out | 4 +- > tests/qemu-iotests/check | 1 + > tests/qemu-iotests/iotests.py | 26 +++++++ > tests/qemu-iotests/socket_scm_helper.c | 119 ++++++++++++++++++++++++++++++++ > 8 files changed, 194 insertions(+), 5 deletions(-) > create mode 100644 tests/qemu-iotests/socket_scm_helper.c > > This version have one issue in Makefile, will respin. -- Best Regards Wenchao Xia