Re: [Qemu-devel] [PATCH v5 8/9] dump: Add API to write dump pages

2013-07-16 Thread Eric Blake
On 07/15/2013 08:43 PM, Stefan Hajnoczi wrote: > On Tue, Jul 09, 2013 at 03:30:13PM +0800, Qiao Nuohan wrote: >> if test "$seccomp" != "no" ; then >> @@ -3872,6 +3914,14 @@ if test "$glx" = "yes" ; then >>echo "GLX_LIBS=$glx_libs" >> $config_host_mak >> fi >> >> +if test "$lzo" = "yes" ; th

Re: [Qemu-devel] [PATCH v5 8/9] dump: Add API to write dump pages

2013-07-15 Thread Qiao Nuohan
Thanks for your comments! On 07/16/2013 10:43 AM, Stefan Hajnoczi wrote: @@ -130,6 +139,13 @@ typedef struct DataCache { >off_t offset; /* offset of the file */ >} DataCache; > > +typedef struct PageDesc { > +off_t offset; /* the offset of the page data

Re: [Qemu-devel] [PATCH v5 8/9] dump: Add API to write dump pages

2013-07-15 Thread Stefan Hajnoczi
On Tue, Jul 09, 2013 at 03:30:13PM +0800, Qiao Nuohan wrote: > if test "$seccomp" != "no" ; then > @@ -3872,6 +3914,14 @@ if test "$glx" = "yes" ; then >echo "GLX_LIBS=$glx_libs" >> $config_host_mak > fi > > +if test "$lzo" = "yes" ; then > + echo "CONFIG_LZO=y" >> $config_host_mak > +fi >

[Qemu-devel] [PATCH v5 8/9] dump: Add API to write dump pages

2013-07-09 Thread Qiao Nuohan
functions are used to write page desc and page data to vmcore. Signed-off-by: Qiao Nuohan Reviewed-by: Zhang Xiaohe --- configure | 50 + dump.c| 264 + include/sysemu/dump.h | 16 +++ 3 files changed, 330