multiboot: Prevent loading of x86_64 images
commit9696846600cac4bd0dfd6835e45e69d25ec2b11e
authorAdam Lackorzynski <adam@os.inf.tu-dresden.de>
Thu, 4 Nov 2010 22:22:15 +0000 (4 23:22 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Nov 2010 15:31:18 +0000 (16 09:31 -0600)
tree93a557ef00077b03fd0f265f990d42bb0106a672
parentb538e53ee7e8b9e2920d3286b480276cef209fd4
multiboot: Prevent loading of x86_64 images

A via -kernel supplied x86_64 ELF image is being started in 32bit mode.
Detect and exit if a 64bit image has been supplied.

Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de>
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/multiboot.c