Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Stefano Stabellini
On Mon, 22 Oct 2012, Konrad Rzeszutek Wilk wrote: > > > + > > > int ret; > > > ret = HYPERVISOR_update_va_mapping( > > > (unsigned long)__va(pfn << PAGE_SHIFT), > > > @@ -418,12 +420,13 @@ static enum bp_state

Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Konrad Rzeszutek Wilk
On Mon, Oct 22, 2012 at 02:25:43PM +0100, Stefano Stabellini wrote: > On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: > > From: Mukesh Rathor > > > > For balloon changes we skip setting of local P2M as it's updated > > in Xen. For grant, the shared grant frame is the pfn and not mfn, > > hence

Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Stefano Stabellini
On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: > From: Mukesh Rathor > > For balloon changes we skip setting of local P2M as it's updated > in Xen. For grant, the shared grant frame is the pfn and not mfn, > hence its mapped via the same code path as HVM. > > Signed-off-by: Mukesh Rathor >

Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Stefano Stabellini
On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com For balloon changes we skip setting of local P2M as it's updated in Xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped via the same code path as HVM. Signed-off-by:

Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Konrad Rzeszutek Wilk
On Mon, Oct 22, 2012 at 02:25:43PM +0100, Stefano Stabellini wrote: On Sat, 20 Oct 2012, Konrad Rzeszutek Wilk wrote: From: Mukesh Rathor mukesh.rat...@oracle.com For balloon changes we skip setting of local P2M as it's updated in Xen. For grant, the shared grant frame is the pfn and not

Re: [PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-22 Thread Stefano Stabellini
On Mon, 22 Oct 2012, Konrad Rzeszutek Wilk wrote: + int ret; ret = HYPERVISOR_update_va_mapping( (unsigned long)__va(pfn PAGE_SHIFT), @@ -418,12 +420,13 @@ static enum bp_state decrease_reservation(unsigned long

[PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-19 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor For balloon changes we skip setting of local P2M as it's updated in Xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped via the same code path as HVM. Signed-off-by: Mukesh Rathor Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/balloon.c

[PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-19 Thread Konrad Rzeszutek Wilk
From: Mukesh Rathor mukesh.rat...@oracle.com For balloon changes we skip setting of local P2M as it's updated in Xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped via the same code path as HVM. Signed-off-by: Mukesh Rathor mukesh.rat...@oracle.com Signed-off-by: