From patchwork Wed Mar 3 19:01:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [13/17] virtio-9p: Implement P9_TFLUSH From: Anthony Liguori X-Patchwork-Id: 46867 Message-Id: <1267642874-15001-15-git-send-email-aliguori@us.ibm.com> To: qemu-devel@nongnu.org Cc: Anthony Liguori , "Aneesh Kumar K.V" Date: Wed, 3 Mar 2010 13:01:10 -0600 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 50ee82a..72e0339 100644 --- a/hw/virtio-9p.c +++ b/hw/virtio-9p.c @@ -1720,10 +1720,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;