>>> On 09.04.19 at 14:27, wrote:
> On Mon, Apr 08, 2019 at 09:55:47AM -0600, Jan Beulich wrote:
>> >>> On 07.02.19 at 17:44, wrote:
>> > @@ -4769,45 +4769,70 @@ void free_xen_pagetable_new(mfn_t mfn)
>> >
>> > static DEFINE_SPINLOCK(map_pgdir_lock);
>> >
>> > +/*
>> > + * Given a virtual add
On Mon, Apr 08, 2019 at 09:55:47AM -0600, Jan Beulich wrote:
> >>> On 07.02.19 at 17:44, wrote:
> > @@ -4769,45 +4769,70 @@ void free_xen_pagetable_new(mfn_t mfn)
> >
> > static DEFINE_SPINLOCK(map_pgdir_lock);
> >
> > +/*
> > + * Given a virtual address, return a pointer to xen's L3 entry. C
>>> On 07.02.19 at 17:44, wrote:
> @@ -4769,45 +4769,70 @@ void free_xen_pagetable_new(mfn_t mfn)
>
> static DEFINE_SPINLOCK(map_pgdir_lock);
>
> +/*
> + * Given a virtual address, return a pointer to xen's L3 entry. Caller
> + * needs to unmap the pointer.
> + */
> static l3_pgentry_t *virt
Rewrite that function to use the new APIs. Modify its callers to unmap
the pointer returned.
Signed-off-by: Wei Liu
---
xen/arch/x86/mm.c | 61 +++
1 file changed, 48 insertions(+), 13 deletions(-)
diff --git a/xen/arch/x86/mm.c b/xen/arch/x86