virtio-9p: Add P9_TREMOVE support.
commit5bae190082fc24d8881e5db9409fc94f6c46f219
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 29 Apr 2010 12:15:01 +0000 (29 17:45 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 17:17:39 +0000 (3 12:17 -0500)
treeb3b4d0bbd3939e2fc3753b1620d46abc1c9232d7
parent8cf89e007a37fff75c06e5a4564d530e51c1ec98
virtio-9p: Add P9_TREMOVE support.

Implement P9_TREMOVE support.
This gets file deletion to work.

[mohan@in.ibm.com: Fix truncate to use the relative path]

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/file-op-9p.h
hw/virtio-9p-local.c
hw/virtio-9p.c