From: Hu Tao <hutao@cn.fujitsu.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: [Qemu-devel] [PATCH v4 0/6] bug fixs for memory backend
Date: Tue, 5 Aug 2014 13:56:27 +0800 [thread overview]
Message-ID: <cover.1407206291.git.hutao@cn.fujitsu.com> (raw)
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
next reply other threads:[~2014-08-05 5:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 5:56 Hu Tao [this message]
2014-08-05 5:56 ` [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 11:47 ` Eric Blake
2014-08-06 1:26 ` Hu Tao
2014-08-05 5:56 ` [Qemu-devel] [PATCH v4 2/6] exec: improve error handling and reporting in file_ram_alloc() and gethugepagesize() Hu Tao
2014-08-05 5:56 ` [Qemu-devel] [PATCH v4 3/6] rename memory_region_init_ram to memory_region_init_ram_nofail Hu Tao
2014-08-05 6:42 ` Peter Crosthwaite
2014-08-05 7:05 ` Hu Tao
2014-08-05 22:29 ` Peter Crosthwaite
2014-08-05 5:56 ` [Qemu-devel] [PATCH v4 4/6] rename memory_region_init_ram_may_fail to memory_region_init_ram Hu Tao
2014-08-05 5:56 ` [Qemu-devel] [PATCH v4 5/6] rename memory_region_init_ram_ptr to memory_region_init_ram_ptr_nofail Hu Tao
2014-08-05 5:56 ` [Qemu-devel] [PATCH v4 6/6] rename memory_region_init_ram_ptr_may_fail to memory_region_init_ram_ptr Hu Tao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1407206291.git.hutao@cn.fujitsu.com \
--to=hutao@cn.fujitsu.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.