mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 05:42:58 +00:00
[doc] kvmfr/libvirt: change double quotes to single quotes
virt-manager (or libvirt itself) tends to preserve outer quotation marks but explode inner double-quotes into '"' which is annoying. this looks nicer when pasted into the XML editor and applied Also used double-quotes for the QEMU <6.2 example for consistency PS: added myself to AUTHORS since this is my first contribution
This commit is contained in:
parent
695cbc2d61
commit
d21bdebc52
2 changed files with 10 additions and 9 deletions
1
AUTHORS
1
AUTHORS
|
@ -69,3 +69,4 @@ MakiseKurisu <saberconer@gmail.com> (MakiseKurisu)
|
|||
Zenithal <i@zenithal.me> (ZenithalHourlyRate)
|
||||
Kamplom <6284968128@protonmail.ch> (kamplom)
|
||||
Jacob McNamee <jacob@jacobmcnamee.com> (jacobmcnamee)
|
||||
Marco Antonio J. Costa <marco.antonio.costa@gmail.com> (majcosta)
|
||||
|
|
|
@ -157,15 +157,15 @@ should use this XML block to configure their VM for kvmfr:
|
|||
.. code:: xml
|
||||
|
||||
<qemu:commandline>
|
||||
<qemu:arg value='-device'/>
|
||||
<qemu:arg value='{"driver":"ivshmem-plain","id":"shmem0","memdev":"looking-glass"}'/>
|
||||
<qemu:arg value='-object'/>
|
||||
<qemu:arg value='{"qom-type":"memory-backend-file","id":"looking-glass","mem-path":"/dev/kvmfr0","size":33554432,"share":true}'/>
|
||||
<qemu:arg value="-device"/>
|
||||
<qemu:arg value="{'driver':'ivshmem-plain','id':'shmem0','memdev':'looking-glass'}"/>
|
||||
<qemu:arg value="-object"/>
|
||||
<qemu:arg value="{'qom-type':'memory-backend-file','id':'looking-glass','mem-path':'/dev/kvmfr0','size':33554432,'share':true}"/>
|
||||
</qemu:commandline>
|
||||
|
||||
.. note::
|
||||
|
||||
- The ``"size"`` tag represents the size of the shared memory device in
|
||||
- The ``'size'`` tag represents the size of the shared memory device in
|
||||
bytes. Once you determine the proper size of the device as per
|
||||
:ref:`Determining Memory <libvirt_determining_memory>`, use the figure you
|
||||
got to calculate the size in bytes:
|
||||
|
@ -178,10 +178,10 @@ legacy syntax for IVSHMEM setup:
|
|||
.. code:: xml
|
||||
|
||||
<qemu:commandline>
|
||||
<qemu:arg value='-device'/>
|
||||
<qemu:arg value='ivshmem-plain,id=shmem0,memdev=looking-glass'/>
|
||||
<qemu:arg value='-object'/>
|
||||
<qemu:arg value='memory-backend-file,id=looking-glass,mem-path=/dev/kvmfr0,size=32M,share=yes'/>
|
||||
<qemu:arg value="-device"/>
|
||||
<qemu:arg value="ivshmem-plain,id=shmem0,memdev=looking-glass"/>
|
||||
<qemu:arg value="-object"/>
|
||||
<qemu:arg value="memory-backend-file,id=looking-glass,mem-path=/dev/kvmfr0,size=32M,share=yes"/>
|
||||
</qemu:commandline>
|
||||
|
||||
.. note::
|
||||
|
|
Loading…
Reference in a new issue