[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 8/8] xen/9pfs: build and register Xen 9pfs backen
From: |
Stefano Stabellini |
Subject: |
[Qemu-devel] [PATCH v4 8/8] xen/9pfs: build and register Xen 9pfs backend |
Date: |
Mon, 20 Mar 2017 11:19:12 -0700 |
Signed-off-by: Stefano Stabellini <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
CC: address@hidden
CC: address@hidden
CC: Aneesh Kumar K.V <address@hidden>
CC: Greg Kurz <address@hidden>
---
hw/9pfs/Makefile.objs | 1 +
hw/xen/xen_backend.c | 3 +++
include/hw/xen/xen_backend.h | 3 +++
3 files changed, 7 insertions(+)
diff --git a/hw/9pfs/Makefile.objs b/hw/9pfs/Makefile.objs
index da0ae0c..1a89850 100644
--- a/hw/9pfs/Makefile.objs
+++ b/hw/9pfs/Makefile.objs
@@ -5,5 +5,6 @@ common-obj-y += coth.o cofs.o codir.o cofile.o
common-obj-y += coxattr.o 9p-synth.o
common-obj-$(CONFIG_OPEN_BY_HANDLE) += 9p-handle.o
common-obj-y += 9p-proxy.o
+common-obj-$(CONFIG_XEN) += xen-9p-backend.o
obj-y += virtio-9p-device.o
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c
index 6c21c37..fe737e9 100644
--- a/hw/xen/xen_backend.c
+++ b/hw/xen/xen_backend.c
@@ -585,6 +585,9 @@ void xen_be_register_common(void)
xen_be_register("console", &xen_console_ops);
xen_be_register("vkbd", &xen_kbdmouse_ops);
xen_be_register("qdisk", &xen_blkdev_ops);
+#ifdef CONFIG_VIRTFS
+ xen_be_register("9pfs", &xen_9pfs_ops);
+#endif
#ifdef CONFIG_USB_LIBUSB
xen_be_register("qusb", &xen_usb_ops);
#endif
diff --git a/include/hw/xen/xen_backend.h b/include/hw/xen/xen_backend.h
index 4f4799a..7b72f1a 100644
--- a/include/hw/xen/xen_backend.h
+++ b/include/hw/xen/xen_backend.h
@@ -49,6 +49,9 @@ extern struct XenDevOps xen_console_ops; /*
xen_console.c */
extern struct XenDevOps xen_kbdmouse_ops; /* xen_framebuffer.c */
extern struct XenDevOps xen_framebuffer_ops; /* xen_framebuffer.c */
extern struct XenDevOps xen_blkdev_ops; /* xen_disk.c */
+#ifdef CONFIG_VIRTFS
+extern struct XenDevOps xen_9pfs_ops; /* xen-9p-backend.c */
+#endif
extern struct XenDevOps xen_netdev_ops; /* xen_nic.c */
#ifdef CONFIG_USB_LIBUSB
extern struct XenDevOps xen_usb_ops; /* xen-usb.c */
--
1.9.1
- [Qemu-devel] [PATCH v4 0/8] xen/9pfs: introduce the Xen 9pfs backend, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 3/8] xen/9pfs: introduce Xen 9pfs backend, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 2/8] 9p: introduce a type for the 9p header, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 5/8] xen/9pfs: receive requests from the frontend, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 4/8] xen/9pfs: connect to the frontend, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 6/8] xen/9pfs: implement in/out_iov_from_pdu and vmarshal/vunmarshal, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 7/8] xen/9pfs: send responses back to the frontend, Stefano Stabellini, 2017/03/20
- [Qemu-devel] [PATCH v4 8/8] xen/9pfs: build and register Xen 9pfs backend,
Stefano Stabellini <=
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Greg Kurz, 2017/03/23
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Juergen Gross, 2017/03/23
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Paolo Bonzini, 2017/03/23
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Greg Kurz, 2017/03/23
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Stefano Stabellini, 2017/03/23
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Juergen Gross, 2017/03/24
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Stefano Stabellini, 2017/03/24
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Juergen Gross, 2017/03/27
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Stefano Stabellini, 2017/03/27
- Re: [Qemu-devel] [PATCH v4 1/8] xen: import ring.h from xen, Juergen Gross, 2017/03/28