]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Fix kernel loading error messages
authorPekka Enberg <penberg@kernel.org>
Sun, 29 Aug 2010 14:11:17 +0000 (17:11 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 29 Aug 2010 14:11:17 +0000 (17:11 +0300)
commit96d541fde041e5068af7c46fa2e22bc102153a51
tree67dfe05fcaded523658371fd3a42119ddd879837
parentfbe6f2404ae46d6fd71479a2d8af26de65090d1d
kvm: Fix kernel loading error messages

This patch fixes kernel loading error messages. We expect users to try to load
bzImage most of the time and. However, if the user passes a binary that's not a
bzImage, lets just print out the following warning:

  Warning: vmlinux is not a bzImage. Trying to load it as a flat binary...

and pass the control to the binary.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm.c