From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFBMg-0004eh-Dn for qemu-devel@nongnu.org; Sun, 16 Feb 2014 18:43:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFBMb-0004qF-HY for qemu-devel@nongnu.org; Sun, 16 Feb 2014 18:43:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFBMb-0004qA-9o for qemu-devel@nongnu.org; Sun, 16 Feb 2014 18:43:09 -0500 Message-ID: <53014CF5.8070600@redhat.com> Date: Mon, 17 Feb 2014 00:42:45 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1392293009-13812-1-git-send-email-a.motakis@virtualopensystems.com> <1392293009-13812-2-git-send-email-a.motakis@virtualopensystems.com> <5446ebb6-aeff-48dc-b97e-b9a1bfcdfb68@email.android.com> In-Reply-To: <5446ebb6-aeff-48dc-b97e-b9a1bfcdfb68@email.android.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v8 01/17] Convert -mem-path to QemuOpts and add prealloc and share properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev , Antonios Motakis , qemu-devel@nongnu.org, snabb-devel@googlegroups.com Cc: Peter Maydell , Stefan Hajnoczi , mst@redhat.com, Juan Quintela , Alexander Graf , n.nikolaev@virtualopensystems.com, Markus Armbruster , Anthony Liguori , lukego@gmail.com, tech@virtualopensystems.com, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= , Richard Henderson Il 15/02/2014 19:10, Michael Tokarev ha scritto: > 13 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8F 2014 =D0=B3. 16:03:12 GMT= +04:00, Antonios Motakis =D0=BF=D0=B8=D1= =88=D0=B5=D1=82: >> Extend -mem-path with additional properties: >> >> - prealloc=3Don|off - default off, same as -mem-prealloc >> - share=3Don|off - default off, memory is mmapped with MAP_SHARED >=20 > Maybe we should combine -m and -mem-path options together to form somet= hing more sane? It's on the way: it would be something like -object mem-file,size=3D1024M,path=3D/path/to/foo,share=3Don,prealloc=3D= on,id=3Dmem \ -numa node,memdev=3Dmem using the same host/guest split model that is already in use in many other places. Not 2.0 material though. Paolo