diff options
author | Silvino Silva <silvino@bk.ru> | 2018-03-06 15:57:23 +0000 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2018-03-06 15:57:23 +0000 |
commit | 5007082dfe5f5447a25732b3477574070d4f9c99 (patch) | |
tree | e41529228b06de1827ce815349f4cbb90b431de3 /tools/qemu.html | |
parent | 73eddbd1550e8573d9d7b31860b75f007de73da8 (diff) | |
download | doc-5007082dfe5f5447a25732b3477574070d4f9c99.tar.gz |
tools fix qemu index
Diffstat (limited to 'tools/qemu.html')
-rw-r--r-- | tools/qemu.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tools/qemu.html b/tools/qemu.html index d410125..2066a6e 100644 --- a/tools/qemu.html +++ b/tools/qemu.html @@ -46,6 +46,8 @@ $ qemu-img create -f qcow2 crux-img.qcow2 2000M </pre> + <h3 id="mount">2.1. Mount images</h3> + <p>Qemu disk images can be treated as regular disks using qemu disk network block device server;</p> @@ -122,7 +124,7 @@ $ sudo qemu-nbd -d /dev/nbd0 </pre> - <h2 id="net">2. Network</h2> + <h2 id="net">3. Network</h2> <p>Network configuration;</p> @@ -140,7 +142,7 @@ KERNEL=="tun", GROUP="kvm", MODE="0660", OPTIONS+="static_node=net/tun" </pre> - <h3>2.1. Routing</h3> + <h3>3.1. Routing</h3> <p>Create interface with correct permissions set for kvm group.</p> @@ -152,7 +154,7 @@ # iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE </pre> - <h3>2.2. Public Bridge</h3> + <h3>3.2. Public Bridge</h3> <p>Create <a href="network.html#bridge">bridge</a>, create new tap and add it to bridge;</p> @@ -213,7 +215,7 @@ # End of file </pre> - <h2 id="guest">Guest System</h2> + <h2 id="guest">4. Guest System</h2> <p>See <a href="scripts/runvm/runvm.sh">scripts/runvm/runvm.sh</a>, as template. Example scripts;</p> @@ -253,7 +255,7 @@ <p>Set guests machines to run under the total resolution provided by host system configure grub on the guest with gfxmode;</p> - <h3 id="graphics">Guest Graphics</h3> + <h3 id="graphics">4.1. Guest Graphics</h3> <p>Get current resolution on host machine;</p> @@ -275,7 +277,7 @@ # update-grub </pre> - <h3 id="sound">Guest Sound</h3> + <h3 id="sound">4.2. Guest Sound</h3> <p>Check if DMAR is enable on kernel configuration, Intel and AMD uses different technology. To check on @@ -298,7 +300,7 @@ other="-soundhw hda -vga std -display sdl" </pre> - <h3 id="usb">Guest USB</h3> + <h3 id="usb">4.3. Guest USB</h3> <pre> # lsusb @@ -321,7 +323,7 @@ other="-soundhw hda -vga std -display sdl -usb -device usb-host,vendorid=0x13d3,productid=0x5652" </pre> - <h2 id="bootusb">Boot iso on usb</h2> + <h2 id="bootusb">5. Boot iso on usb</h2> <pre> # lsusb @@ -339,7 +341,7 @@ <a href="index.html">Tools Index</a> <p>This is part of the c9 Manual. - Copyright (C) 2016 + Copyright (C) 2018 c9 team. See the file <a href="../fdl-1.3-standalone.html">Gnu Free Documentation License</a> for copying conditions.</p> |