Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754371AbaDKRtl (ORCPT ); Fri, 11 Apr 2014 13:49:41 -0400 Received: from mail1.bemta8.messagelabs.com ([216.82.243.206]:46022 "EHLO mail1.bemta8.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753711AbaDKRtk (ORCPT ); Fri, 11 Apr 2014 13:49:40 -0400 X-Env-Sender: Benjamin.Romer@unisys.com X-Msg-Ref: server-5.tower-45.messagelabs.com!1397238577!33997776!1 X-Originating-IP: [192.61.61.105] X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked From: "Romer, Benjamin M" To: Jet Chen CC: "H. Peter Anvin" , Fengguang Wu , Paolo Bonzini , Borislav Petkov , LKML Date: Fri, 11 Apr 2014 12:49:36 -0500 Subject: Re: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP Thread-Topic: [visorchipset] invalid opcode: 0000 [#1] PREEMPT SMP Thread-Index: Ac9Vrme76KAujlqiToqV/hXZHBnx8Q== Message-ID: References: <20140407111725.GC25152@localhost> <53444220.50009@intel.com> <53458A3A.1050608@intel.com> <20140409230114.GB8370@localhost> <5345D360.5000506@linux.intel.com> <53475344.5090009@linux.intel.com> <53481976.3020209@zytor.com> <534827F5.1020004@intel.com> In-Reply-To: <534827F5.1020004@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id s3BHnkxw006202 On Sat, 2014-04-12 at 01:35 +0800, Jet Chen wrote: > Hi Ben, > > I re-tested this case with/without option -enable-kvm. > > qemu-system-x86_64 -cpu Haswell,+smep,+smap invalid op > qemu-system-x86_64 -cpu kvm64 invalid op > qemu-system-x86_64 -cpu Haswell,+smep,+smap -enable-kvm everything OK > qemu-system-x86_64 -cpu kvm64 -enable-kvm everything OK > > I think this is probably a bug in QEMU. > Sorry for misleading you. I am not experienced in QEMU usage. I don't realize I need try this case with different options Until read Peter's reply. > > As Peter said, QEMU probably should *not* set the hypervisor bit. But based on my testing, I think KVM works properly in this case. > > Thanks, > Jet Great, thanks! Sorry for the trouble. :) -- Ben ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?