Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-04-25 Thread David Vrabel
On 24/04/16 21:23, Borislav Petkov wrote: > On Mon, Feb 01, 2016 at 10:38:48AM -0500, Boris Ostrovsky wrote: >> Start HVMlite guest at XEN_ELFNOTE_PHYS32_ENTRY address. Setup hypercall >> page, initialize boot_params, enable early page tables. >> >> Since this stub is executed before kernel entry p

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-04-05 Thread Luis R. Rodriguez
On Thu, Feb 4, 2016 at 3:10 PM, Luis R. Rodriguez wrote: > On Thu, Feb 04, 2016 at 12:51:38AM +, Andrew Cooper wrote: >> On 03/02/2016 23:59, Luis R. Rodriguez wrote: >> > On Wed, Feb 03, 2016 at 08:52:50PM +, Andrew Cooper wrote: >> >> On 03/02/16 18:55, Luis R. Rodriguez wrote: >> >>> We

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-04 Thread Luis R. Rodriguez
On Thu, Feb 04, 2016 at 12:51:38AM +, Andrew Cooper wrote: > On 03/02/2016 23:59, Luis R. Rodriguez wrote: > > On Wed, Feb 03, 2016 at 08:52:50PM +, Andrew Cooper wrote: > >> On 03/02/16 18:55, Luis R. Rodriguez wrote: > >>> We add new hypervisor type to close the semantic gap for hyperviso

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-03 Thread Andrew Cooper
On 03/02/2016 23:59, Luis R. Rodriguez wrote: > On Wed, Feb 03, 2016 at 08:52:50PM +, Andrew Cooper wrote: >> On 03/02/16 18:55, Luis R. Rodriguez wrote: >>> We add new hypervisor type to close the semantic gap for hypervisor types, >>> and >>> much like subarch enable also a subarch_data to l

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-03 Thread Luis R. Rodriguez
On Wed, Feb 3, 2016 at 3:59 PM, Luis R. Rodriguez wrote: >> If you still desperately want to avoid multiple entry points, then just >> insist on using grub for the VM. I expect that that is how most people >> will end up using HVMLite VMs anyway. > > Are you saying Grub can do some of this heavy

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-03 Thread Luis R. Rodriguez
On Wed, Feb 03, 2016 at 08:52:50PM +, Andrew Cooper wrote: > On 03/02/16 18:55, Luis R. Rodriguez wrote: > > We add new hypervisor type to close the semantic gap for hypervisor types, > > and > > much like subarch enable also a subarch_data to let you pass and use your > > hvmlite_start_info.

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-03 Thread Andrew Cooper
On 03/02/16 18:55, Luis R. Rodriguez wrote: > We add new hypervisor type to close the semantic gap for hypervisor types, and > much like subarch enable also a subarch_data to let you pass and use your > hvmlite_start_info. This would not only help with the semantics but also help > avoid yet-anothe

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-02 Thread Boris Ostrovsky
On 02/02/2016 11:39 AM, David Vrabel wrote: On 01/02/16 15:38, Boris Ostrovsky wrote: --- a/include/xen/xen.h +++ b/include/xen/xen.h @@ -29,6 +29,12 @@ extern enum xen_domain_type xen_domain_type; #define xen_initial_domain() (0) #endif/* CONFIG_XEN_DOM0 */ +#ifdef CONFIG_XEN_PV

Re: [Xen-devel] [PATCH v2 02/11] xen/hvmlite: Bootstrap HVMlite guest

2016-02-02 Thread David Vrabel
On 01/02/16 15:38, Boris Ostrovsky wrote: > --- a/include/xen/xen.h > +++ b/include/xen/xen.h > @@ -29,6 +29,12 @@ extern enum xen_domain_type xen_domain_type; > #define xen_initial_domain() (0) > #endif /* CONFIG_XEN_DOM0 */ > > +#ifdef CONFIG_XEN_PVHVM > +extern int xen_hvmlite; > +#els