Jacob Gorm Hansen
2005-Nov-10 13:11 UTC
[Xen-devel] [PATCH] Abstract writes to phys_to_machine_mapping
hi, for my self-migration patch, I need the ability to trap writes to the p2m map during migration, because I keep a dictionary mapping mfns to pfns, which I use for remapping the page tables once I am on the other side. The attached patch abstracts writes through an inline function defined in page.h. diffstat: arch/xen/i386/mm/hypervisor.c | 14 +++++++------- drivers/xen/balloon/balloon.c | 7 +++---- drivers/xen/blkback/blkback.c | 6 +++--- drivers/xen/blktap/blktap.c | 4 ++-- drivers/xen/netback/netback.c | 8 +++----- drivers/xen/netfront/netfront.c | 5 ++--- drivers/xen/tpmback/tpmback.c | 6 +++--- include/asm-xen/asm-i386/page.h | 4 ++++ 8 files changed, 27 insertions(+), 27 deletions(-) best, Jacob -- Save time and bandwidth with EDelta: http://www.diku.dk/~jacobg/edelta/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel