From patchwork Thu Mar 25 16:43:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [-V3,13/32] virtio-9p: Implement P9_TFLUSH Date: Thu, 25 Mar 2010 06:43:21 -0000 From: Aneesh Kumar K.V X-Patchwork-Id: 48567 Message-Id: <1269535420-31206-14-git-send-email-aneesh.kumar@linux.vnet.ibm.com> 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;