qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] doc: document ivshmem & hugepages


From: marcandre . lureau
Subject: [Qemu-devel] [PATCH] doc: document ivshmem & hugepages
Date: Wed, 7 Oct 2015 16:32:19 +0200

From: Marc-André Lureau <address@hidden>

Document and give some examples of hugepages support with ivshmem device
and server.

Signed-off-by: Marc-André Lureau <address@hidden>
---
 qemu-doc.texi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/qemu-doc.texi b/qemu-doc.texi
index afa2263..b15c14c 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.
 
address@hidden ivshmem & hugepages
+
+Instead of specifying the <shm size> using POSIX shm, you may specify
+a memory backend, that has hugepage support:
+
address@hidden
+qemu-system-i386 -object 
memory-backend-file,size=1G,mem-path=/mnt/hugepages,id=mb1
+                 -device ivshmem,memdev=mb1
address@hidden example
+
+ivshmem-server also supports hugepages mount points with the
address@hidden memory path argument.
+
 @node direct_linux_boot
 @section Direct Linux Boot
 
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]