summaryrefslogtreecommitdiff
path: root/hw/9pfs
diff options
context:
space:
mode:
authorGreg Kurz <gkurz@linux.vnet.ibm.com>2016-06-06 11:52:34 +0200
committerGreg Kurz <gkurz@linux.vnet.ibm.com>2016-06-06 11:52:34 +0200
commitaae91ad9ae0677395366ff1f7a3e8763fd8470f2 (patch)
tree385d06ff92e09d1dbc056627eeb3c70f5e20225d /hw/9pfs
parentde5dca1b792ada25c29a95c8f84e01f4300aef9c (diff)
downloadqemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.tar.gz
qemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.tar.bz2
qemu-aae91ad9ae0677395366ff1f7a3e8763fd8470f2.zip
9p: some more cleanup in #include directives
The "9p-attr.h" header isn't needed by 9p synth and virtio 9p. While here, also drop last references to virtio from 9p synth since it is now transport agnostic code. Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Diffstat (limited to 'hw/9pfs')
-rw-r--r--hw/9pfs/9p-synth.c4
-rw-r--r--hw/9pfs/virtio-9p-device.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
index f1475dfd6d..8e504130d9 100644
--- a/hw/9pfs/9p-synth.c
+++ b/hw/9pfs/9p-synth.c
@@ -1,5 +1,5 @@
/*
- * Virtio 9p synthetic file system support
+ * 9p synthetic file system support
*
* Copyright IBM, Corp. 2011
*
@@ -13,9 +13,7 @@
*/
#include "qemu/osdep.h"
-#include "hw/virtio/virtio.h"
#include "9p.h"
-#include "9p-xattr.h"
#include "fsdev/qemu-fsdev.h"
#include "9p-synth.h"
#include "qemu/rcu.h"
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c
index a38850ee89..74a3ccbcd1 100644
--- a/hw/9pfs/virtio-9p-device.c
+++ b/hw/9pfs/virtio-9p-device.c
@@ -17,7 +17,6 @@
#include "qemu/sockets.h"
#include "virtio-9p.h"
#include "fsdev/qemu-fsdev.h"
-#include "9p-xattr.h"
#include "coth.h"
#include "hw/virtio/virtio-access.h"
#include "qemu/iov.h"