From: Marcelo Tosatti <mtosatti@redhat.com>
To: qemu-devel <qemu-devel@nongnu.org>, kvm-devel <kvm@vger.kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: file_ram_alloc: unify mem-path,mem-prealloc error handling
Date: Tue, 4 Feb 2014 13:43:14 -0500 [thread overview]
Message-ID: <20140204184314.GA25613@amt.cnet> (raw)
In-Reply-To: <20140204184153.GA25368@amt.cnet>
On Tue, Feb 04, 2014 at 01:41:53PM -0500, Marcelo Tosatti wrote:
>
> -mem-prealloc asks to preallocate memory residing on -mem-path path.
>
> Currently QEMU exits in case:
>
> - Memory file has been created but allocation via explicit write
> fails.
>
> And it fallbacks to malloc in case:
> - Querying huge page size fails.
> - Lack of sync MMU support.
> - Open fails.
> - mmap fails.
>
> Have the same behaviour for all cases: fail in case -mem-path and
> -mem-prealloc are specified for regions where the requested size is
> suitable for hugepages.
>
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Forgot uq/master on the subject (but its aimed for that tree).
WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti@redhat.com>
To: qemu-devel <qemu-devel@nongnu.org>, kvm-devel <kvm@vger.kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] file_ram_alloc: unify mem-path, mem-prealloc error handling
Date: Tue, 4 Feb 2014 13:43:14 -0500 [thread overview]
Message-ID: <20140204184314.GA25613@amt.cnet> (raw)
In-Reply-To: <20140204184153.GA25368@amt.cnet>
On Tue, Feb 04, 2014 at 01:41:53PM -0500, Marcelo Tosatti wrote:
>
> -mem-prealloc asks to preallocate memory residing on -mem-path path.
>
> Currently QEMU exits in case:
>
> - Memory file has been created but allocation via explicit write
> fails.
>
> And it fallbacks to malloc in case:
> - Querying huge page size fails.
> - Lack of sync MMU support.
> - Open fails.
> - mmap fails.
>
> Have the same behaviour for all cases: fail in case -mem-path and
> -mem-prealloc are specified for regions where the requested size is
> suitable for hugepages.
>
> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Forgot uq/master on the subject (but its aimed for that tree).
next prev parent reply other threads:[~2014-02-04 18:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 18:41 file_ram_alloc: unify mem-path,mem-prealloc error handling Marcelo Tosatti
2014-02-04 18:41 ` [Qemu-devel] file_ram_alloc: unify mem-path, mem-prealloc " Marcelo Tosatti
2014-02-04 18:43 ` Marcelo Tosatti [this message]
2014-02-04 18:43 ` Marcelo Tosatti
2014-02-07 8:39 ` file_ram_alloc: unify mem-path,mem-prealloc " Paolo Bonzini
2014-02-07 8:39 ` [Qemu-devel] file_ram_alloc: unify mem-path, mem-prealloc " Paolo Bonzini
2014-02-27 18:30 ` file_ram_alloc: unify mem-path,mem-prealloc " Paolo Bonzini
2014-02-27 18:30 ` [Qemu-devel] file_ram_alloc: unify mem-path, mem-prealloc " Paolo Bonzini
2014-02-28 1:05 ` file_ram_alloc: unify mem-path,mem-prealloc " Marcelo Tosatti
2014-02-28 1:05 ` [Qemu-devel] file_ram_alloc: unify mem-path, mem-prealloc " Marcelo Tosatti
2014-02-28 12:55 ` Igor Mammedov
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=20140204184314.GA25613@amt.cnet \
--to=mtosatti@redhat.com \
--cc=kvm@vger.kernel.org \
--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.