libxl/xl: add support for Xen 9pfs
PATCH 1/1 libxl/xl: add support for Xen 9pfs
Add functions to libxl to setup a Xen 9pfs frontend/backend connection. Add support to xl to parse a xen_9pfs option in the VM config file, in the following format:
xen_9pfs=["tag=share_dir,security_model=none,path=/path/share_dir"]
where tag identifies the 9p share and it is required to mount it on the guest side, path is the path of the filesystem to share and the only security_model supported is "none" which means that files are stored using the same credentials as they are created on the guest (no user ownership squash or remap).
--- docs/man/xl.cfg.pod.5.in | 31 +++++++++++++ tools/libxl/Makefile | 2 +- tools/libxl/libxl.h | 10 +++++ tools/libxl/libxl_9pfs.c | 87 ++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_create.c | 3 ++ tools/libxl/libxl_internal.h | 6 +++ tools/libxl/libxl_types.idl | 10 +++++ tools/libxl/libxl_types_internal.idl | 1 + tools/xl/xl_parse.c | 55 ++++++++++++++++++++++- 9 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 tools/libxl/libxl_9pfs.c
docs/man/xl.cfg.pod.5.in +31 -0
@@ -516,6 +516,37 @@ value is optional if this is a guest domain. =back +=item B<xen_9pfs=[ "XEN_9PFS_SPEC_STRING", "XEN_9PFS_SPEC_STRING", ...]> + +Creates a Xen 9pfs connection to share a filesystem from backend to +frontend. + +Each B<XEN_9PFS_SPEC_STRING> is a comma-separated list of C<KEY=VALUE> +settings, from the following list: + +=over 4 + +=item C<tag=STRING> + +9pfs tag to identify the filesystem share. The tag is needed on the +guest side to mount it. + +=item C<security_model="none"> + +Only "none" is supported today, which means that files are stored using +the same credentials as they are created on the guest (no user ownership +squash or remap). + +=item C<path=STRING> + +Filesystem path on the backend to export. + +=item C<backend=DOMAIN> + +Specify the backend domain name or id, defaults to dom0. + +=back + =item B<vfb=[ "VFB_SPEC_STRING", "VFB_SPEC_STRING", ...]> Specifies the paravirtual framebuffer devices which should be supplied
tools/libxl/Makefile +1 -1
@@ -138,7 +138,7 @@ LIBXL_OBJS = flexarray.o libxl.o libxl_create.o libxl_dm.o libxl_pci.o \ libxl_dom_suspend.o libxl_dom_save.o libxl_usb.o \ libxl_vtpm.o libxl_nic.o libxl_disk.o libxl_console.o \ libxl_cpupool.o libxl_mem.o libxl_sched.o libxl_tmem.o \ - libxl_domain.o \ + libxl_9pfs.o libxl_domain.o \ $(LIBXL_OBJS-y) LIBXL_OBJS += libxl_genid.o LIBXL_OBJS += _libxl_types.o libxl_flask.o _libxl_types_internal.o
tools/libxl/libxl.h +10 -0
@@ -1859,6 +1859,16 @@ int libxl_device_vfb_destroy(libxl_ctx *ctx, uint32_t domid, const libxl_asyncop_how *ao_how)LIBXL_EXTERNAL_CALLERS_ONLY ; +/* 9pfs */ +int libxl_device_xen_9pfs_remove(libxl_ctx *ctx, uint32_t domid, + libxl_device_xen_9pfs *xen_9pfs, + const libxl_asyncop_how *ao_how) + LIBXL_EXTERNAL_CALLERS_ONLY; +int libxl_device_xen_9pfs_destroy(libxl_ctx *ctx, uint32_t domid, + libxl_device_xen_9pfs *xen_9pfs, + const libxl_asyncop_how *ao_how) + LIBXL_EXTERNAL_CALLERS_ONLY; +/* PCI Passthrough */ int libxl_device_pci_add(libxl_ctx *ctx, uint32_t domid, libxl_device_pci *pcidev,
tools/libxl/libxl_9pfs.c new file +87 -0
87 lines not on this page · raw message
tools/libxl/libxl_create.c +3 -0
@@ -1332,6 +1332,9 @@ static void domcreate_launch_dm(libxl__egc *egc, libxl__multidev *multidev,libxl__device_console_dispose (&console); } +for (i =0 ; i < d_config->num_xen_9pfs; i++) +libxl__device_xen_9pfs_add (gc, domid, &d_config->xen_9pfs[i]); +switch (d_config->c_info.type) {case LIBXL_DOMAIN_TYPE_HVM : {
tools/libxl/libxl_internal.h +6 -0
@@ -1248,6 +1248,8 @@ _hidden int libxl__device_vkb_setdefault(libxl__gc *gc, libxl_device_vkb *vkb); _hidden int libxl__device_pci_setdefault(libxl__gc *gc, libxl_device_pci *pci); _hidden void libxl__rdm_setdefault(libxl__gc *gc,libxl_domain_build_info *b_info); +_hidden int libxl__device_xen_9pfs_setdefault(libxl__gc *gc, +libxl_device_xen_9pfs *xen_9pfs); _hidden const char *libxl__device_nic_devname(libxl__gc *gc, uint32_t domid,
@@ -2662,6 +2664,10 @@ _hidden int libxl__device_vkb_add(libxl__gc *gc, uint32_t domid, _hidden int libxl__device_vfb_add(libxl__gc *gc, uint32_t domid,libxl_device_vfb *vfb); +/* Internal function to connect a xen_9pfs device */ +_hidden int libxl__device_xen_9pfs_add(libxl__gc *gc, uint32_t domid, +libxl_device_xen_9pfs *xen_9pfs); +/* Waits for the passed device to reach state XenbusStateInitWait. * This is not really useful by itself, but is important when executing * hotplug scripts, since we need to be sure the device is in the correct
tools/libxl/libxl_types.idl +10 -0
@@ -692,6 +692,15 @@ libxl_device_vtpm = Struct("device_vtpm", [ ("uuid", libxl_uuid), ]) +libxl_device_xen_9pfs = Struct("device_xen_9pfs", [ + ("backend_domid", libxl_domid), + ("backend_domname", string), + ("tag", string), + ("path", string), + ("security_model", string), + ("devid", libxl_devid), +]) + libxl_device_channel = Struct("device_channel", [ ("backend_domid", libxl_domid), ("backend_domname", string),
@@ -716,6 +725,7 @@ libxl_domain_config = Struct("domain_config", [ ("vfbs", Array(libxl_device_vfb, "num_vfbs")), ("vkbs", Array(libxl_device_vkb, "num_vkbs")), ("vtpms", Array(libxl_device_vtpm, "num_vtpms")), + ("xen_9pfs", Array(libxl_device_xen_9pfs, "num_xen_9pfs")), # a channel manifests as a console with a name, # see docs/misc/channels.txt ("channels", Array(libxl_device_channel, "num_channels")),
tools/libxl/libxl_types_internal.idl +1 -0
@@ -25,6 +25,7 @@ libxl__device_kind = Enumeration("device_kind", [ (8, "VTPM"), (9, "VUSB"), (10, "QUSB"), + (11, "9PFS"), ]) libxl__console_backend = Enumeration("console_backend", [
tools/xl/xl_parse.c +54 -1
67 lines not on this page · raw message
Signature · 7 lines
1.9.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 11 lines · Stefano Stabellini
Add functions to libxl to setup a Xen 9pfs frontend/backend connection. Add support to xl to parse a
xen_9pfsoption in the VM config file, in the following format:xen_9pfs=["tag=share_dir,security_model=none,path=/path/share_dir"]
where tag identifies the 9p share and it is required to mount it on the guest side, path is the path of the filesystem to share and the only
security_modelsupported is "none" which means that files are stored using the same credentials as they are created on the guest (no user ownership squash or remap).
FYI, similar libvirt config:
<filesystem type='mount' accessmode='passthrough'>
<source dir='/path/share_dir'/>
<target dir='/share_dir'/></filesystem>
So security_model == accessmode. The docs for accessmode:
-----
The filesystem block has an optional attribute accessmode which specifies the security mode for accessing the source (since 0.8.5). Currently this only works with type='mount' for the QEMU/KVM driver. The possible values are:
passthrough
The source is accessed with the permissions of the user inside the guest. This is the default accessmode if one is not specified.
mapped
The source is accessed with the permissions of the hypervisor (QEMU process).
squash
Similar to 'passthrough', the exception is that failure of privileged operations like 'chown' are ignored. This makes a passthrough-like mode usable for people who run the hypervisor as non-root.
-----
Regards,
Jim
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 17 lines · Stefano Stabellini
docs/man/xl.cfg.pod.5.in | 31 +++++++++++++ tools/libxl/Makefile | 2 +- tools/libxl/libxl.h | 10 +++++ tools/libxl/libxl_9pfs.c | 87 ++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_create.c | 3 ++ tools/libxl/libxl_internal.h | 6 +++ tools/libxl/libxl_types.idl | 10 +++++ tools/libxl/libxl_types_internal.idl | 1 + tools/xl/xl_parse.c | 55 ++++++++++++++++++++++- 9 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 tools/libxl/libxl_9pfs.cdocs/man/xl.cfg.pod.5.in +0
-0
docs/man/xl.cfg.pod.5.in value is optional if this is a guest domain. · line 520
Quoted 5 lines
docs/man/xl.cfg.pod.5.in +2
-0@@ -516,6 +516,37 @@ value is optional if this is a guest domain. =back +=item B<xen_9pfs=[ "XEN_9PFS_SPEC_STRING", "XEN_9PFS_SPEC_STRING", ...]> +
Let me guess, the reason for xen_ prefix is 9pfs isn't really a valid identifier in C.
Can we get rid of the xen_ prefix by naming everything p9* ? I think that's how QEMU does it.
Quoted 9 lines
docs/man/xl.cfg.pod.5.in +9
-0+Creates a Xen 9pfs connection to share a filesystem from backend to +frontend. + +Each B<XEN_9PFS_SPEC_STRING> is a comma-separated list of C<KEY=VALUE> +settings, from the following list: + +=over 4 + +=item C<tag=STRING>
docs/man/xl.cfg.pod.5.in value is optional if this is a guest domain. · line 539
Quoted 10 lines
docs/man/xl.cfg.pod.5.in +10
-0+ +9pfs tag to identify the filesystem share. The tag is needed on the +guest side to mount it. + +=item C<security_model="none"> + +Only "none" is supported today, which means that files are stored using +the same credentials as they are created on the guest (no user ownership +squash or remap). +
What is the difficulty for supporting other modes as well?
I think it is just passing through the string to QEMU, right?
Quoted 12 lines
docs/man/xl.cfg.pod.5.in +10
-0+=item C<path=STRING> + +Filesystem path on the backend to export. + +=item C<backend=DOMAIN> + +Specify the backend domain name or id, defaults to dom0. + +=back + =item B<vfb=[ "VFB_SPEC_STRING", "VFB_SPEC_STRING", ...]>
[...]
Quoted 20 lines
tools/libxl/libxl_9pfs.c new file +14
-0@@ -0,0 +1,87 @@ +/* +* Copyright (C) 2017 Aporeto +* Author Stefano Stabellini <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation; version 2.1 only. with the special +* exception on linking described in file LICENSE. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +*/
tools/libxl/libxl_9pfs.c line 24
Quoted 10 lines
tools/libxl/libxl_9pfs.c new file +10
-0+ +#include "libxl_osdeps.h" + +#include "libxl_internal.h" + +int libxl__device_xen_9pfs_setdefault (libxl__gc *gc,libxl_device_xen_9pfs *xen_9pfs) +{ +int rc; + + rc =libxl__resolve_domid (gc, xen_9pfs->backend_domname, &xen_9pfs->backend_domid);
These lines are too long.
Quoted 10 lines
tools/libxl/libxl_9pfs.c new file +10
-0+return rc; +} + +static int libxl__device_from_xen_9pfs (libxl__gc *gc,uint32_t domid, +libxl_device_xen_9pfs *xen_9pfs, +libxl__device *device) +{ + device->backend_devid = xen_9pfs->devid; + device->backend_domid = xen_9pfs->backend_domid; + device->backend_kind =LIBXL__DEVICE_KIND_9PFS ;
tools/libxl/libxl_9pfs.c line 44
Quoted 10 lines
tools/libxl/libxl_9pfs.c new file +10
-0+ device->devid = xen_9pfs->devid; + device->domid = domid; + device->kind =LIBXL__DEVICE_KIND_9PFS ; + +return 0 ; +} + + +int libxl__device_xen_9pfs_add (libxl__gc *gc,uint32_t domid, +libxl_device_xen_9pfs *xen_9pfs)
Indentation.
Quoted 43 lines
tools/libxl/libxl_9pfs.c new file +43
-0+{ +flexarray_t *front; +flexarray_t *back; +libxl__device device; +int rc; + + rc =libxl__device_xen_9pfs_setdefault (gc, xen_9pfs); +if (rc) goto out; + + front =flexarray_make (gc,16 ,1 ); + back =flexarray_make (gc,16 ,1 ); + +if (xen_9pfs->devid ==-1 ) { +if ((xen_9pfs->devid =libxl__device_nextid (gc, domid,"9pfs" )) <0 ) { + rc =ERROR_FAIL ; + goto out; + } + } + + rc =libxl__device_from_xen_9pfs (gc, domid, xen_9pfs, &device); +if (rc !=0 ) goto out; + +flexarray_append_pair (back,"frontend-id" ,libxl__sprintf (gc,"%d" , domid)); +flexarray_append_pair (back,"online" ,"1" ); +flexarray_append_pair (back,"state" ,GCSPRINTF ("%d" , XenbusStateInitialising)); +flexarray_append_pair (front,"backend-id" , +libxl__sprintf (gc,"%d" , xen_9pfs->backend_domid)); +flexarray_append_pair (front,"state" ,GCSPRINTF ("%d" , XenbusStateInitialising)); +flexarray_append_pair (front,"tag" , xen_9pfs->tag); +flexarray_append_pair (back,"path" , xen_9pfs->path); +flexarray_append_pair (back,"security_model" , xen_9pfs->security_model); + +libxl__device_generic_add (gc,XBT_NULL , &device, +libxl__xs_kvs_of_flexarray (gc, back), +libxl__xs_kvs_of_flexarray (gc, front), +NULL ); + rc =0 ; +out: +return rc; +} + +LIBXL_DEFINE_DEVICE_REMOVE (xen_9pfs) +
[...]
tools/xl/xl_parse.c void parse_config_data(const char *config_source, · line 719
Quoted 11 lines
libxl__console_backend= Enumeration("console_backend", [tools/xl/xl_parse.c +1
-1@@ -716,7 +716,7 @@ void parse_config_data(const char *config_source,long l, vcpus =0 ;XLU_Config *config;XLU_ConfigList *cpus, *vbds, *nics, *pcis, *cvfbs, *cpuids, *vtpms, - *usbctrls, *usbdevs; + *usbctrls, *usbdevs, *xen_9pfs_opts;
Maybe make the name more like the others?
Other than these superficial issues, the code looks correct to me.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 21 lines · Wei Liu
Quoted 20 lines · Stefano Stabellini
docs/man/xl.cfg.pod.5.in | 31 +++++++++++++ tools/libxl/Makefile | 2 +- tools/libxl/libxl.h | 10 +++++ tools/libxl/libxl_9pfs.c | 87 ++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_create.c | 3 ++ tools/libxl/libxl_internal.h | 6 +++ tools/libxl/libxl_types.idl | 10 +++++ tools/libxl/libxl_types_internal.idl | 1 + tools/xl/xl_parse.c | 55 ++++++++++++++++++++++- 9 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 tools/libxl/libxl_9pfs.cdocs/man/xl.cfg.pod.5.in +0
-0@@ -516,6 +516,37 @@ value is optional if this is a guest domain. =back
Quoted 8 lines
docs/man/xl.cfg.pod.5.in value is optional if this is a guest domain. · line 520
Quoted 2 lines
docs/man/xl.cfg.pod.5.in +2
-0+=item B<xen_9pfs=[ "XEN_9PFS_SPEC_STRING", "XEN_9PFS_SPEC_STRING", ...]> +Let me guess, the reason for
xen_prefix is 9pfs isn't really a valid identifier in C.Can we get rid of the
xen_prefix by naming everything p9* ? I think that's how QEMU does it.
OK. I'll rename the VM config option to 9pfs, and all the internal functions and variables to 9p.
Quoted 22 lines
Quoted 9 lines
docs/man/xl.cfg.pod.5.in +9
-0+Creates a Xen 9pfs connection to share a filesystem from backend to +frontend. + +Each B<XEN_9PFS_SPEC_STRING> is a comma-separated list of C<KEY=VALUE> +settings, from the following list: + +=over 4 + +=item C<tag=STRING>docs/man/xl.cfg.pod.5.in value is optional if this is a guest domain. · line 539
Quoted 10 lines
docs/man/xl.cfg.pod.5.in +10
-0+ +9pfs tag to identify the filesystem share. The tag is needed on the +guest side to mount it. + +=item C<security_model="none"> + +Only "none" is supported today, which means that files are stored using +the same credentials as they are created on the guest (no user ownership +squash or remap). +What is the difficulty for supporting other modes as well?
Quoted 1 line
I think it is just passing through the string to QEMU, right?
It is also testing and validation. Also, the current version of the protocol only supports "none".
Quoted 37 lines
Quoted 12 lines
docs/man/xl.cfg.pod.5.in +10
-0+=item C<path=STRING> + +Filesystem path on the backend to export. + +=item C<backend=DOMAIN> + +Specify the backend domain name or id, defaults to dom0. + +=back + =item B<vfb=[ "VFB_SPEC_STRING", "VFB_SPEC_STRING", ...]>[...]
Quoted 24 lines
tools/libxl/libxl_9pfs.c new file +18
-0@@ -0,0 +1,87 @@ +/* +* Copyright (C) 2017 Aporeto +* Author Stefano Stabellini <[email protected]> +* +* This program is free software; you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License as published +* by the Free Software Foundation; version 2.1 only. with the special +* exception on linking described in file LICENSE. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License for more details. +*/ + +#include "libxl_osdeps.h" + +#include "libxl_internal.h"
Quoted 8 lines
tools/libxl/libxl_9pfs.c line 24
Quoted 6 lines
tools/libxl/libxl_9pfs.c new file +6
-0+ +int libxl__device_xen_9pfs_setdefault (libxl__gc *gc,libxl_device_xen_9pfs *xen_9pfs) +{ +int rc; + + rc =libxl__resolve_domid (gc, xen_9pfs->backend_domname, &xen_9pfs->backend_domid);These lines are too long.
I'll fix
Quoted 14 lines
Quoted 14 lines
tools/libxl/libxl_9pfs.c new file +14
-0+return rc; +} + +static int libxl__device_from_xen_9pfs (libxl__gc *gc,uint32_t domid, +libxl_device_xen_9pfs *xen_9pfs, +libxl__device *device) +{ + device->backend_devid = xen_9pfs->devid; + device->backend_domid = xen_9pfs->backend_domid; + device->backend_kind =LIBXL__DEVICE_KIND_9PFS ; + device->devid = xen_9pfs->devid; + device->domid = domid; + device->kind =LIBXL__DEVICE_KIND_9PFS ; +
Quoted 8 lines
tools/libxl/libxl_9pfs.c line 44
Quoted 6 lines
tools/libxl/libxl_9pfs.c new file +6
-0+return 0 ; +} + + +int libxl__device_xen_9pfs_add (libxl__gc *gc,uint32_t domid, +libxl_device_xen_9pfs *xen_9pfs)Indentation.
I'll fix
Quoted 44 lines
Quoted 43 lines
tools/libxl/libxl_9pfs.c new file +43
-0+{ +flexarray_t *front; +flexarray_t *back; +libxl__device device; +int rc; + + rc =libxl__device_xen_9pfs_setdefault (gc, xen_9pfs); +if (rc) goto out; + + front =flexarray_make (gc,16 ,1 ); + back =flexarray_make (gc,16 ,1 ); + +if (xen_9pfs->devid ==-1 ) { +if ((xen_9pfs->devid =libxl__device_nextid (gc, domid,"9pfs" )) <0 ) { + rc =ERROR_FAIL ; + goto out; + } + } + + rc =libxl__device_from_xen_9pfs (gc, domid, xen_9pfs, &device); +if (rc !=0 ) goto out; + +flexarray_append_pair (back,"frontend-id" ,libxl__sprintf (gc,"%d" , domid)); +flexarray_append_pair (back,"online" ,"1" ); +flexarray_append_pair (back,"state" ,GCSPRINTF ("%d" , XenbusStateInitialising)); +flexarray_append_pair (front,"backend-id" , +libxl__sprintf (gc,"%d" , xen_9pfs->backend_domid)); +flexarray_append_pair (front,"state" ,GCSPRINTF ("%d" , XenbusStateInitialising)); +flexarray_append_pair (front,"tag" , xen_9pfs->tag); +flexarray_append_pair (back,"path" , xen_9pfs->path); +flexarray_append_pair (back,"security_model" , xen_9pfs->security_model); + +libxl__device_generic_add (gc,XBT_NULL , &device, +libxl__xs_kvs_of_flexarray (gc, back), +libxl__xs_kvs_of_flexarray (gc, front), +NULL ); + rc =0 ; +out: +return rc; +} + +LIBXL_DEFINE_DEVICE_REMOVE (xen_9pfs) +[...]
Quoted 13 lines
tools/xl/xl_parse.c void parse_config_data(const char *config_source, · line 719
Quoted 11 lines
libxl__console_backend= Enumeration("console_backend", [tools/xl/xl_parse.c +1
-1@@ -716,7 +716,7 @@ void parse_config_data(const char *config_source,long l, vcpus =0 ;XLU_Config *config;XLU_ConfigList *cpus, *vbds, *nics, *pcis, *cvfbs, *cpuids, *vtpms, - *usbctrls, *usbdevs; + *usbctrls, *usbdevs, *xen_9pfs_opts;Maybe make the name more like the others?
I'll do
Quoted 1 line
Other than these superficial issues, the code looks correct to me.
OK, thanks
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 28 lines · Stefano Stabellini
Quoted 27 lines · Wei Liu
Quoted 17 lines · Stefano Stabellini
docs/man/xl.cfg.pod.5.in | 31 +++++++++++++ tools/libxl/Makefile | 2 +- tools/libxl/libxl.h | 10 +++++ tools/libxl/libxl_9pfs.c | 87 ++++++++++++++++++++++++++++++++++++ tools/libxl/libxl_create.c | 3 ++ tools/libxl/libxl_internal.h | 6 +++ tools/libxl/libxl_types.idl | 10 +++++ tools/libxl/libxl_types_internal.idl | 1 + tools/xl/xl_parse.c | 55 ++++++++++++++++++++++- 9 files changed, 203 insertions(+), 2 deletions(-) create mode 100644 tools/libxl/libxl_9pfs.cdocs/man/xl.cfg.pod.5.in +0
-0docs/man/xl.cfg.pod.5.in value is optional if this is a guest domain. · line 520
Quoted 5 lines
docs/man/xl.cfg.pod.5.in +2
-0@@ -516,6 +516,37 @@ value is optional if this is a guest domain. =back +=item B<xen_9pfs=[ "XEN_9PFS_SPEC_STRING", "XEN_9PFS_SPEC_STRING", ...]> +Let me guess, the reason for
xen_prefix is 9pfs isn't really a valid identifier in C.
Quoted 5 lines
Quoted 2 lines
Can we get rid of the
xen_prefix by naming everything p9* ? I think that's how QEMU does it.OK. I'll rename the VM config option to 9pfs, and all the internal functions and variables to 9p.
Actually the xl parser is also similarly constrained, so I'll have to rename the VM config option to p9 too.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel