From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr5Nt-00018U-V7 for qemu-devel@nongnu.org; Tue, 27 Oct 2015 10:37:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr5Nq-0008Oz-FJ for qemu-devel@nongnu.org; Tue, 27 Oct 2015 10:37:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr5Nq-0008Ov-9w for qemu-devel@nongnu.org; Tue, 27 Oct 2015 10:37:54 -0400 References: <002701d110be$ed01e4d0$c705ae70$@samsung.com> From: Eric Blake Message-ID: <562F8C40.1030707@redhat.com> Date: Tue, 27 Oct 2015 08:37:52 -0600 MIME-Version: 1.0 In-Reply-To: <002701d110be$ed01e4d0$c705ae70$@samsung.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HRAEWJMTFC61BfDTatbLBtOL69Gqctjpe" Subject: Re: [Qemu-devel] [PATCH] backends/hostmem-file: Add file-name property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin , qemu-devel@nongnu.org Cc: 'Paolo Bonzini' , 'Eduardo Habkost' This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HRAEWJMTFC61BfDTatbLBtOL69Gqctjpe Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/27/2015 07:53 AM, Pavel Fedin wrote: > This option allows to explicitly specify file name to use with the back= end. > This is important when using it together with ivshmem in order to make = it > backed by hugetlbfs. By default filename is autogenerated using mkstemp= (), > and the file is unlink()ed after creation, effectively making it > anonymous. This is not very useful with ivshmem because it ends up in a= > memory which cannot be accessed by something else. >=20 > Signed-off-by: Pavel Fedin > Tested-by: Igor Skalkin > --- > backends/hostmem-file.c | 26 +++++++++++++++++++++++++- > exec.c | 36 ++++++++++++++++++++++++------------ > include/exec/memory.h | 3 +++ > include/exec/ram_addr.h | 2 +- > memory.c | 4 +++- > numa.c | 2 +- > qemu-doc.texi | 2 +- > 7 files changed, 58 insertions(+), 17 deletions(-) Is there a missing qapi change, so that the new filename attribute can also be specified by QMP command? Or do we not support hotplug of ivshmem yet? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --HRAEWJMTFC61BfDTatbLBtOL69Gqctjpe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWL4xAAAoJEKeha0olJ0Nq/soH/iNkIZD0gyT3zNcp3y/81wxW p0UTTwu+3VboamqBdlrzI5uzW/SWYPfvoB3L2ftsAU+hSdv8P9fOIz9bB4eHlHk2 hBFh3tSxhIgmt5sCPu4Ckhb6/i+7cs2hhKAQxxIjMUxNuI10vPH/I23gb9mjSmAQ fYOnSPPqkX2RPR1zwdGQDaHIjey4DdeSRNBE/h9RvN+dpG9ZabzIn5Jo2k8r/yPg wetX+YTGtYPHlElTAE1mCO2x3trdsgbmmjiB86JqEeZWOEp0WOFvaAWcEuO02igR 1gux2NhTsVZN9e9M/JbnivQ6bFHtFiIidhcw1CNjQ5HjLHgf7zdLjwioNRd61/U= =dT8O -----END PGP SIGNATURE----- --HRAEWJMTFC61BfDTatbLBtOL69Gqctjpe--