qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH -V3 13/32] virtio-9p: Implement P9_TFLUSH


From: Aneesh Kumar K.V
Subject: [Qemu-devel] [PATCH -V3 13/32] virtio-9p: Implement P9_TFLUSH
Date: Thu, 25 Mar 2010 22:13:21 +0530

From: Anthony Liguori <address@hidden>

Don't do anything special for flush

Signed-off-by: Anthony Liguori <address@hidden>
Signed-off-by: Aneesh Kumar K.V <address@hidden>
---
 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.323.g0d092





reply via email to

[Prev in Thread] Current Thread [Next in Thread]