[PATCH -V3] tools/kvm/9p: Add encode/decode routines for protocol data

2011-06-27 Thread Aneesh Kumar K.V
The protocol data is in little-endian format. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- tools/kvm/Makefile|1 + tools/kvm/include/kvm/virtio-9p.h | 80 ++- tools/kvm/virtio/9p-pdu.c | 239 ++ tools/kvm/virtio/9p.c

Re: [PATCH -V3] tools/kvm/9p: Add encode/decode routines for protocol data

2011-06-27 Thread Sasha Levin
On Mon, 2011-06-27 at 15:57 +0530, Aneesh Kumar K.V wrote: The protocol data is in little-endian format. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com What about the suggestion regarding using a pipe in the pdu read/write functions? --- tools/kvm/Makefile