[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1] tools: handle more than 16T in precopy_stats



total_written tracks the number of transferred dirty pages.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/include/xenguest.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/include/xenguest.h b/tools/include/xenguest.h
index a9984dbea5..775cf34c04 100644
--- a/tools/include/xenguest.h
+++ b/tools/include/xenguest.h
@@ -438,7 +438,7 @@ struct xenevtchn_handle;
 struct precopy_stats
 {
     unsigned int iteration;
-    unsigned int total_written;
+    unsigned long total_written;
     long dirty_count; /* -1 if unknown */
 };
 



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.