From: "Michael S. Tsirkin" <mst@redhat.com>
To: Hu Tao <hutao@cn.fujitsu.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>,
Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org, Igor Mammedov <imammedo@redhat.com>
Subject: Re: [Qemu-devel] [PATCH V3 for 2.1 0/2] bug fixs for memory backend
Date: Mon, 7 Jul 2014 15:39:17 +0300 [thread overview]
Message-ID: <20140707123917.GB21346@redhat.com> (raw)
In-Reply-To: <cover.1404730357.git.hutao@cn.fujitsu.com>
On Mon, Jul 07, 2014 at 06:55:26PM +0800, Hu Tao wrote:
> 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()
I'm not merging this for 2.1, sorry.
There's a simple workaround, we can fix this in 2.2.
> 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
prev parent reply other threads:[~2014-07-07 12:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Michael S. Tsirkin [this message]
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=20140707123917.GB21346@redhat.com \
--to=mst@redhat.com \
--cc=hutao@cn.fujitsu.com \
--cc=imammedo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=y-goto@jp.fujitsu.com \
/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.