aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/kvm_guest/base-files/etc/inittab
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-05 23:18:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-05 23:18:51 +0000
commit8ce034b36afe053d400eeddf01425b466afe7985 (patch)
treeec043e3fbfc394fe4666e7c76ea4dbbf5af888cb /target/linux/x86/kvm_guest/base-files/etc/inittab
parent75ffc6d36758ca335814d10bf45c0cf42d3b2430 (diff)
downloadupstream-8ce034b36afe053d400eeddf01425b466afe7985.tar.gz
upstream-8ce034b36afe053d400eeddf01425b466afe7985.tar.bz2
upstream-8ce034b36afe053d400eeddf01425b466afe7985.zip
x86: add kvm_guest subtarget Add a KVM guest subtarget to the x86 target. Since VirtIO is the preferred I/O virtualization platform for kvm, this target expects it's root device to be /dev/vda.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 22944
Diffstat (limited to 'target/linux/x86/kvm_guest/base-files/etc/inittab')
-rw-r--r--target/linux/x86/kvm_guest/base-files/etc/inittab5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/x86/kvm_guest/base-files/etc/inittab b/target/linux/x86/kvm_guest/base-files/etc/inittab
new file mode 100644
index 0000000000..469b8a9a9f
--- /dev/null
+++ b/target/linux/x86/kvm_guest/base-files/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS S boot
+::shutdown:/etc/init.d/rcS K stop
+tts/0::askfirst:/bin/ash --login
+hvc0::askfirst:/bin/ash --login
+tty1::askfirst:/bin/ash --login