From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrSt6-0002FJ-Is for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:16:32 -0400 Received: from [199.232.76.173] (port=57586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrSt6-0002Ec-1K for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:16:32 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NrSt5-0002KD-2A for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:16:31 -0400 Received: from mx20.gnu.org ([199.232.41.8]:47231) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NrSt4-0002FD-Mn for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:16:30 -0400 Received: from e23smtp07.au.ibm.com ([202.81.31.140]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NrSsd-0001Y6-LJ for qemu-devel@nongnu.org; Tue, 16 Mar 2010 05:16:04 -0400 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [202.81.31.246]) by e23smtp07.au.ibm.com (8.14.3/8.13.1) with ESMTP id o2G9FtoW009788 for ; Tue, 16 Mar 2010 20:15:55 +1100 Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o2G9A5LG1585274 for ; Tue, 16 Mar 2010 20:10:05 +1100 Received: from d23av02.au.ibm.com (loopback [127.0.0.1]) by d23av02.au.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id o2G9FsAw006730 for ; Tue, 16 Mar 2010 20:15:55 +1100 From: "Aneesh Kumar K.V" Date: Tue, 16 Mar 2010 14:45:11 +0530 Message-Id: <1268730920-14584-14-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1268730920-14584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> References: <1268730920-14584-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH -v2 13/22] virtio-9p: Implement P9_TFLUSH List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ericvh@gmail.com, aliguori@us.ibm.com, "Aneesh Kumar K.V" From: Anthony Liguori Don't do anything special for flush Signed-off-by: Anthony Liguori Signed-off-by: Aneesh Kumar K.V --- hw/virtio-9p.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/virtio-9p.c b/hw/virtio-9p.c index 4478e57..1dbb982 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -1717,10 +1717,11 @@ out: static void v9fs_flush(V9fsState *s, V9fsPDU *pdu) { - if (debug_9p_pdu) - pprint_pdu(pdu); + /* A nop call with no return */ + complete_pdu(s, pdu, 7); } + typedef struct V9fsRemoveState { V9fsPDU *pdu; size_t offset; -- 1.7.0.2.273.gc2413