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

Re: [Xen-devel] [RFC] scf: SCF device tree and configuration documentation





On 05/10/2017 04:30 PM, Andrii Anisov wrote:
Julien,

Hi Andrii,


On 05.05.17 20:51, Julien Grall wrote:

The code is not set in stone. It can be reworked to avoid that.
Yep.
I would like to not introduce changes related to dtb into
libxl_create.c, keep as much as possible in libxl_arm.c . The only
common data structure between libxl__arch_domain_prepare_config() and
libxl__arch_domain_create() is an autogenerated libxl_domain_config
structure.
The option I see now is to introduce kind of auto type "File" which will
read and manage file blob within libxl_domain_config structure.
Honestly, I do not like this option. Any suggestions?

I don't know much the toolstack, I will leave Ian and Wei commenting on this.


So I still don't understand why you want to use a device tree between
the toolstack and the hypervisor.
It has a functional (except vgic settings) implementation now.
But as you said the code is not set in stone. I'm here to hear your
valuable opinion, discuss options and see what ideas will come up.

Have you tried to define an interface using C structure? If not, my suggestion would be to first do that so we can discuss on other alternative.

This could be part of a new version of the design document to get all the context.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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