From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48477) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai6gM-0000I9-T3 for qemu-devel@nongnu.org; Mon, 21 Mar 2016 16:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ai6gJ-0000hq-G2 for qemu-devel@nongnu.org; Mon, 21 Mar 2016 16:44:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ai6gJ-0000hT-A2 for qemu-devel@nongnu.org; Mon, 21 Mar 2016 16:44:07 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id E3FC350F69 for ; Mon, 21 Mar 2016 20:44:06 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-41.ams2.redhat.com [10.36.116.41]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2LKi4jZ014896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 21 Mar 2016 16:44:05 -0400 From: Markus Armbruster Date: Mon, 21 Mar 2016 21:43:27 +0100 Message-Id: <1458593043-31731-5-git-send-email-armbru@redhat.com> In-Reply-To: <1458593043-31731-1-git-send-email-armbru@redhat.com> References: <1458593043-31731-1-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL v2 04/40] qemu-doc: Fix ivshmem huge page example List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Option parameter "share" is missing. Without it, you get a *private* mmap(), which defeats ivshmem's purpose pretty thoroughly ;) While there, switch to the conventional mountpoint of hugetlbfs /dev/hugepages. Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Paolo Bonzini Message-Id: <1458066895-20632-5-git-send-email-armbru@redhat.com> --- qemu-doc.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-doc.texi b/qemu-doc.texi index bc9dd13..65f3b29 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1311,7 +1311,7 @@ Instead of specifying the using POSIX sh= m, you may specify a memory backend that has hugepage support: =20 @example -qemu-system-i386 -object memory-backend-file,size=3D1G,mem-path=3D/mnt/h= ugepages/my-shmem-file,id=3Dmb1 +qemu-system-i386 -object memory-backend-file,size=3D1G,mem-path=3D/dev/h= ugepages/my-shmem-file,share,id=3Dmb1 -device ivshmem,x-memdev=3Dmb1 @end example =20 --=20 2.4.3