Re: Solaris 10 doesn't work under KVM

Avi Kivity
2007-02-14T13:20:18Z

Waba wrote:
> On Tue, Feb 13, 2007 at 04:37:19PM +0200, Avi Kivity wrote:
>
>> bit 9 of cr4 (osfxsr) is clear, which according to the docs generates
>> #ud on any sse instruction.
>>
>
> I still have no idea why this bit was not set when running on my CPU,
> but with the register set up this way, no more SIGILL. I re-enabled the
> libc mount and rebooted the guest to be sure, and it does work!
>
>

Well, there's probably an emulator bug somewhere.

Can you add a printk() to set_cr4() in kvm_main.c and see what the guest
does? The documentation states that it's up to the OS to enable the
bit, so I can't just apply the previous patch, even though it fixes the
problem.

--
error compiling committee.c: too many arguments to function

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash