[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/6] bug fixs for memory backend
From: |
Hu Tao |
Subject: |
[Qemu-devel] [PATCH v4 0/6] bug fixs for memory backend |
Date: |
Tue, 5 Aug 2014 13:56:27 +0800 |
This series includes:
1. two patches to fix bugs of memory backend. See patch 1-2.
2. Add errp to memory_region_init_ram and memory_region_init_ram_ptr,
and add corresponding nofail versions. See patch 3-4.
changes to v3:
- fix build on 32bit host
- add memory API renaming
- rebase on latest master
Hu Tao (6):
memory: add memory_region_init_ram_may_fail() and
memory_region_init_ram_ptr_may_fail()
exec: improve error handling and reporting in file_ram_alloc() and
gethugepagesize()
rename memory_region_init_ram to memory_region_init_ram_nofail
rename memory_region_init_ram_may_fail to memory_region_init_ram
rename memory_region_init_ram_ptr to memory_region_init_ram_ptr_nofail
rename memory_region_init_ram_ptr_may_fail to
memory_region_init_ram_ptr
backends/hostmem-ram.c | 2 +-
exec.c | 53 ++++++++++++++++++++-----------
hw/alpha/typhoon.c | 2 +-
hw/arm/armv7m.c | 6 ++--
hw/arm/cubieboard.c | 2 +-
hw/arm/digic_boards.c | 2 +-
hw/arm/exynos4210.c | 9 +++---
hw/arm/highbank.c | 4 +--
hw/arm/integratorcp.c | 5 +--
hw/arm/kzm.c | 4 +--
hw/arm/mainstone.c | 2 +-
hw/arm/musicpal.c | 5 +--
hw/arm/omap1.c | 6 ++--
hw/arm/omap2.c | 4 +--
hw/arm/omap_sx1.c | 5 +--
hw/arm/palm.c | 2 +-
hw/arm/pxa2xx.c | 9 +++---
hw/arm/realview.c | 7 +++--
hw/arm/spitz.c | 2 +-
hw/arm/strongarm.c | 3 +-
hw/arm/tosa.c | 2 +-
hw/arm/versatilepb.c | 3 +-
hw/arm/vexpress.c | 10 +++---
hw/arm/virt.c | 3 +-
hw/arm/xilinx_zynq.c | 4 +--
hw/block/onenand.c | 2 +-
hw/core/loader.c | 2 +-
hw/cris/axis_dev88.c | 5 +--
hw/display/cg3.c | 5 +--
hw/display/g364fb.c | 4 +--
hw/display/qxl.c | 6 ++--
hw/display/sm501.c | 2 +-
hw/display/tc6393xb.c | 2 +-
hw/display/tcx.c | 5 +--
hw/display/vga.c | 2 +-
hw/display/vmware_vga.c | 3 +-
hw/i386/kvm/pci-assign.c | 5 +--
hw/i386/pc.c | 2 +-
hw/i386/pc_sysfw.c | 4 +--
hw/input/milkymist-softusb.c | 4 +--
hw/lm32/lm32_boards.c | 5 +--
hw/lm32/milkymist.c | 3 +-
hw/m68k/an5206.c | 4 +--
hw/m68k/dummy_m68k.c | 2 +-
hw/m68k/mcf5208.c | 4 +--
hw/microblaze/petalogix_ml605_mmu.c | 7 +++--
hw/microblaze/petalogix_s3adsp1800_mmu.c | 5 +--
hw/mips/mips_fulong2e.c | 4 +--
hw/mips/mips_jazz.c | 7 +++--
hw/mips/mips_malta.c | 4 +--
hw/mips/mips_mipssim.c | 4 +--
hw/mips/mips_r4k.c | 4 +--
hw/misc/ivshmem.c | 9 +++---
hw/misc/vfio.c | 3 +-
hw/moxie/moxiesim.c | 4 +--
hw/net/milkymist-minimac2.c | 4 +--
hw/openrisc/openrisc_sim.c | 2 +-
hw/pci-host/prep.c | 2 +-
hw/pci/pci.c | 2 +-
hw/ppc/mac_newworld.c | 2 +-
hw/ppc/mac_oldworld.c | 2 +-
hw/ppc/ppc405_boards.c | 7 +++--
hw/ppc/ppc405_uc.c | 2 +-
hw/ppc/spapr.c | 4 +--
hw/s390x/s390-virtio-ccw.c | 2 +-
hw/s390x/s390-virtio.c | 2 +-
hw/sh4/r2d.c | 2 +-
hw/sh4/shix.c | 6 ++--
hw/sparc/leon3.c | 4 +--
hw/sparc/sun4m.c | 9 +++---
hw/sparc64/sun4u.c | 5 +--
hw/unicore32/puv3.c | 2 +-
hw/xtensa/sim.c | 4 +--
hw/xtensa/xtfpga.c | 6 ++--
include/exec/memory.h | 48 ++++++++++++++++++++++++----
include/exec/ram_addr.h | 4 +--
memory.c | 54 +++++++++++++++++++++++++++++---
numa.c | 4 +--
xen-hvm.c | 2 +-
79 files changed, 291 insertions(+), 168 deletions(-)
--
1.9.3
- [Qemu-devel] [PATCH v4 0/6] bug fixs for memory backend,
Hu Tao <=
- [Qemu-devel] [PATCH v4 2/6] exec: improve error handling and reporting in file_ram_alloc() and gethugepagesize(), Hu Tao, 2014/08/05
- [Qemu-devel] [PATCH v4 1/6] memory: add memory_region_init_ram_may_fail() and memory_region_init_ram_ptr_may_fail(), Hu Tao, 2014/08/05
- [Qemu-devel] [PATCH v4 5/6] rename memory_region_init_ram_ptr to memory_region_init_ram_ptr_nofail, Hu Tao, 2014/08/05
- [Qemu-devel] [PATCH v4 6/6] rename memory_region_init_ram_ptr_may_fail to memory_region_init_ram_ptr, Hu Tao, 2014/08/05
- [Qemu-devel] [PATCH v4 4/6] rename memory_region_init_ram_may_fail to memory_region_init_ram, Hu Tao, 2014/08/05
- [Qemu-devel] [PATCH v4 3/6] rename memory_region_init_ram to memory_region_init_ram_nofail, Hu Tao, 2014/08/05