From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlgLX-0006Yp-He for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:53:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlgLU-0004zC-CL for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:53:11 -0400 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]:35743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlgLU-0004z6-7L for qemu-devel@nongnu.org; Mon, 12 Oct 2015 12:53:08 -0400 Received: by pabve7 with SMTP id ve7so100651325pab.2 for ; Mon, 12 Oct 2015 09:53:07 -0700 (PDT) Sender: =?UTF-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= From: marcandre.lureau@redhat.com Date: Mon, 12 Oct 2015 18:41:44 +0200 Message-Id: <1444668104-22955-51-git-send-email-marcandre.lureau@redhat.com> In-Reply-To: <1444668104-22955-1-git-send-email-marcandre.lureau@redhat.com> References: <1444668104-22955-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PULL v2 50/50] doc: document ivshmem & hugepages List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, drjones@redhat.com, claudio.fontana@huawei.com, stefanha@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , pbonzini@redhat.com, cam@cs.ualberta.ca From: Marc-André Lureau Document and give some examples of hugepages support with ivshmem device and server. Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake --- qemu-doc.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/qemu-doc.texi b/qemu-doc.texi index afa2263..3126abd 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1293,6 +1293,19 @@ copy the shared memory on migration to the destination host. With With the @option{peer} case, the device should be detached and then reattached after migration using the PCI hotplug support. +@subsubsection ivshmem and hugepages + +Instead of specifying the using POSIX shm, you may specify +a memory backend that has hugepage support: + +@example +qemu-system-i386 -object memory-backend-file,size=1G,mem-path=/mnt/hugepages,id=mb1 + -device ivshmem,memdev=mb1 +@end example + +ivshmem-server also supports hugepages mount points with the +@option{-m} memory path argument. + @node direct_linux_boot @section Direct Linux Boot -- 2.4.3