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