[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [RFC PATCH 0/5] Add hypervisor sysfs-like support



On 11.09.19 11:24, Jan Beulich wrote:
On 11.09.2019 08:19, Juergen Gross wrote:
On the 2019 Xen developer summit there was agreement that the Xen
hypervisor should gain support for a hierarchical name-value store
similar to the Linux kernel's sysfs.

This is a first implementation of that idea adding the basic
functionality to hypervisor and tools side. The interface to any
user program making use of that "xen-sysfs" is a new library
"libxenfs" with a stable interface.

There are still some pending questions, those are:

- access rights:
   + should we allow access to dom0 only, or to all domains, or should
     that be possible to set per entry?

Dom0 only for now, I'd say. But if possible don't put in road blocks
making relaxing this more difficult.

Sure.


   + how to integrate with xsm?

When Dom0 only, perhaps not needed more than wiring this through the
same hook as e.g. the sysctl-s use?

Yes, or adding another hook for that purpose.


- dynamical entries:
   + do we want support for e.g. per-domain and/or per-cpupool entries?

Down the road - perhaps.

   + do we want support for debug aids (lock-profiling, debugtrace ..)?

Seeing you introduce a file system abstraction, have such go through
a debugfs-like one?

Well, I was more thinking of a "debug" directory for that purpose.


- write access:
   + runtime parameters?
   + debugging aids?

For both - down the road, perhaps.

Okay.

Thanks for the feedback,


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.