]> git.proxmox.com Git - mirror_qemu.git/commit - hw/mips/mips_malta.c
mips_malta: Catch kernels linked at wrong address
authorJames Hogan <james.hogan@imgtec.com>
Thu, 26 Jun 2014 09:44:25 +0000 (10:44 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Jul 2014 16:17:08 +0000 (18:17 +0200)
commitf7f152458e953690f1c8025f507a26d554f6ee4d
tree93ab4d656479d044ce739ea93e3e68c574e810f4
parentfbdb1d955511c38e61e3aa3ba4fb3944b126eb28
mips_malta: Catch kernels linked at wrong address

Add error reporting if the wrong type of kernel is provided for the
current mode of acceleration.

Currently a KVM kernel linked at 0x40000000 can't be used with TCG, and
a normal kernel linked at 0x80000000 can't be used with KVM.

Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/mips/mips_malta.c