Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Konrad Rzeszutek Wilk
> > So with this patch when I launch an PVHVM guest on Xen 4.1 I get this > > in the initial domain and the guest is crashed: > > > > [ 261.927218] privcmd_fault: vma=88002a31dce8 > > 7f4edc095000-7f4edc195000, pgoff=c8, uv=7f4edc15d000 > > With this patch? Or with the mmapbatch v2? Thi

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 03:30:01PM -0400, Andres Lagar-Cavilla wrote: > On Sep 21, 2012, at 2:52 PM, Konrad Rzeszutek Wilk wrote: > > > On Mon, Sep 17, 2012 at 05:29:24AM -0400, Andres Lagar-Cavilla wrote: > >> On Sep 17, 2012, at 4:17 AM, Ian Campbell wrote: > >> > >>> (I think I forgot to hit s

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Andres Lagar-Cavilla
On Sep 21, 2012, at 2:52 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Sep 17, 2012 at 05:29:24AM -0400, Andres Lagar-Cavilla wrote: >> On Sep 17, 2012, at 4:17 AM, Ian Campbell wrote: >> >>> (I think I forgot to hit send on this on Friday, sorry. Also >>> s/xen.lists.org/lists.xen.org in the CC lin

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Konrad Rzeszutek Wilk
On Mon, Sep 17, 2012 at 05:29:24AM -0400, Andres Lagar-Cavilla wrote: > On Sep 17, 2012, at 4:17 AM, Ian Campbell wrote: > > > (I think I forgot to hit send on this on Friday, sorry. Also > > s/xen.lists.org/lists.xen.org in the CC line…) > I'm on a roll here… > > > > > On Fri, 2012-09-14 at 15:

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-21 Thread Konrad Rzeszutek Wilk
> >> Signed-off-by: Andres Lagar-Cavilla > > > > Acked-by: Ian Campbell > > > > Since this is more about grant tables than netback this should probably > > go via Konrad rather than Dave, is that OK with you Dave? > > If that is the case hopefully Konrad can deal with the two typos? Otherwise

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-17 Thread Konrad Rzeszutek Wilk
> >> Signed-off-by: Andres Lagar-Cavilla > > > > Acked-by: Ian Campbell > > > > Since this is more about grant tables than netback this should probably > > go via Konrad rather than Dave, is that OK with you Dave? > > If that is the case hopefully Konrad can deal with the two typos? Otherwise

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-17 Thread Andres Lagar-Cavilla
On Sep 17, 2012, at 4:17 AM, Ian Campbell wrote: > (I think I forgot to hit send on this on Friday, sorry. Also > s/xen.lists.org/lists.xen.org in the CC line…) I'm on a roll here… > > On Fri, 2012-09-14 at 15:26 +0100, Andres Lagar-Cavilla wrote: >> Since Xen-4.2, hvm domains may have portions

Re: [PATCH] Xen backend support for paged out grant targets V4.

2012-09-17 Thread Ian Campbell
(I think I forgot to hit send on this on Friday, sorry. Also s/xen.lists.org/lists.xen.org in the CC line...) On Fri, 2012-09-14 at 15:26 +0100, Andres Lagar-Cavilla wrote: > Since Xen-4.2, hvm domains may have portions of their memory paged out. When a > foreign domain (such as dom0) attempts to

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Andres Lagar-Cavilla
On Sep 14, 2012, at 8:44 AM, Konrad Rzeszutek Wilk wrote: > On Fri, Sep 14, 2012 at 08:19:01AM +0100, Ian Campbell wrote: >> On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: >>> On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: >>> On Thu, 2012-09-13 at 18:28 +0100, Andres Laga

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Konrad Rzeszutek Wilk
On Fri, Sep 14, 2012 at 08:19:01AM +0100, Ian Campbell wrote: > On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: > > On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: > > > > > On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: > > >> > > >> * Add placeholder in array of

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Ian Campbell
On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: > On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: > > > On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: > >> > >> * Add placeholder in array of grant table error descriptions for > >> unrelated error code we jump over.

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-13 Thread Andres Lagar-Cavilla
On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: > On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: >> >> * Add placeholder in array of grant table error descriptions for >> unrelated error code we jump over. > > Why not just define it, it's listed here: > http://xenbits.xen.org/

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-13 Thread Ian Campbell
On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: > > * Add placeholder in array of grant table error descriptions for > unrelated error code we jump over. Why not just define it, it's listed here: http://xenbits.xen.org/docs/unstable/hypercall/include,public,grant_table.h.html#Enum

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-13 Thread Andres Lagar-Cavilla
On Sep 13, 2012, at 3:14 AM, Ian Campbell wrote: > On Wed, 2012-09-12 at 20:45 +0100, Andres Lagar-Cavilla wrote: >> diff --git a/include/xen/interface/grant_table.h >> b/include/xen/interface/grant_table.h >> index 7da811b..66cb734 100644 >> --- a/include/xen/interface/grant_table.h >> +++ b/inc

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-12 Thread Andres Lagar-Cavilla
On Sep 12, 2012, at 4:21 PM, Andres Lagar-Cavilla wrote: > > On Sep 12, 2012, at 4:06 PM, Konrad Rzeszutek Wilk wrote: > >> On Wed, Sep 12, 2012 at 03:45:53PM -0400, Andres Lagar-Cavilla wrote: >>> Since Xen-4.2, hvm domains may have portions of their memory paged out. >>> When a >>> foreign d

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-12 Thread Andres Lagar-Cavilla
On Sep 12, 2012, at 4:06 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Sep 12, 2012 at 03:45:53PM -0400, Andres Lagar-Cavilla wrote: >> Since Xen-4.2, hvm domains may have portions of their memory paged out. When >> a >> foreign domain (such as dom0) attempts to map these frames, the map will >> in

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-12 Thread Konrad Rzeszutek Wilk
On Wed, Sep 12, 2012 at 03:45:53PM -0400, Andres Lagar-Cavilla wrote: > Since Xen-4.2, hvm domains may have portions of their memory paged out. When a > foreign domain (such as dom0) attempts to map these frames, the map will > initially fail. The hypervisor returns a suitable errno, and kicks an >