Weird altp2m behaviour when switching early to a new view
Hello Razvan.
Have Your patch been accepted in Xen hypervisor?
Searching through git I have found commit "61bdddb82151fbf51c58f6ebc1b4a687942c45a8" on "Thu Jun 28 10:54:01 2018 +0300". Is that commit deals with the error?
With best regards
Sergey Kovalev.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Сергей
Hello Razvan.
Have Your patch been accepted in Xen hypervisor?
Searching through git I have found commit "
61bdddb82151fbf51c58f6ebc1b4a687942c45a8" on "Thu Jun 28 10:54:01 2018 +0300". Is that commit deals with the error?
No yet, we're working on it. The commit you mention deals with something else.
Razvan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 1 line
No yet, we're working on it.
Could You point me to the branch with Your patches please? I Could not find it in https://xenbits.xen.org/gitweb/?p=xen.git
With best regards
Sergey Kovalev.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 2 lines · Сергей
Quoted 1 line
No yet, we're working on it.
Could You point me to the branch with Your patches please? I Could not find it in https://xenbits.xen.org/gitweb/?p=xen.git
There's no public branch with my patches, I'm working locally. The original patch has now split into two patches, the first one of which is currently "[PATCH V3] x86/altp2m: propagate ept.ad changes to all active altp2ms" (pending review on xen-devel), and the second one depends on the final form of the first one and is not yet completely written.
Razvan
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 2 lines · Сергей
Quoted 1 line
No yet, we're working on it.
Could You point me to the branch with Your patches please? I Could not find it in https://xenbits.xen.org/gitweb/?p=xen.git
I've attached the current version of the patch, which needs George's comments addressed (so we already know it needs more work) - but it does fix the frozen display issue 99% of the time.
You need to apply "[PATCH V3] x86/altp2m: propagate ept.ad changes to all active altp2ms" first.
Razvan
xen/arch/x86/mm/p2m-ept.c +8 -0
@@ -657,6 +657,9 @@ bool_t ept_handle_misconfig(uint64_t gpa)bool_t spurious;int rc; +if (altp2m_active (curr->domain) ) + p2m =p2m_get_altp2m (curr); +p2m_lock (p2m); spurious = curr->arch.hvm.vmx.ept_spurious_misconfig;
@@ -1436,6 +1439,11 @@ void p2m_init_altp2m_ept(struct domain *d, unsigned int i)struct ept_data *ept; p2m->ept.ad = hostp2m->ept.ad; + p2m->max_mapped_pfn = hostp2m->max_mapped_pfn; + p2m->default_access = hostp2m->default_access; + p2m->domain = hostp2m->domain; + p2m->logdirty_ranges = hostp2m->logdirty_ranges; + p2m->global_logdirty = hostp2m->global_logdirty; p2m->min_remapped_gfn =gfn_x (INVALID_GFN ); p2m->max_remapped_gfn =0 ; ept = &p2m->ept;
xen/arch/x86/mm/p2m.c +59 -11
117 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel