From af8b38b0d1878950d27156fd350e5457fd8a15a1 Mon Sep 17 00:00:00 2001 From: Greg Kurz Date: Mon, 6 Jun 2016 11:52:34 +0200 Subject: 9p/fsdev: remove obsolete references to virtio Most of the 9p code is now virtio agnostic. This patch does a final cleanup: - drop references to Virtio from the header comments - fix includes Also drop a couple of leading empty lines while here. Signed-off-by: Greg Kurz --- hw/9pfs/9p.h | 2 -- hw/9pfs/codir.c | 3 +-- hw/9pfs/cofile.c | 3 +-- hw/9pfs/cofs.c | 3 +-- hw/9pfs/coth.c | 1 - hw/9pfs/coth.h | 3 ++- hw/9pfs/coxattr.c | 3 +-- 7 files changed, 6 insertions(+), 12 deletions(-) (limited to 'hw/9pfs') diff --git a/hw/9pfs/9p.h b/hw/9pfs/9p.h index 1a19418..4337894 100644 --- a/hw/9pfs/9p.h +++ b/hw/9pfs/9p.h @@ -5,8 +5,6 @@ #include #include #include -#include "standard-headers/linux/virtio_9p.h" -#include "hw/virtio/virtio.h" #include "fsdev/file-op-9p.h" #include "fsdev/9p-iov-marshal.h" #include "qemu/thread.h" diff --git a/hw/9pfs/codir.c b/hw/9pfs/codir.c index 91df7f7..8e3ba17 100644 --- a/hw/9pfs/codir.c +++ b/hw/9pfs/codir.c @@ -1,6 +1,5 @@ - /* - * Virtio 9p backend + * 9p backend * * Copyright IBM, Corp. 2011 * diff --git a/hw/9pfs/cofile.c b/hw/9pfs/cofile.c index 293483e..10343c0 100644 --- a/hw/9pfs/cofile.c +++ b/hw/9pfs/cofile.c @@ -1,6 +1,5 @@ - /* - * Virtio 9p backend + * 9p backend * * Copyright IBM, Corp. 2011 * diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c index 18c81cb..70f584f 100644 --- a/hw/9pfs/cofs.c +++ b/hw/9pfs/cofs.c @@ -1,6 +1,5 @@ - /* - * Virtio 9p backend + * 9p backend * * Copyright IBM, Corp. 2011 * diff --git a/hw/9pfs/coth.c b/hw/9pfs/coth.c index 464293e..9b1151b 100644 --- a/hw/9pfs/coth.c +++ b/hw/9pfs/coth.c @@ -16,7 +16,6 @@ #include "qemu-common.h" #include "block/thread-pool.h" #include "qemu/coroutine.h" -#include "qemu/main-loop.h" #include "coth.h" /* Called from QEMU I/O thread. */ diff --git a/hw/9pfs/coth.h b/hw/9pfs/coth.h index a911cbb..6adc773 100644 --- a/hw/9pfs/coth.h +++ b/hw/9pfs/coth.h @@ -17,7 +17,8 @@ #include "qemu/thread.h" #include "qemu/coroutine.h" -#include "virtio-9p.h" +#include "qemu/main-loop.h" +#include "9p.h" /* * we want to use bottom half because we want to make sure the below diff --git a/hw/9pfs/coxattr.c b/hw/9pfs/coxattr.c index 6ad96ea..133c4ea 100644 --- a/hw/9pfs/coxattr.c +++ b/hw/9pfs/coxattr.c @@ -1,6 +1,5 @@ - /* - * Virtio 9p backend + * 9p backend * * Copyright IBM, Corp. 2011 * -- cgit v1.1