Re: [Xen-devel] [v4][PATCH 02/19] xen/x86/p2m: introduce set_identity_p2m_entry

2015-07-01 Thread George Dunlap
On Tue, Jun 23, 2015 at 10:57 AM, Tiejun Chen wrote: > We will create this sort of identity mapping as follows: > > If the gfn space is unoccupied, we just set the mapping. If space > is already occupied by desired identity mapping, do nothing. > Otherwise, failure is returned. > > And we also add

Re: [Xen-devel] [v4][PATCH 02/19] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-25 Thread Tim Deegan
At 17:57 +0800 on 23 Jun (1435082233), Tiejun Chen wrote: > We will create this sort of identity mapping as follows: > > If the gfn space is unoccupied, we just set the mapping. If space > is already occupied by desired identity mapping, do nothing. > Otherwise, failure is returned. > > And we al

[Xen-devel] [v4][PATCH 02/19] xen/x86/p2m: introduce set_identity_p2m_entry

2015-06-23 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 space is already occupied by desired identity mapping, do nothing. Otherwise, failure is returned. And we also add a returning value to guest_physmap_remove_page() then make that a