projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3de16c
)
stubdom: Fix modified_memory size calculation
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 8 Jul 2008 11:24:14 +0000
(12:24 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 8 Jul 2008 11:24:14 +0000
(12:24 +0100)
>> is less prioritized than -
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/ioemu/target-i386-dm/exec-dm.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/target-i386-dm/exec-dm.c
b/tools/ioemu/target-i386-dm/exec-dm.c
index 1df1ed96c2148608cea79433cb908e209b906d40..74235675f964ac58d502645299c70ef8de854649 100644
(file)
--- a/
tools/ioemu/target-i386-dm/exec-dm.c
+++ b/
tools/ioemu/target-i386-dm/exec-dm.c
@@
-573,8
+573,8
@@
void cpu_physical_memory_rw(target_phys_addr_t _addr, uint8_t *buf,
#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();