<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
> KERNEXEC seems like it would be unsupported; as lguest wants to map<br>
> executable code at 0xff[ce]00000 (drivers/lguest/core.c). I know for certain<br>
> it does not work if you enable kernel modules :-) It would be nice if it was<br>
> supported for the host.</div></blockquote></div><div></div></div></blockquote><br>I think I'm getting closer to why it's not supported on the guest:<br><br>./lguest 64 ../../../diffs/linux-2.6.35.8/vmlinux<br>
lguest: unhandled trap 13 at 0x1001081 (0x10)<br><br> 1081: ea 88 10 00 00 10 00 ljmp $0x10,$0x1088<br><br>So I'm guessing it's not quite compatible with the segment selectors used when KERNEXEC is enabled since it reference to BOOT_CS, and it's dying on the ljmp to that CS. <br>
<br>BOOT_DS seems to work -- maybe the BOOT_CS Privilege level needs to be set to 1 ? I'll have a look further later on today.<br><br>
<br><br><br><br></div>