From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [RFC PATCH] Emulate MOVBE Date: Wed, 10 Apr 2013 12:17:21 +0200 Message-ID: <20130410101721.GC13394@pd.tnic> References: <20130409234602.GI5077@pd.tnic> <20130410112942.07dfc167@slackpad> <20130410100845.GB17919@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Andre Przywara , kvm@vger.kernel.org, =?utf-8?B?SsO2cmcgUsO2ZGVs?= , "H. Peter Anvin" , x86-ml , kvm@vger-kernel.org To: Gleb Natapov Return-path: Received: from mail.skyhub.de ([78.46.96.112]:48293 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501Ab3DJKRY (ORCPT ); Wed, 10 Apr 2013 06:17:24 -0400 Content-Disposition: inline In-Reply-To: <20130410100845.GB17919@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Apr 10, 2013 at 01:08:46PM +0300, Gleb Natapov wrote: > We can add the emulation, but we should not start announcing the > instruction availability to a guest if host cpu does not have it > by default. This may trick a guest into thinking that movbe is the > fastest way to do something when it is not. That could be a problem because kernels compiled for atom look at CPUID to check for MOVBE support and refuse to continue if there's none. -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. --