Re: [RFC] provide an API to userspace doing memory snapshot

2013-04-17 Thread Stefan Hajnoczi
On Tue, Apr 16, 2013 at 03:54:15PM +0800, Wenchao Xia wrote: 于 2013-4-16 13:51, Stefan Hajnoczi 写道: On Mon, Apr 15, 2013 at 09:03:36PM +0800, Wenchao Xia wrote: I'd like to add/export an function which allow userspace program to take snapshot for a region of memory. Since it is not

Re: [RFC] provide an API to userspace doing memory snapshot

2013-04-16 Thread Wenchao Xia
于 2013-4-16 13:51, Stefan Hajnoczi 写道: On Mon, Apr 15, 2013 at 09:03:36PM +0800, Wenchao Xia wrote: I'd like to add/export an function which allow userspace program to take snapshot for a region of memory. Since it is not implemented yet I will describe it as C APIs, it is quite simple now

[RFC] provide an API to userspace doing memory snapshot

2013-04-15 Thread Wenchao Xia
Hi, I'd like to add/export an function which allow userspace program to take snapshot for a region of memory. Since it is not implemented yet I will describe it as C APIs, it is quite simple now and if it is worthy I'll improve the interface later: Simple prototype: C API in userspace: /* *

Re: [RFC] provide an API to userspace doing memory snapshot

2013-04-15 Thread Stefan Hajnoczi
On Mon, Apr 15, 2013 at 09:03:36PM +0800, Wenchao Xia wrote: I'd like to add/export an function which allow userspace program to take snapshot for a region of memory. Since it is not implemented yet I will describe it as C APIs, it is quite simple now and if it is worthy I'll improve the