On Sat, Nov 13, 2010 at 03:37:14PM -0800, Adhyas Avasthi wrote: > I am trying to boot a 64-bit GRUB2 based EFI Boot Loader on top of > OVMF based EFI BIOS (also 64 bit) for x86_64. My host is Ubuntu 10.04 > x86_64 and I am running qemu-kvm-0.13.0 with self-built > kvm-kmod-2.6.32.17 for my kernel version which is 2.6.32-24 (I used > the default Ubuntu KVM and qemu versions with same issue earlier). My > host PC is Lenovo T410 with Intel Core i5 > > GRUB2 is built with gcc and apparently, EFI has a different calling > convention so GRUB2 has an assembly wrapper file that changes the > parameter as per desired calling convention. The problem is that if I > start the loader with kvm disabled, everything goes fine and their > wrapper instructions do the right thing as well. If I enable kvm, > however, I get an x64 exception (as below): > > !!!! X64 Exception Type - 000000000000000D !!!! > ExceptionData - 0000000000000000 > RIP - 000000001FFA95FA, RFL - 0000000000010202 Can you disassemble code around the RIP? Also provide ftrace of kvm execution during the failure. -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html