Hi,
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>
--
KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1288232914 -32400
# Node ID 0b66bc83e438eae4fe5183f001228c20aa2a5f22
# Parent 9b133ea4f303139b98b33484eff96d11c2089c13
libxc,ia64: ia64 counter part of 22275:e95dc0eb152d and 22285:36a317494429
Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
diff -r 9b133ea4f303 -r 0b66bc83e438 tools/libxc/ia64/xc_ia64_linux_save.c
--- a/tools/libxc/ia64/xc_ia64_linux_save.c Thu Oct 28 11:04:04 2010 +0900
+++ b/tools/libxc/ia64/xc_ia64_linux_save.c Thu Oct 28 11:28:34 2010 +0900
@@ -563,7 +563,7 @@ xc_domain_save(xc_interface *xch, int io
}
/* 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;
}
@@ -794,7 +794,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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|