qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V3 for 2.1 0/2] bug fixs for memory backend
@ 2014-07-07 10:55 Hu Tao
  2014-07-07 10:55 ` [Qemu-devel] [PATCH V3 for 2.1 1/2] memory: add memory_region_init_ram_may_fail() and memory_region_init_ram_ptr_may_fail() Hu Tao
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hu Tao @ 2014-07-07 10:55 UTC (permalink / raw)
  To: qemu-devel
  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.

changes to v2:

- introduce memory_region_init_ram_may_fail and
  memory_region_init_ram_ptr_may_fail

- address comments by MST

- missing the functions renaming. will send later.

Hu Tao (2):
  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()

 backends/hostmem-ram.c  |  4 ++--
 exec.c                  | 51 +++++++++++++++++++++++++++--------------
 hw/block/pflash_cfi01.c |  5 +++-
 hw/block/pflash_cfi02.c |  5 +++-
 include/exec/memory.h   | 40 +++++++++++++++++++++++++++++++-
 include/exec/ram_addr.h |  4 ++--
 memory.c                | 61 +++++++++++++++++++++++++++++++++++++++----------
 7 files changed, 134 insertions(+), 36 deletions(-)

-- 
1.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-11  8:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 10:55 [Qemu-devel] [PATCH V3 for 2.1 0/2] bug fixs for memory backend Hu Tao
2014-07-07 10:55 ` [Qemu-devel] [PATCH V3 for 2.1 1/2] memory: add memory_region_init_ram_may_fail() and memory_region_init_ram_ptr_may_fail() Hu Tao
2014-07-07 12:27   ` Michael S. Tsirkin
2014-07-11  8:40     ` Hu Tao
2014-07-07 10:55 ` [Qemu-devel] [PATCH V3 for 2.1 2/2] exec: improve error handling and reporting in file_ram_alloc() and gethugepagesize() Hu Tao
2014-07-07 12:38   ` Michael S. Tsirkin
2014-07-07 12:39 ` [Qemu-devel] [PATCH V3 for 2.1 0/2] bug fixs for memory backend Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).