Re: SIGILL in grub in guest on 4365

Gregory Haskins
2007-02-01T12:58:22Z

>>> On Thu, Feb 1, 2007 at 7:46 AM, in message <45C1E116.1070802-atKUWr5tajBWk0Htik3J/w@public.gmane.org>,
Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> Gregory Haskins wrote:
>
>> 1) Is this how illegal- op would be handled, or would that stay entirely in
> the domain of the guest?
>>
>
> An illegal opcode in the guest is handled normally by generating #UD in
> the guest, without host involvement at all.
>

Ah, thank you. Sounds like I need to do some more reading in the Intel docs ;) Despite my failings here, I did learn a lot about KVM/QEMU in the process so it wasnt wasted effort.

>
> My guess is that some horrible bug in the mmu is causing the guest to
> jump to some random page and actually execute undefined opcodes.

Yuk...that makese sense though. I can run sync() from other applications just fine so its probably dependent on the locations resolved by the dynamic linker. I have some ideas for a tool that might be helpful here. More to follow.

Thanks for the info and quick reply, BTW.
-Greg