|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 09/17] xen/arm: p2m type definitions and changes
Hi Tamas, On 10/09/14 06:28, Tamas K Lengyel wrote: > static lpae_t mfn_to_p2m_entry(unsigned long mfn, unsigned int mattr, I though I've talked about it in an earlier version. I don't think we should use the default_access to the P2M table. Let assume a user decides to set default to another access type than p2m_access_rwx, Xen will receive the same trap forever for the domain because the access is not store in the radix tree (see your patch #12). Therefore the guest will try to access back to the guest, but the page attribute has not changed. Also, you can't associate a PFN to this page because the table is internal to Xen. IHMO, I would use p2m_access_rwx for the table L1 and L2 tables. For L3, you will have to set the permission in the radix tree. Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |