]> git.proxmox.com Git - mirror_qemu.git/commitdiff
9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h
authorWei Liu <wei.liu2@citrix.com>
Wed, 25 Nov 2015 16:58:20 +0000 (16:58 +0000)
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 8 Jan 2016 07:18:11 +0000 (12:48 +0530)
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>
hw/9pfs/virtio-9p-device.c
hw/9pfs/virtio-9p.h
hw/virtio/virtio-pci.h
include/hw/virtio/virtio-9p.h [deleted file]

index 92ac19b24b834432ef7d06608bc2dfebf140da6d..885b94068355f923dfe51f9e4d30e50cab7e7dbc 100644 (file)
@@ -12,7 +12,6 @@
  */
 
 #include "hw/virtio/virtio.h"
-#include "hw/virtio/virtio-9p.h"
 #include "hw/i386/pc.h"
 #include "qemu/sockets.h"
 #include "virtio-9p.h"
index d7a4dc1e9ad73e733b6114aa27cd4b55d52472b7..ac4cb006b30e7dbaee212bae62b82471895c5f38 100644 (file)
@@ -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;
index a104ff20729b139e8dc3dc2dc0e6fb8b9ef67a9b..7cf597461b94b2d888b1f8c43ca8b2711328a6b4 100644 (file)
@@ -23,7 +23,6 @@
 #include "hw/virtio/virtio-scsi.h"
 #include "hw/virtio/virtio-balloon.h"
 #include "hw/virtio/virtio-bus.h"
-#include "hw/virtio/virtio-9p.h"
 #include "hw/virtio/virtio-input.h"
 #include "hw/virtio/virtio-gpu.h"
 #ifdef CONFIG_VIRTFS
diff --git a/include/hw/virtio/virtio-9p.h b/include/hw/virtio/virtio-9p.h
deleted file mode 100644 (file)
index 65789db..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Virtio 9p
- *
- * Copyright IBM, Corp. 2010
- *
- * Authors:
- *  Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2.  See
- * the COPYING file in the top-level directory.
- *
- */
-
-#ifndef QEMU_VIRTIO_9P_DEVICE_H
-#define QEMU_VIRTIO_9P_DEVICE_H
-
-typedef struct V9fsConf
-{
-    /* tag name for the device */
-    char *tag;
-    char *fsdev_id;
-} V9fsConf;
-
-#endif