]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Embed init and init_stage2 into lkvm binary
authorAsias He <asias.hejun@gmail.com>
Wed, 22 Aug 2012 12:48:14 +0000 (20:48 +0800)
committerPekka Enberg <penberg@kernel.org>
Thu, 23 Aug 2012 16:41:30 +0000 (19:41 +0300)
commit3e8f265b71bcec86197daa2555800341be2749ba
tree00944dfd6ff775a6903d6bfdddad5827bfcb9dad
parent8795bbc86bedd931ac2834706039988af00e0ac7
kvm tools: Embed init and init_stage2 into lkvm binary

We generate guest init and init_stage2 on the fly and put them in

   ~/.lkvm/$guest/virt/init
   ~/.lkvm/$guest/virt/init_stage2
.

This makes 'lkvm run' no longer depending on guest/{int, init_stage2}.

Further, we can merge init and init_stage2 since there is no need to
split the init function into two stages any more.

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