[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] RFC: add -mem-shared option
From: |
Igor Mammedov |
Subject: |
Re: [PATCH 0/2] RFC: add -mem-shared option |
Date: |
Fri, 29 Nov 2019 10:18:13 +0100 |
On Thu, 28 Nov 2019 13:10:21 -0300
Eduardo Habkost <address@hidden> wrote:
> On Thu, Nov 28, 2019 at 06:15:16PM +0400, Marc-André Lureau wrote:
> > Hi,
> >
> > Setting up shared memory for vhost-user is a bit complicated from
> > command line, as it requires NUMA setup such as: m 4G -object
> > memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on -numa
> > node,memdev=mem.
> >
> > Instead, I suggest to add a -mem-shared option for non-numa setups,
> > that will make the -mem-path or anonymouse memory shareable.
>
> Can we make this be a "-m" option?
>
> Or, even better: can we make "-m" options be automatically
> translated to memory-backend-* options somehow?
-m SIZE will be translated to a one of memdev properties,
so new suboption potentially could be an aliased to
another memdev property.
- Re: [PATCH 2/2] Add -mem-shared option, (continued)
- Re: [PATCH 2/2] Add -mem-shared option, Eduardo Habkost, 2019/11/28
- Re: [PATCH 2/2] Add -mem-shared option, Igor Mammedov, 2019/11/28
- Re: [PATCH 2/2] Add -mem-shared option, Marc-André Lureau, 2019/11/28
- Re: [PATCH 2/2] Add -mem-shared option, Igor Mammedov, 2019/11/29
- Re: [PATCH 2/2] Add -mem-shared option, Paolo Bonzini, 2019/11/29
- Re: [PATCH 2/2] Add -mem-shared option, Markus Armbruster, 2019/11/29
- Re: [PATCH 2/2] Add -mem-shared option, Eduardo Habkost, 2019/11/29
- Re: [PATCH 2/2] Add -mem-shared option, Igor Mammedov, 2019/11/29
- Re: [PATCH 2/2] Add -mem-shared option, Paolo Bonzini, 2019/11/29
Re: [PATCH 0/2] RFC: add -mem-shared option, Eduardo Habkost, 2019/11/28
Re: [PATCH 0/2] RFC: add -mem-shared option, Dr. David Alan Gilbert, 2019/11/28
Re: [PATCH 0/2] RFC: add -mem-shared option, no-reply, 2019/11/28
Re: [PATCH 0/2] RFC: add -mem-shared option, no-reply, 2019/11/29
Re: [PATCH 0/2] RFC: add -mem-shared option, Gerd Hoffmann, 2019/11/29