search for: vlpt

Displaying 1 result from an estimated 1 matches for "vlpt".

Did you mean: vhpt
2013 Nov 06
0
[PATCH v5 5/6] xen/arm: Implement hypercall for dirty page tracing
...main.c +++ b/xen/arch/arm/domain.c @@ -215,6 +215,12 @@ static void ctxt_switch_to(struct vcpu *n) WRITE_SYSREG(hcr, HCR_EL2); isb(); + /* for dirty-page tracing + * XXX: how do we consider SMP case? + */ + if ( n->domain->arch.dirty.mode ) + restore_vlpt(n->domain); + /* This is could trigger an hardware interrupt from the virtual * timer. The interrupt needs to be injected into the guest. */ virt_timer_restore(n); @@ -509,11 +515,19 @@ int arch_domain_create(struct domain *d, unsigned int domcr_flags) /* Default the vi...