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