forked from bsbernd/tiny-qemu-virtio-kernel-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
33 lines (26 loc) · 1.21 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Tiny kernel config for kernel developers using QEMU
Compiling a kernel with default options takes a long time
on machines I have access to. And it needs quite an amount
of disk space as well.
Compiling a kernel with "make tinyconfig" is fast, but rather
useless - all the important options are missing.
If one just wants to do some kernel patches the compiling the
kernel or configuring a useful tiny config can take longer
than writing the actual kernel patch.
This project is an attempt to provide a base kernel configuration
for kernel developers who are using qemu. The initial commited
version takes about 5 minutes to compile (as debian package) on
my 7 year old Intel Xeon E3-1245 workstation.
Recommended qemu configuration:
- virtio for network and storage
- Some drivers supported by QEMU are already in the config,
but not all of them. If qemu refuses to boot up with
this config - typically change your disk settings to
virtio
- serial console for access
Recommended grub configuration:
- GRUB_TERMINAL=console
- GRUB_CMDLINE_LINUX="console=tty0 console=ttyS1,115200"
(assuming two serial consoles, one as default by
virt-manager redirecting to tty0 and a second for
access with minicom or telnet)