Skip to content

Commit

Permalink
9pfs: merge hw/virtio/virtio-9p.h into hw/9pfs/virtio-9p.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Liu authored and kvaneesh committed Jan 8, 2016
1 parent 267ae09 commit 756cb74
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 27 deletions.
1 change: 0 additions & 1 deletion hw/9pfs/virtio-9p-device.c
Expand Up @@ -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"
Expand Down
8 changes: 7 additions & 1 deletion hw/9pfs/virtio-9p.h
Expand Up @@ -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"
Expand Down Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion hw/virtio/virtio-pci.h
Expand Up @@ -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
Expand Down
24 changes: 0 additions & 24 deletions include/hw/virtio/virtio-9p.h

This file was deleted.

0 comments on commit 756cb74

Please sign in to comment.