Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-17 Thread Paolo Bonzini
Il 16/12/2013 16:47, Igor Mammedov ha scritto: > memdev is introduced here: > http://lists.gnu.org/archive/html/qemu-devel/2013-11/msg02532.html > > as for mem-path & mem-prealloc, I was thinking about adding HugePageMem > backend > to handle hugepage specifics. mem-share could be a part of Shar

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-16 Thread Edgar E. Iglesias
On Mon, Dec 16, 2013 at 04:21:28PM +0100, Antonios Motakis wrote: >On Mon, Dec 16, 2013 at 8:32 AM, Edgar E. Iglesias > wrote: > > On Fri, Dec 13, 2013 at 12:14:31PM +0100, Antonios Motakis wrote: > > This option complements -mem-path. It implies -mem-prealloc. If > specifie

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-16 Thread Igor Mammedov
On Mon, 16 Dec 2013 16:20:04 +0100 Antonios Motakis wrote: > On Sat, Dec 14, 2013 at 4:53 AM, Eric Blake wrote: > > > On 12/13/2013 04:14 AM, Antonios Motakis wrote: > > > This option complements -mem-path. It implies -mem-prealloc. If > > specified, > > > the guest RAM is allocated as a shared

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-16 Thread Antonios Motakis
On Mon, Dec 16, 2013 at 8:32 AM, Edgar E. Iglesias wrote: > On Fri, Dec 13, 2013 at 12:14:31PM +0100, Antonios Motakis wrote: > > This option complements -mem-path. It implies -mem-prealloc. If > specified, > > the guest RAM is allocated as a shared memory object. If both -mem-path > > and -mem-s

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-16 Thread Antonios Motakis
On Sat, Dec 14, 2013 at 4:53 AM, Eric Blake wrote: > On 12/13/2013 04:14 AM, Antonios Motakis wrote: > > This option complements -mem-path. It implies -mem-prealloc. If > specified, > > the guest RAM is allocated as a shared memory object. If both -mem-path > > and -mem-share are provided, the me

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-16 Thread Paolo Bonzini
Il 16/12/2013 08:32, Edgar E. Iglesias ha scritto: > On Fri, Dec 13, 2013 at 12:14:31PM +0100, Antonios Motakis wrote: >> This option complements -mem-path. It implies -mem-prealloc. If specified, >> the guest RAM is allocated as a shared memory object. If both -mem-path >> and -mem-share are provi

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-15 Thread Edgar E. Iglesias
On Fri, Dec 13, 2013 at 12:14:31PM +0100, Antonios Motakis wrote: > This option complements -mem-path. It implies -mem-prealloc. If specified, > the guest RAM is allocated as a shared memory object. If both -mem-path > and -mem-share are provided, the memory is allocated from the HugeTLBFS > suppli

Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-13 Thread Eric Blake
On 12/13/2013 04:14 AM, Antonios Motakis wrote: > This option complements -mem-path. It implies -mem-prealloc. If specified, > the guest RAM is allocated as a shared memory object. If both -mem-path > and -mem-share are provided, the memory is allocated from the HugeTLBFS > supplied path, and then

[Qemu-devel] [PATCH v3 1/7] Add -mem-share option

2013-12-13 Thread Antonios Motakis
This option complements -mem-path. It implies -mem-prealloc. If specified, the guest RAM is allocated as a shared memory object. If both -mem-path and -mem-share are provided, the memory is allocated from the HugeTLBFS supplied path, and then mmapped with MAP_SHARED. Signed-off-by: Antonios Motaki