9p: some more cleanup in #include directives
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Mon, 6 Jun 2016 09:52:34 +0000 (11:52 +0200)
committerGreg Kurz <gkurz@linux.vnet.ibm.com>
Mon, 6 Jun 2016 09:52:34 +0000 (11:52 +0200)
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>
hw/9pfs/9p-synth.c
hw/9pfs/virtio-9p-device.c

index f1475dfd6def3c5f57379ce75691fd1e370f843e..8e504130d94b42374cd21d1e7cdf8d2a9df2eea2 100644 (file)
@@ -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"
index a38850ee89dad867cfe5b2e7dddde04bf65f4acb..74a3ccbcd1c555babd41e7063d0ba2f6b84722d9 100644 (file)
@@ -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"