search for: xen_logdirty_enable

Displaying 2 results from an estimated 2 matches for "xen_logdirty_enable".

2012 Jul 23
2
[PATCH V2] qemu-xen-traditionnal, Fix dirty logging during migration.
...n) { struct map_cache *entry = NULL, *pentry = NULL; struct map_cache_rev *reventry; @@ -210,6 +211,17 @@ void qemu_invalidate_entry(uint8_t *buffer) fprintf(logfile, "Trying to unmap address %p that is not in the mapcache!\n", buffer); return; } + 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, dom...
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