* [PATCH] stubdom: Fix modified_memory size calculation
@ 2008-07-08 11:18 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-07-08 11:18 UTC (permalink / raw)
To: xen-devel
stubdom: Fix modified_memory size calculation
>> is less prioritized than -
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
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)
+ - (_addr >> TARGET_PAGE_BITS));
#endif
mapcache_unlock();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-08 11:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 11:18 [PATCH] stubdom: Fix modified_memory size calculation Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.