From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Solaris 10 doesn't work under KVM Date: Wed, 14 Feb 2007 15:20:18 +0200 Message-ID: <45D30C92.8000808@qumranet.com> References: <20070201214924.GB7489@waba> <20070202191942.GB8804@amd.com> <20070204183141.GB13914@waba> <45C99EE9.3010306@qumranet.com> <20070207230427.GA7946@waba> <45CAECEB.4000701@qumranet.com> <20070210133443.GA13495@waba> <45D03801.4040006@qumranet.com> <20070213140619.GA15022@waba> <45D1CD1F.907@qumranet.com> <20070213214445.GB1327@waba> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Waba Return-path: In-Reply-To: <20070213214445.GB1327@waba> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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 http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV