From 5007082dfe5f5447a25732b3477574070d4f9c99 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Tue, 6 Mar 2018 15:57:23 +0000 Subject: tools fix qemu index --- tools/qemu.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'tools') 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 +

2.1. Mount images

+

Qemu disk images can be treated as regular disks using qemu disk network block device server;

@@ -122,7 +124,7 @@ $ sudo qemu-nbd -d /dev/nbd0 -

2. Network

+

3. Network

Network configuration;

@@ -140,7 +142,7 @@ KERNEL=="tun", GROUP="kvm", MODE="0660", OPTIONS+="static_node=net/tun" -

2.1. Routing

+

3.1. Routing

Create interface with correct permissions set for kvm group.

@@ -152,7 +154,7 @@ # iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE -

2.2. Public Bridge

+

3.2. Public Bridge

Create bridge, create new tap and add it to bridge;

@@ -213,7 +215,7 @@ # End of file -

Guest System

+

4. Guest System

See scripts/runvm/runvm.sh, as template. Example scripts;

@@ -253,7 +255,7 @@

Set guests machines to run under the total resolution provided by host system configure grub on the guest with gfxmode;

-

Guest Graphics

+

4.1. Guest Graphics

Get current resolution on host machine;

@@ -275,7 +277,7 @@ # update-grub -

Guest Sound

+

4.2. Guest Sound

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" -

Guest USB

+

4.3. Guest USB

         # lsusb
@@ -321,7 +323,7 @@
         other="-soundhw hda -vga std -display sdl -usb -device usb-host,vendorid=0x13d3,productid=0x5652"
         
-

Boot iso on usb

+

5. Boot iso on usb

         # lsusb
@@ -339,7 +341,7 @@
 
         Tools Index
         

This is part of the c9 Manual. - Copyright (C) 2016 + Copyright (C) 2018 c9 team. See the file Gnu Free Documentation License for copying conditions.

-- cgit