Add 0.1.7 ChangeLog entry.
[v86d.git] / README
blob178c0046cc29296e51f42743736bd7fc330671d1
1 v86d -- A x86 Emulation Daemon
2 ------------------------------
4 1. Purpose
5 ----------
6 v86d provides a backend for kernel drivers that need to execute
7 x86 BIOS code.  The code is executed in a controlled environment
8 and the results are passed back to the kernel via the netlink
9 interface.
11 2. Suported architectures
12 -------------------------
13 This version of v86d supports the following architectures:
14 x86, x86-64 (amd64).
16 3. Configuration
17 ----------------
19 3.1. The C library
20 ------------------
21 v86d can be compiled against two different C libraries: glibc
22 and klibc, glibc being the default.
24 Compiling against glibc will result in a dynamically linked
25 executable that is not suitable for inclusion in initrds.
27 Compiling against klibc will result in a relatively small,
28 statically linked binary, which can be included in an initrd.
30 To compile v86d against klibc, run ./configure --with-klibc
31 after making sure that a recent (1.4 or newer) version of
32 klibc is installed on your system.
34 3.2. The emulator backend
35 -------------------------
36 On x86, the code executed by v86d can be run either in a fully
37 software-emulated environment (x86emu) or a virtualized
38 environment (vm86) supported by the CPU.  On other arches
39 or 64-bit systems, the code is always run by x86emu.
41 To choose the x86emu backend on a x86 system, run ./configure
42 --with-x86emu.
44 4. Installation & Usage
45 -----------------------
46 To configure, build and install v86d with the default settings,
47 run:
49  # ./configure --default
50  # make
51  # make install
53 If the kernel that you're currently running doesn't provide
54 uvesafb, you can use the KDIR variable to point make to a
55 different kernel tree (e.g. `make KDIR=/usr/src/linux`).
57 v86d isn't meant to be used in an interactive way. It should
58 be started and called by the kernel. If you want to see it in
59 action, build and load the uvesafb kernel module.
61 If you want to include v86d into an initramfs image,
62 misc/initramfs provides a minimal config file parsable by
63 gen_init_cpio.
65 5. Licensing
66 ------------
67 v86d is licensed under GPL v2.
69 -- 
70  Michal Januszewski <spock@gentoo.org>