Re: [Xen-devel] [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread Konrad Rzeszutek Wilk
On Fri, Jan 03, 2014 at 04:53:59PM +, Stefano Stabellini wrote: > On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote: > > The 'xen_hvm_resume_frames' used to be an 'unsigned long' > > and contain the virtual address of the grants. That was OK > > for most architectures (PVHVM, ARM) were the grant

Re: [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread Stefano Stabellini
On Tue, 31 Dec 2013, Konrad Rzeszutek Wilk wrote: > The 'xen_hvm_resume_frames' used to be an 'unsigned long' > and contain the virtual address of the grants. That was OK > for most architectures (PVHVM, ARM) were the grants are contingous > in memory. That however is not the case for PVH - in whic

Re: [Xen-devel] [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread Konrad Rzeszutek Wilk
On Fri, Jan 03, 2014 at 12:11:42PM +, David Vrabel wrote: > On 02/01/14 18:47, Konrad Rzeszutek Wilk wrote: > > On Thu, Jan 02, 2014 at 04:27:19PM +, David Vrabel wrote: > >> On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: > >>> The 'xen_hvm_resume_frames' used to be an 'unsigned long' > >>

Re: [Xen-devel] [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-03 Thread David Vrabel
On 02/01/14 18:47, Konrad Rzeszutek Wilk wrote: > On Thu, Jan 02, 2014 at 04:27:19PM +, David Vrabel wrote: >> On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: >>> The 'xen_hvm_resume_frames' used to be an 'unsigned long' >>> and contain the virtual address of the grants. That was OK >>> for mos

Re: [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-02 Thread Konrad Rzeszutek Wilk
On Thu, Jan 02, 2014 at 04:27:19PM +, David Vrabel wrote: > On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: > > The 'xen_hvm_resume_frames' used to be an 'unsigned long' > > and contain the virtual address of the grants. That was OK > > for most architectures (PVHVM, ARM) were the grants are co

Re: [PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2014-01-02 Thread David Vrabel
On 01/01/14 04:35, Konrad Rzeszutek Wilk wrote: > The 'xen_hvm_resume_frames' used to be an 'unsigned long' > and contain the virtual address of the grants. That was OK > for most architectures (PVHVM, ARM) were the grants are contingous > in memory. That however is not the case for PVH - in which

[PATCH v12 14/18] xen/grant: Implement an grant frame array struct.

2013-12-31 Thread Konrad Rzeszutek Wilk
The 'xen_hvm_resume_frames' used to be an 'unsigned long' and contain the virtual address of the grants. That was OK for most architectures (PVHVM, ARM) were the grants are contingous in memory. That however is not the case for PVH - in which case we will have to do a lookup for each virtual addres