Hello Julien,

On 18.07.19 16:44, Julien Grall wrote:
My suggestion about vunmap() still stands though.

+1 for the vunmap solution.

It was my initial idea.

But, the issue is introduced by change 9cc0618. In particular, by the check in 
`xen_pt_update()`

    if ( !IS_ALIGNED(virt, PAGE_SIZE) )
    {
        mm_printk("The virtual address is not aligned to the page-size.\n");
        return -EINVAL;
    }

So I assumed you had some specific idea about that check.

I'd fix `xen_pt_update()` if you are ok with it.

--
Sincerely,
Andrii Anisov.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to