Fix dirty vram tracking function
This patch fixes an incorrect mode conversion when disable vram dirty tracking.
Signed-off-by Wei Huang <[email protected]>
xen/arch/x86/mm/hap/hap.c +1 -1
@@ -90,7 +90,7 @@ int hap_disable_vram_tracking(struct dom/* set l1e entries of P2M table with normal mode */ for (i = dirty_vram->begin_pfn; i < dirty_vram->end_pfn; i++) -p2m_change_type (d, i, p2m_ram_rw, p2m_ram_logdirty); +p2m_change_type (d, i, p2m_ram_logdirty, p2m_ram_rw);flush_tlb_mask (&d->domain_dirty_cpumask);return 0 ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel