At this point kvmtool compiles fines out of the Linux tree (at least
for x86 and arm/arm64), so update the README to reflect this.
Also add an INSTALL file to give more user friendly building
instructions.
Document the optional libraries and their common package names on the
way.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
CONFIG_FB_VESA is needed for --sdl or --vnc. Update README for it.
Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
README: change the binary name from kvm to lkvm since
commit ad3efb18 has already done it.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
We should not include glibc headers from BIOS code which can't rely on glibc at
runtime.
This patch fixes the following build breakage on 64-bit:
CC bios/e820.o
In file included from /usr/include/features.h:387:0,
from /usr/include/unistd.h:26,
from include/kvm/util.h:12,
from bios/e820.c:5:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory compilation terminated.
make: *** [bios/bios.bin.elf] Error 1
when built without the 'glibc-devel.i686' package on Fedora, for example.
Cc: Asias He <asias.hejun@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sasha Levin <levinsasha928@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
This reverts commit f0aec23a91368e916a53e6072f2173bb481b1544.
Asias He writes:
'ip=dhcp' makes kernel try to use nfs as root fs which results in a long
time 'wait and fail' and finally fallback to 9p as root fs.
[ 1.688000] Sending DHCP requests ., OK
[ 1.695000] IP-Config: Got DHCP answer from 192.168.33.1, my address
is 192.168.33.15
[ 1.699000] IP-Config: Complete:
[ 1.700000] device=eth0, addr=192.168.33.15, mask=255.255.255.0,
gw=192.168.33.1,
[ 1.703000] host=192.168.33.15, domain=stu.buaa.edu.cn,
nis-domain=(none),
[ 1.706000] bootserver=192.168.33.1, rootserver=192.168.33.1,
rootpath=
[ 36.769000] VFS: Unable to mount root fs via NFS, trying floppy.
[ 36.771000] VFS: Mounted root (9p filesystem) on device 0:14.
This patch updates:
- kernel configuration options
- kvm command line options
- authors
in README.
Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>