From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3918C432C3 for ; Fri, 15 Nov 2019 18:01:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D4D8520674 for ; Fri, 15 Nov 2019 18:01:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbfKOSBX (ORCPT ); Fri, 15 Nov 2019 13:01:23 -0500 Received: from mga02.intel.com ([134.134.136.20]:37139 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbfKOSBX (ORCPT ); Fri, 15 Nov 2019 13:01:23 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 10:01:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,309,1569308400"; d="scan'208";a="406744746" Received: from sjchrist-coffee.jf.intel.com (HELO linux.intel.com) ([10.54.74.41]) by fmsmga006.fm.intel.com with ESMTP; 15 Nov 2019 10:01:22 -0800 Date: Fri, 15 Nov 2019 10:01:22 -0800 From: Sean Christopherson To: Paolo Bonzini Cc: Jim Mattson , kvm list Subject: Re: KVM_GET_SUPPORTED_CPUID Message-ID: <20191115180122.GB6055@linux.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Fri, Nov 15, 2019 at 12:42:17PM +0100, Paolo Bonzini wrote: > On 14/11/19 21:09, Jim Mattson wrote: > > If I see "AuthenticAMD" in EBX/EDX/ECX, > > does that mean that "GenuineIntel" is *not* supported? I thought > > people were having reasonable success with cross-vendor migration. > > This is (2). But in general passing the host value is the safe choice, > everything else has reasonable success but it's not something I would > recommend in production (and it's something I wouldn't mind removing, > really). Maybe keep it but add a pr_warn_once() to inform the user that exposions are likely? Or make it opt-in via a module param? I've found this useful for smoke testing patches that touch AMD/Hygon/Zhaoxin/Centaur code.