Donation from Maigurs Stalidzans. Thanks!
[ikiwiki.git] / docs / howtos / HowToKvmGuest / index.mdwn
1 Here's how to install a DragonFly BSD Guest under KVM Host:
2
3 1. Install kvm-84 or later on Linux host
4 1. Download DragonFly BSD ISO, e.g. dfly-2.2.1_REL.iso
5 1. Create guest with cpu(2), memory(1024m+), disk(ide), cdrom(ide), nic(e1000)
6 1. Boot guest use DragonFly BSD ISO with '-no-kvm' option, otherwise your screen will be ***mess*** !
7 1. Install DragonFly BSD as normal
8 1. Setup networks and sshd, make sure you can login the guest
9 1. Shutdown down DragonFly BSD guest
10 1. Reboot DragonFly BSD guest as normal(without '-no-kvm' option)
11 1. Login DragonFly BSD guest via ssh
12
13 You might run into some clock sync/jitter problems in the guest - if so,
14 the following might help:
15
16 http://lists.dragonflybsd.org/pipermail/users/2013-October/090184.html
17
18 There are several cputimers.  You could disable them through tunables
19 (/boot/loader.conf):
20 hw.tsc_cputimer_enable="0" (disable TSC cputimer, enabled by default)
21 debug.acpi.disabled="hpet timer" (disable HPET and ACPI cputimer, enabled
22 by default)
23
24 If they are all enabled (default) and are all functional, their priority
25 relationship is TSC > HPET > ACPI
26
27 If they are all disabled, the only one left is i8254.