From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJb0m-0006Lu-LZ for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:32:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJb0h-0006Iy-T0 for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:32:12 -0400 Received: from [199.232.76.173] (port=42510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJb0h-0006Iv-Hm for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:32:07 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47377) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJb0h-0005aJ-4F for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:32:07 -0400 Date: Thu, 25 Jun 2009 00:32:03 +0200 From: Andrea Arcangeli Subject: Re: [Qemu-devel] allow sysenter on 32bit guests running on vmx host Message-ID: <20090624223203.GA23273@random.random> References: <20090623162140.GB4379@random.random> <20090624172934.GG14121@shareable.org> <20090624211200.GD15263@random.random> <20090624213944.GD14121@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090624213944.GD14121@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: qemu-devel@nongnu.org On Wed, Jun 24, 2009 at 10:39:44PM +0100, Jamie Lokier wrote: > What's missing is a comment saying "KVM changes this vendor id to > Intel when run on a VMX-capable host". Ok. > So what happens if you have a guest which worked fine under QEMU, then > breaks because it sees a changed vendor id when you run it under KVM? For windows to run sysenter, the vendor id has to be intel. > It looks like it could be a KVM mis-feature. If we don't turn to intel it won't ever run sysenter I think, AMD duron/athlon has syscall, not sysenter. > Is the changing vendor id actually useful for anything, without > updating the family/model/stepping at the same time? E.g. does it Sure it is useful, without the switch not even linux can run sysenter. > No, I'm happy with 6/3/3. Like that part of the patch :-) Then just update the comment to clarify that on kvm we need vendor id intel if run on intel host ;) > Although... there aren't any 64-bit Pentium Pros, so maybe 6/3/3 is a > bit... small? :-) Yes, I thought about it, but I didn't want to make more aggressive changes other than the sysenter fix.