doc: document ivshmem & hugepages
PATCH 1/1 doc: document ivshmem & hugepages
From: Marc-André Lureau <[email protected]>
Document and give some examples of hugepages support with ivshmem device and server.
Signed-off-by Marc-André Lureau <[email protected]>
--- qemu-doc.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
qemu-doc.texi +13 -0
@@ -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 & hugepages + +Instead of specifying the <shm size> 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
Signature · 1 line
2.4.3
Quoted 15 lines · On 10/07/2015 08:32 AM, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
Document and give some examples of hugepages support with ivshmem device and server.
Signed-off-by Marc-André Lureau <[email protected]>--- qemu-doc.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+)qemu-doc.texi +0
-0
qemu-doc.texi copy the shared memory on migration to the destination host. With · line 1296
Quoted 4 lines
qemu-doc.texi +1
-0@@ -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 & hugepages
s/&/and/ (documentation looks a bit too casual if you don't spell out conjunctions)
qemu-doc.texi copy the shared memory on migration to the destination host. With · line 1299
Quoted 3 lines
qemu-doc.texi +3
-0+ +Instead of specifying the <shm size> using POSIX shm, you may specify +a memory backend, that has hugepage support:
s/backend,/backend/
With those two fixes, the grammar is:
Reviewed-by Eric Blake <[email protected]>
I don't know if it is technically accurate, though.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org