]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix required boot protocol version
authorPekka Enberg <penberg@kernel.org>
Sun, 3 Apr 2011 09:42:12 +0000 (12:42 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 3 Apr 2011 09:42:12 +0000 (12:42 +0300)
commita580854ae02b98e39ea353042b899a39d7c1b97f
treec649a0c40c78848473a9d3a985ce1de05d88bdee
parentdc18d9d4bdceb5922f382ec692f983dd7244cdb7
kvm tools: Fix required boot protocol version

Cyrill has an old bzImage that SIGSEGVs when running under KVM because
'cmdline_size' is bogus. Reading Documentation/x86/boot.txt, it turns out
32-bit 'cmdline_size' requires boot protocol 2.06 or later so fix up
BOOT_PROTOCOL_REQUIRED.

Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm.c