[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [p2m][hap] Fix dirty vram tracking function
This patch fixes an incorrect mode conversion when disable vram dirty tracking. Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> Signed-off-by: Wei Huang <wei.huang2@xxxxxxx> diff -r f3655757bbf6 -r ab5892928417 xen/arch/x86/mm/hap/hap.c --- a/xen/arch/x86/mm/hap/hap.c Sun Jun 28 22:17:37 2009 -0500 +++ b/xen/arch/x86/mm/hap/hap.c Tue Jun 30 03:41:02 2009 -0500 @@ -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 Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |