Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-16 Thread Stefano Stabellini
On Thu, 16 Aug 2018, Julien Grall wrote: > Hi Stefano, > > On 08/15/2018 09:04 PM, Stefano Stabellini wrote: > > On Mon, 13 Aug 2018, Julien Grall wrote: > > > > +void __init create_domUs(void) > > > > +{ > > > > +struct dt_device_node *node; > > > > +struct dt_device_node *chosen =

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-16 Thread Julien Grall
Hi Stefano, On 08/15/2018 09:04 PM, Stefano Stabellini wrote: On Mon, 13 Aug 2018, Julien Grall wrote: +void __init create_domUs(void) +{ +struct dt_device_node *node; +struct dt_device_node *chosen = dt_find_node_by_name(dt_host, "chosen"); + +if ( chosen != NULL ) +{ +

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-15 Thread Stefano Stabellini
On Mon, 13 Aug 2018, Julien Grall wrote: > On 01/08/18 00:27, Stefano Stabellini wrote: > > Call a new function, "create_domUs", from setup_xen to start DomU VMs. > > > > Introduce support for the "xen,domU" compatible node on device tree. > > Create new DomU VMs based on the information found on

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-15 Thread Stefano Stabellini
On Mon, 13 Aug 2018, Julien Grall wrote: > Hi Stefano, > > On 01/08/18 00:27, Stefano Stabellini wrote: > > Call a new function, "create_domUs", from setup_xen to start DomU VMs. > > > > Introduce support for the "xen,domU" compatible node on device tree. > > Create new DomU VMs based on the

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-13 Thread Julien Grall
On 01/08/18 00:27, Stefano Stabellini wrote: Call a new function, "create_domUs", from setup_xen to start DomU VMs. Introduce support for the "xen,domU" compatible node on device tree. Create new DomU VMs based on the information found on device tree under "xen,domU". Calls construct_domU for

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-13 Thread Julien Grall
Hi Stefano, On 01/08/18 00:27, Stefano Stabellini wrote: Call a new function, "create_domUs", from setup_xen to start DomU VMs. Introduce support for the "xen,domU" compatible node on device tree. Create new DomU VMs based on the information found on device tree under "xen,domU". Calls

Re: [Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-08-01 Thread Jan Beulich
>>> On 01.08.18 at 01:27, wrote: > --- > xen/arch/arm/domain_build.c | 42 +++--- > xen/arch/arm/setup.c| 7 ++- > xen/include/asm-arm/setup.h | 3 +++ > xen/include/asm-x86/setup.h | 2 ++ The (trivial) x86 addition Acked-by: Jan Beulich

[Xen-devel] [PATCH v3 13/25] xen/arm: introduce create_domUs

2018-07-31 Thread Stefano Stabellini
Call a new function, "create_domUs", from setup_xen to start DomU VMs. Introduce support for the "xen,domU" compatible node on device tree. Create new DomU VMs based on the information found on device tree under "xen,domU". Calls construct_domU for each domain. Introduce a simple global variable