Displaying 3 results from an estimated 3 matches for "xc_hvm_modified_memory".
2012 Jul 23
2
[PATCH V2] qemu-xen-traditionnal, Fix dirty logging during migration.
...;
}
+ if (xen_logdirty_enable && was_written) {
+ unsigned long addr = (paddr_index << MCACHE_BUCKET_SHIFT)
+ + ((unsigned long)buffer) - ((unsigned long)entry->vaddr_base);
+ if (access_len == 0)
+ access_len = TARGET_PAGE_SIZE;
+ xc_hvm_modified_memory(xc_handle, domid,
+ addr >> TARGET_PAGE_BITS,
+ ((addr + access_len + TARGET_PAGE_SIZE - 1) >> TARGET_PAGE_BITS)
+ - (addr >> TARGET_PAGE_BITS));
+ }
+
entry->lock--;
if (entry->lock > 0 || pentry == NULL)
return;
@@...
2008 Jul 08
0
[PATCH] stubdom: Fix modified_memory size calculation
...om>
diff -r 87954c7d407e tools/ioemu/target-i386-dm/exec-dm.c
--- a/tools/ioemu/target-i386-dm/exec-dm.c Fri Jul 04 19:52:08 2008 +0100
+++ b/tools/ioemu/target-i386-dm/exec-dm.c Tue Jul 08 12:17:23 2008 +0100
@@ -573,8 +573,8 @@
#ifdef CONFIG_STUBDOM
if (logdirty_bitmap != NULL)
xc_hvm_modified_memory(xc_handle, domid, _addr >> TARGET_PAGE_BITS,
- (_addr + _len + TARGET_PAGE_SIZE - 1) >> TARGET_PAGE_BITS
- - _addr >> TARGET_PAGE_BITS);
+ ((_addr + _len + TARGET_PAGE_SIZE - 1) >> TARGET_PAGE_BITS)
+ - (_ad...
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all,
this is the long awaited patch series to add xen device model support in
qemu; the main author is Anthony Perard.
Developing this series we tried to come up with the cleanest possible
solution from the qemu point of view, limiting the amount of changes to
common code as much as possible. The end result still requires a couple
of hooks in piix_pci but overall the impact should be very