Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
On Wed, 3 Oct 2012, Ian Campbell wrote: > On Wed, 2012-10-03 at 17:13 +0100, Ian Campbell wrote: > > On Wed, 2012-10-03 at 17:05 +0100, Stefano Stabellini wrote: > > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > > On Wed, 2012-10-03 at 16:48 +0100, Stefano Stabellini wrote: > > > > > On Wed, 3 Oc

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 17:13 +0100, Ian Campbell wrote: > On Wed, 2012-10-03 at 17:05 +0100, Stefano Stabellini wrote: > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > On Wed, 2012-10-03 at 16:48 +0100, Stefano Stabellini wrote: > > > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > > > On Wed, 2012

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 17:05 +0100, Stefano Stabellini wrote: > On Wed, 3 Oct 2012, Ian Campbell wrote: > > On Wed, 2012-10-03 at 16:48 +0100, Stefano Stabellini wrote: > > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > > On Wed, 2012-10-03 at 15:11 +0100, Konrad Rzeszutek Wilk wrote: > > > > > On

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
On Wed, 3 Oct 2012, Ian Campbell wrote: > On Wed, 2012-10-03 at 16:48 +0100, Stefano Stabellini wrote: > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > On Wed, 2012-10-03 at 15:11 +0100, Konrad Rzeszutek Wilk wrote: > > > > On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: > > > > > On

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 16:48 +0100, Stefano Stabellini wrote: > On Wed, 3 Oct 2012, Ian Campbell wrote: > > On Wed, 2012-10-03 at 15:11 +0100, Konrad Rzeszutek Wilk wrote: > > > On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: > > > > On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellin

Re: [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
On Wed, 3 Oct 2012, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 03, 2012 at 02:37:53PM +0100, Stefano Stabellini wrote: > > PV on HVM guests don't have a start_info page mapped by Xen, so > > xen_start_info is just NULL for them. > > That is problem because other parts of the code expect xen_start_i

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
On Wed, 3 Oct 2012, Ian Campbell wrote: > On Wed, 2012-10-03 at 15:11 +0100, Konrad Rzeszutek Wilk wrote: > > On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: > > > On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellini wrote: > > > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > > > On

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 15:11 +0100, Konrad Rzeszutek Wilk wrote: > On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: > > On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellini wrote: > > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > > On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellin

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: > On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellini wrote: > > On Wed, 3 Oct 2012, Ian Campbell wrote: > > > On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellini wrote: > > > > PV on HVM guests don't have a start_info page mapped by

Re: [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 02:37:53PM +0100, Stefano Stabellini wrote: > PV on HVM guests don't have a start_info page mapped by Xen, so > xen_start_info is just NULL for them. > That is problem because other parts of the code expect xen_start_info to > point to something valid, for example xen_initia

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellini wrote: > On Wed, 3 Oct 2012, Ian Campbell wrote: > > On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellini wrote: > > > PV on HVM guests don't have a start_info page mapped by Xen, so > > > xen_start_info is just NULL for them. > > > That is pro

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
On Wed, 3 Oct 2012, Ian Campbell wrote: > On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellini wrote: > > PV on HVM guests don't have a start_info page mapped by Xen, so > > xen_start_info is just NULL for them. > > That is problem because other parts of the code expect xen_start_info to > > point

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Ian Campbell
On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellini wrote: > PV on HVM guests don't have a start_info page mapped by Xen, so > xen_start_info is just NULL for them. > That is problem because other parts of the code expect xen_start_info to > point to something valid, for example xen_initial_domai

[PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Stefano Stabellini
PV on HVM guests don't have a start_info page mapped by Xen, so xen_start_info is just NULL for them. That is problem because other parts of the code expect xen_start_info to point to something valid, for example xen_initial_domain() is defined as follow: #define xen_initial_domain()(xen_domai