From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2aGX-0004Qr-Ad for qemu-devel@nongnu.org; Thu, 03 Jul 2014 02:13:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2aGQ-0001Ep-3S for qemu-devel@nongnu.org; Thu, 03 Jul 2014 02:13:05 -0400 Received: from [59.151.112.132] (port=7243 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2aGP-0001Bj-NT for qemu-devel@nongnu.org; Thu, 03 Jul 2014 02:12:58 -0400 From: Hu Tao Date: Thu, 3 Jul 2014 14:10:54 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH for 2.1 0/2] bug fixs for memory backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Yasunori Goto , "Michael S. Tsirkin" , Paolo Bonzini , Igor Mammedov This series includes two patches to fix bugs of memory backend. See each patch for the bugs and how to reproduce them. Hu Tao (2): memory: introduce memory_region_init_ram_nofail() and memory_region_init_ram_ptr_nofail() memory-backend-file: improve error handling backends/hostmem-ram.c | 2 +- exec.c | 46 ++++++++++++++++++++++++-------------- hw/block/pflash_cfi01.c | 5 ++++- hw/block/pflash_cfi02.c | 5 ++++- hw/core/loader.c | 2 +- hw/display/vga.c | 2 +- hw/display/vmware_vga.c | 3 ++- hw/i386/kvm/pci-assign.c | 9 ++++---- hw/i386/pc.c | 2 +- hw/i386/pc_sysfw.c | 4 ++-- hw/misc/ivshmem.c | 9 ++++---- hw/misc/vfio.c | 3 ++- hw/pci/pci.c | 2 +- include/exec/memory.h | 32 ++++++++++++++++++++++++--- include/exec/ram_addr.h | 4 ++-- memory.c | 57 +++++++++++++++++++++++++++++++++++++++++++----- numa.c | 4 ++-- 17 files changed, 143 insertions(+), 48 deletions(-) -- 1.9.3