From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKHDr-0005O1-30 for qemu-devel@nongnu.org; Mon, 14 Dec 2009 15:08:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKHDm-0005MY-Ls for qemu-devel@nongnu.org; Mon, 14 Dec 2009 15:08:46 -0500 Received: from [199.232.76.173] (port=34607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKHDm-0005MJ-4m for qemu-devel@nongnu.org; Mon, 14 Dec 2009 15:08:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40456) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKHDl-0006E1-IQ for qemu-devel@nongnu.org; Mon, 14 Dec 2009 15:08:41 -0500 Date: Mon, 14 Dec 2009 22:08:38 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] cpuid problem in upstream qemu with kvm Message-ID: <20091214200838.GB27769@redhat.com> References: <20091214193541.GA6150@redhat.com> <4B269596.1050103@codemonkey.ws> <20091214194432.GC6150@redhat.com> <4B2698A9.9090107@codemonkey.ws> <20091214200002.GA27769@redhat.com> <4B2699BB.1090302@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B2699BB.1090302@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: avi@redhat.com, qemu-devel@nongnu.org, "Michael S. Tsirkin" On Mon, Dec 14, 2009 at 02:02:03PM -0600, Anthony Liguori wrote: > Gleb Natapov wrote: > >>I thought KVM emulates the syscall instruction? I swear I've seen > >>patches for that. > >> > >It is. Starting from 2.6.32. > > Okay, so this is a performance vs. migration compatibility issue then? > > BTW, couldn't we just not advertise syscall in cpuid? That should > fix it too without sacrificing migration compatibility. We get a > slight slowdown on AMD hosts but that's probably minor compared to > the cost of using emulated syscall on Intel hosts. > As far as I understand not advertising syscall for 64bit CPU is not a valid option. -- Gleb.