Displaying 1 result from an estimated 1 matches for "incomp_fd".
2006 Sep 18
1
Re: dumpcore changes -- [Xen-changelog] [xen-unstable] In this patch, the xc_domain_dumpcore_via_callback() in xc_core.c of
...-5,6 +5,12 @@
> /* number of pages to write at a time */
> #define DUMP_INCREMENT (4 * 1024)
> #define round_pgup(_p) (((_p)+(PAGE_SIZE-1))&PAGE_MASK)
> +
> +/* Callback args for writing to a local dump file. */
> +struct dump_args {
> + int fd;
> + int incomp_fd;
> +};
>
> static int
> copy_from_domain_page(int xc_handle,
> @@ -27,7 +33,7 @@ xc_domain_dumpcore_via_callback(int xc_h
> void *args,
> dumpcore_rtn_t dump_rtn)
> {
> - unsigned long nr_pages;
> +...