virtio-9p: Add stat and mode related helper functions.
commitbb9e3216bf32032a08a6f48799991f05203fa54b
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 29 Apr 2010 12:14:49 +0000 (29 17:44 +0530)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 May 2010 17:17:38 +0000 (3 12:17 -0500)
tree72d6042a22abbc857f5cdd1daa131fec98b16ac9
parent286d56526e0ab9b7c9f8b487cbb1ccb280aa5a22
virtio-9p: Add stat and mode related helper functions.

Add helpers to obtain file stat and mode details.

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/virtio-9p.c