summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/virtio-9p.h
diff options
context:
space:
mode:
authorWei Liu2015-11-25 17:58:20 +0100
committerAneesh Kumar K.V2016-01-08 08:18:11 +0100
commit756cb74a59cfe5a4f5ceb4ac178d99d39cd5f0fe (patch)
tree20aad78dd3844ea9eb601f70a89339bc7aae6a46 /hw/9pfs/virtio-9p.h
parent9pfs: rename virtio-9p-xattr{,-user}.{c,h} to 9p-xattr{,-user}.{c,h} (diff)
downloadqemu-756cb74a59cfe5a4f5ceb4ac178d99d39cd5f0fe.tar.gz
qemu-756cb74a59cfe5a4f5ceb4ac178d99d39cd5f0fe.tar.xz
qemu-756cb74a59cfe5a4f5ceb4ac178d99d39cd5f0fe.zip
9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h
The deleted file only contained V9fsConf which wasn't virtio specific. Merge that to the general header of 9pfs. Fixed header inclusions as I went along. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs/virtio-9p.h')
-rw-r--r--hw/9pfs/virtio-9p.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/9pfs/virtio-9p.h b/hw/9pfs/virtio-9p.h
index d7a4dc1e9a..ac4cb006b3 100644
--- a/hw/9pfs/virtio-9p.h
+++ b/hw/9pfs/virtio-9p.h
@@ -9,7 +9,6 @@
#include <glib.h>
#include "standard-headers/linux/virtio_9p.h"
#include "hw/virtio/virtio.h"
-#include "hw/virtio/virtio-9p.h"
#include "fsdev/file-op-9p.h"
#include "fsdev/virtio-9p-marshal.h"
#include "qemu/thread.h"
@@ -156,6 +155,13 @@ enum {
P9_FID_XATTR,
};
+typedef struct V9fsConf
+{
+ /* tag name for the device */
+ char *tag;
+ char *fsdev_id;
+} V9fsConf;
+
typedef struct V9fsXattr
{
int64_t copied_len;