]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Merge guest init and init_stage2.c
authorAsias He <asias.hejun@gmail.com>
Wed, 22 Aug 2012 12:48:16 +0000 (20:48 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 23 Aug 2012 16:41:31 +0000 (19:41 +0300)
commita5ed9d6b9994bb6509913f3a3cbbf320c6fc2ef5
tree2061564a700dd736bb46380d73862bf54ae2aedf
parente993a1b5c18476e6e906cfb2d7f3ece80fa222f9
kvm tools: Merge guest init and init_stage2.c

Two stages init process is introduced in

   commit eaf720b285947a6f4e29174d0eba1899de31d8ab
   kvm tools: Split custom rootfs init into two stages

to address the outdated init binary issue.

Currenly, init binary is embedded in lkvm binary and generated on the
fly. So there is no need to split the init process.

This makes
   1) the size of lkvm binary smaller becasue only one
      statically linked init binary.
   2) the init process simpler and cleaner.

Signed-off-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/builtin-run.c
tools/kvm/guest/init.c
tools/kvm/guest/init_stage2.c [deleted file]