Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Chen, Tiejun
On 2015/6/11 17:23, Jan Beulich wrote: On 11.06.15 at 10:23, wrote: On 2015/6/11 15:33, Jan Beulich wrote: On 11.06.15 at 03:15, wrote: We will create this sort of identity mapping as follows: If the gfn space is unoccupied, we just set the mapping. If the space is already occupied by 1:1 m

Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Jan Beulich
>>> On 11.06.15 at 10:23, wrote: > On 2015/6/11 15:33, Jan Beulich wrote: > On 11.06.15 at 03:15, wrote: >>> We will create this sort of identity mapping as follows: >>> >>> If the gfn space is unoccupied, we just set the mapping. If the space >>> is already occupied by 1:1 mappings, do nothi

Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Chen, Tiejun
On 2015/6/11 17:00, Tian, Kevin wrote: From: Chen, Tiejun Sent: Thursday, June 11, 2015 9:15 AM We will create this sort of identity mapping as follows: If the gfn space is unoccupied, we just set the mapping. If the space is already occupied by 1:1 mappings, do nothing. Failed for any other ca

Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Tian, Kevin
> From: Chen, Tiejun > Sent: Thursday, June 11, 2015 9:15 AM > > We will create this sort of identity mapping as follows: > > If the gfn space is unoccupied, we just set the mapping. If the space > is already occupied by 1:1 mappings, do nothing. Failed for any > other cases. "If space is alread

Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Chen, Tiejun
On 2015/6/11 15:33, Jan Beulich wrote: On 11.06.15 at 03:15, wrote: We will create this sort of identity mapping as follows: If the gfn space is unoccupied, we just set the mapping. If the space is already occupied by 1:1 mappings, do nothing. Failed for any other cases. Signed-off-by: Tiejun

Re: [Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-11 Thread Jan Beulich
>>> On 11.06.15 at 03:15, wrote: > We will create this sort of identity mapping as follows: > > If the gfn space is unoccupied, we just set the mapping. If the space > is already occupied by 1:1 mappings, do nothing. Failed for any > other cases. > > Signed-off-by: Tiejun Chen First of all you

[Xen-devel] [v3][PATCH 02/16] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-10 Thread Tiejun Chen
We will create this sort of identity mapping as follows: If the gfn space is unoccupied, we just set the mapping. If the space is already occupied by 1:1 mappings, do nothing. Failed for any other cases. Signed-off-by: Tiejun Chen --- xen/arch/x86/mm/p2m.c | 35 +