WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] libxc, ia64: ia64 counter part of 22275:e95dc0eb152d

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] libxc, ia64: ia64 counter part of 22275:e95dc0eb152d and 22285:36a317494429
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Fri, 29 Oct 2010 16:42:20 +0900 (JST)
Delivery-date: Fri, 29 Oct 2010 00:43:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] libxc, ia64: ia64 counter part of 22275:e95dc0eb152d and 22285:36a317494429, KUWAMURA Shin'ya <=