[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 09/12] x86/altp2m: add remaining support routines.
On Thu, Jun 25, 2015 at 12:48 PM, Ed White <edmund.h.white@xxxxxxxxx> wrote:
Fair point, the use of rcu_lock_live_remote_domain_by_id in the memaccess memop handler precludes it working for the intra-domain case. However, now that we have a valid use-case for it working when a domain applies restrictions on itself, it would be fine to change that to rcu_lock_domain_by_any_id. It has been just used as a sanity check. The code you are using in hvm.c could be abstracted as p2m_altp2m_sanity_check: "!is_hvm_domain(d) || !hvm_altp2m_supported() ||
!d->arch.altp2m_active" and ran when the altp2m field is non-zero to catch buggy tools. Also, the existing Please elaborate on this.
For 4.6 I reworked the entire vm_event/mem_access system, so that is already happening irrespective of altp2m. It's fine to add support for the altp2m field before 4.6 freezes.
Thanks, Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |