# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1288787220 0
# Node ID 66c0e432398f055f42af2493e22690cbf98b0686
# Parent 477dda47486eefee7126f5df07e6058725295424
libxc, ia64: ia64 counterpart of 22275:e95dc0eb152d and 22285:36a317494429
This patch fixes compilation errors by 22275:e95dc0eb152d:
ia64/xc_ia64_linux_save.c:797: error: too few arguments to function
'callbacks->switch_qemu_logdirty'
and applies 22285:36a317494429 to ia64.
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
tools/libxc/ia64/xc_ia64_linux_save.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 477dda47486e -r 66c0e432398f tools/libxc/ia64/xc_ia64_linux_save.c
--- a/tools/libxc/ia64/xc_ia64_linux_save.c Wed Nov 03 12:10:46 2010 +0000
+++ b/tools/libxc/ia64/xc_ia64_linux_save.c Wed Nov 03 12:27:00 2010 +0000
@@ -554,7 +554,7 @@ xc_domain_save(xc_interface *xch, int io
memset(to_send, 0xff, bitmap_size);
/* Enable qemu-dm logging dirty pages to xen */
- if (hvm && !callbacks->switch_qemu_logdirty(dom, 1, callbacks->data)) {
+ if (hvm && callbacks->switch_qemu_logdirty(dom, 1, callbacks->data)) {
ERROR("Unable to enable qemu log-dirty mode");
goto out;
}
@@ -785,7 +785,8 @@ xc_domain_save(xc_interface *xch, int io
NULL, 0, NULL, 0, NULL ) < 0) {
DPRINTF("Warning - couldn't disable shadow mode");
}
- if ( hvm && !callbacks->switch_qemu_logdirty(dom, 0) ) {
+ if ( hvm &&
+ callbacks->switch_qemu_logdirty(dom, 0, callbacks->data) ) {
DPRINTF("Warning - couldn't disable qemu log-dirty mode");
}
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|