[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/9 v2] Add API to manipulate dump_bitmap
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 1/9 v2] Add API to manipulate dump_bitmap |
Date: |
Fri, 17 May 2013 10:20:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Am 15.05.2013 04:29, schrieb Qiao Nuohan:
> Struct dump_bitmap is associated with a tmp file, and the tmp file can be used
> to save data of bitmap in kdump-compressed format temporarily.
> The following patch will use these functions to get the data of bitmap and
> cache
> them into tmp files.
>
> Signed-off-by: Qiao Nuohan <address@hidden>
> Reviewed-by: Zhang Xiaohe <address@hidden>
> ---
> Makefile.target | 2 +-
> dump_bitmap.c | 171
> +++++++++++++++++++++++++++++++++++++++++++++++++
> include/dump_bitmap.h | 60 +++++++++++++++++
> 3 files changed, 232 insertions(+), 1 deletions(-)
> create mode 100644 dump_bitmap.c
> create mode 100644 include/dump_bitmap.h
>
> diff --git a/Makefile.target b/Makefile.target
> index ce4391f..00d4f13 100644
> --- a/Makefile.target
> +++ b/Makefile.target
> @@ -112,7 +112,7 @@ obj-$(CONFIG_FDT) += device_tree.o
> obj-$(CONFIG_KVM) += kvm-all.o
> obj-y += memory.o savevm.o cputlb.o
> obj-$(CONFIG_HAVE_GET_MEMORY_MAPPING) += memory_mapping.o
> -obj-$(CONFIG_HAVE_CORE_DUMP) += dump.o
> +obj-$(CONFIG_HAVE_CORE_DUMP) += dump.o dump_bitmap.o
> obj-$(CONFIG_NO_GET_MEMORY_MAPPING) += memory_mapping-stub.o
> obj-$(CONFIG_NO_CORE_DUMP) += dump-stub.o
> LIBS+=$(libs_softmmu)
[snip]
Jens and me have been working towards removing the dependency on
CONFIG_HAVE_CORE_DUMP. Would there be any issue building this code
unconditionally using obj-y += dump_bitmap.o ?
Regards,
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCH 6/9 v2] Add API to create page, (continued)
- [Qemu-devel] [PATCH 6/9 v2] Add API to create page, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 8/9 v2] Add API to write header, bitmap and page into vmcore, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 9/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 5/9 v2] Add API to create data of dump bitmap, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 4/9 v2] Add API to create header of vmcore, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 7/9 v2] Add API to free buf used by creating header, bitmap and page, qiaonuohan, 2013/05/12
- [Qemu-devel] [PATCH 0/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 2/9 v2] Add API to manipulate cache_data, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 5/9 v2] Add API to create data of dump bitmap, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 6/9 v2] Add API to create page, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 8/9 v2] Add API to write header, bitmap and page into vmcore, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 7/9 v2] Add API to free buf used by creating header, bitmap and page, Qiao Nuohan, 2013/05/14
- [Qemu-devel] [PATCH 9/9 v2] Make monitor command 'dump-guest-memory' dump in kdump-compressed format, Qiao Nuohan, 2013/05/14