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

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,

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: > > > > >

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

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: > > > > >

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

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

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

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 > >

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

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_domain()

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 to

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 problem

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 Xen, so

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 Stabellini wrote:

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 Wed,

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 Stabellini wrote:

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 Wed,

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 Wed, Oct 03,

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-10-03 at

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 Oct 2012, Ian