tools: handle more than 16T in precopy_stats
PATCH 1/1 tools: handle more than 16T in precopy_stats
total_written tracks the number of transferred dirty pages.
Signed-off-by Olaf Hering <[email protected]>
--- tools/include/xenguest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/xenguest.h +1 -1
@@ -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 */ };
Quoted 3 lines · Olaf Hering
total_writtentracks the number of transferred dirty pages.Signed-off-by Olaf Hering <[email protected]>
Acked-by Wei Liu <[email protected]>
Quoted 17 lines
--- tools/include/xenguest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/include/xenguest.h +1
-1@@ -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 */ };
Quoted 6 lines · Wei Liu
Quoted 3 lines · Olaf Hering
total_writtentracks the number of transferred dirty pages.Signed-off-by Olaf Hering <[email protected]>Acked-by Wei Liu <[email protected]>
I've added libxenguest in the commit subject line to be more specific.
Quoted 18 lines
Quoted 18 lines
--- tools/include/xenguest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/include/xenguest.h +1
-1@@ -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 */ };