On 05/11/2015 07:49 PM, Ian Campbell wrote:
On Mon, 2015-05-11 at 12:47 +0100, Ian Campbell wrote:
Actually this is another trick that I need to deal with those
hypercall macros.
DECLARE_HYPERCALL_BUFFER_SHADOW will define a user pointer dirty_bitmap
and a shadow buffer, although
On Mon, 2015-05-11 at 09:20 +0800, Hongyang Yang wrote:
On 05/08/2015 06:08 PM, Andrew Cooper wrote:
On 08/05/15 10:59, Hongyang Yang wrote:
In general, a good change, but some comments...
---
tools/libxc/xc_sr_save.c | 72
+---
On Mon, 2015-05-11 at 12:47 +0100, Ian Campbell wrote:
Actually this is another trick that I need to deal with those
hypercall macros.
DECLARE_HYPERCALL_BUFFER_SHADOW will define a user pointer dirty_bitmap
and a shadow buffer, although xc_hypercall_buffer_free_pages takes
On 05/08/2015 06:08 PM, Andrew Cooper wrote:
On 08/05/15 10:59, Hongyang Yang wrote:
In general, a good change, but some comments...
---
tools/libxc/xc_sr_save.c | 72
+---
1 file changed, 44 insertions(+), 28 deletions(-)
diff --git
On 05/08/2015 05:45 PM, Andrew Cooper wrote:
On 08/05/15 10:33, Yang Hongyang wrote:
introduce setup() and cleanup() which subsume the
ctx-save.ops.{setup,cleanup}() calls and also do allocate/free
necessary memory.
The SHADOW_OP_OFF hypercall also included in the cleanup().
Signed-off-by:
introduce setup() and cleanup() which subsume the
ctx-save.ops.{setup,cleanup}() calls and also do allocate/free
necessary memory.
The SHADOW_OP_OFF hypercall also included in the cleanup().
Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com
---
tools/libxc/xc_sr_save.c | 72
On 08/05/15 10:33, Yang Hongyang wrote:
introduce setup() and cleanup() which subsume the
ctx-save.ops.{setup,cleanup}() calls and also do allocate/free
necessary memory.
The SHADOW_OP_OFF hypercall also included in the cleanup().
Signed-off-by: Yang Hongyang yan...@cn.fujitsu.com
I would
On 08/05/15 10:59, Hongyang Yang wrote:
In general, a good change, but some comments...
---
tools/libxc/xc_sr_save.c | 72
+---
1 file changed, 44 insertions(+), 28 deletions(-)
diff --git a/tools/libxc/xc_sr_save.c