[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v3 1/7] Add -mem-share option |
Date: |
Tue, 17 Dec 2013 12:11:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130923 Thunderbird/17.0.9 |
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 ShareMem backend
> or something like this.
We need three backends, something like the following:
- anonymous mmap (-object memory-ram,size=128M)
- file mmap (-object memory-file,shared=on/off,size=128M,file=FILENAME),
creates file if size property provided.
- mkstemp + file mmap (-object memory-hugepage,size=128M,path=PATH)
I don't think shared=on/off is useful in the third case, but it would be
trivial to add.
Paolo
[Qemu-devel] [PATCH v3 3/7] Add vhost-user skeleton, Antonios Motakis, 2013/12/13
[Qemu-devel] [PATCH v3 2/7] Decouple vhost from kernel interface, Antonios Motakis, 2013/12/13
[Qemu-devel] [PATCH v3 4/7] Add domain socket communication for vhost-user backend, Antonios Motakis, 2013/12/13
[Qemu-devel] [PATCH v3 5/7] Add vhost-user calls implementation, Antonios Motakis, 2013/12/13
[Qemu-devel] [PATCH v3 6/7] Add new vhost-user netdev backend, Antonios Motakis, 2013/12/13