Received: by 10.192.165.148 with SMTP id m20csp4679360imm; Tue, 24 Apr 2018 06:48:36 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ifQlNJJF6sW/koGbZ5N7VbBf6hAPjy/P9Znob9WhqxQjcp4LFMsuf1F/xh5DH2mvqWqau X-Received: by 10.99.116.19 with SMTP id p19mr20277289pgc.230.1524577716573; Tue, 24 Apr 2018 06:48:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524577716; cv=none; d=google.com; s=arc-20160816; b=GQuDcVrIThOXWHhxDwMqFPzR5j++1lrd81RNa2tdQcuaWWredqaV8fTbFZJY3b/LZz Sq3lgq5qIRrFcKFhhgJoqHsxRWt7blBq1Nq/kkFCKMlL+rs3gkgSy2UYVaJ+G8jcArMT bkKWr/zCkqLi9u7IqWMiuOio6oykkiE4oeSCmU85JVtlzWydmdW/tro5R8PtYWPbz/k8 eYtBHuOkAHM5KWhL/OaLghH/MUM8hd11w9nxcWEB5OaEVylwWoJ1gIVsUhou9zRUkNRi IsIHFaJ9Gzp+t7MXQNQxvxK0JTnZ4Zew9koLnAdUB1NFqonwh/1QflXWGBJKuO88d2pd Ff+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:arc-authentication-results; bh=MkLXaSPWliOOoonLE54I2v0avZeu4F4vH6ip7iPhZaM=; b=RmUyTof0YOrtsiG8FsXu0hJ36RCKjjyuy5YQIS+EJ6NPJjoGmywEFspprUZHZ0Ammd 66piOtMMJ4Ty3LJkBI+/FUJcQ3WxA51lypYOb1771E/jVI68oq0f88b8syWki6kUOC8C 5t64U9RV1MMqK5hAbecjy7hFmFwkFCWklPLOsg8weQ3UmXSpDSyjp/g3gPRTTy8CUb1c H9b9iklpUU+IA3cPcmAywKXMjMzLsGwVIBi8T3elezg5q3rfhzTmG2+jQKeVV2rwoVDN Slw+l+bH81uYytaOOa134ghJ7BR7C3GMXOJVRyGt5+jV1c6fQU+6o+oCXFnaVeaYpJpw 2apA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=QYOdcTyH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l184si10776255pgl.38.2018.04.24.06.48.22; Tue, 24 Apr 2018 06:48:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=QYOdcTyH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934368AbeDXNpu (ORCPT + 99 others); Tue, 24 Apr 2018 09:45:50 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47656 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933774AbeDXNpK (ORCPT ); Tue, 24 Apr 2018 09:45:10 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3ODVE2L161791; Tue, 24 Apr 2018 13:44:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : in-reply-to : references : mime-version : content-type : content-transfer-encoding : subject : to : cc : from : message-id; s=corp-2017-10-26; bh=MkLXaSPWliOOoonLE54I2v0avZeu4F4vH6ip7iPhZaM=; b=QYOdcTyHaRcw9zpvuy/EI+jGcN2U3J4d5GuHFlh6u5YEFmrvEPMYR0tGhpl4I8xE7bWo waNKVPonXIpGOJFTH0YZeg/0CgraNV5lZTYu28HNq9lNXHURUMbKyM14jjdgye+6fLEj LIuBJ8K+7l2sdEQRBvZdSPULiFWwiWRN0+0juqn6luHYJ9p0smDCtviKMtb2+kgV4moH OdFniCoEZKlO7ElVmtaqo9d0uI2BzIej/HmP+TlStlKQP79NPuIuwbCyfnSb34iI73FU 6KzMGmahhsb6T08d08PAJy5LX6NIl6uOsTXzxKN65/PSFp6Yh738gJvl75jFgIt+dP/x Yw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2hfvrbt6jk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Apr 2018 13:44:21 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w3ODiKZa016031 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Apr 2018 13:44:20 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w3ODiJiq027166; Tue, 24 Apr 2018 13:44:20 GMT Received: from [IPv6:2607:fb90:691a:8302:e123:c228:faf0:ac8] (/172.58.217.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 24 Apr 2018 06:44:19 -0700 Date: Tue, 24 Apr 2018 09:44:15 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <588983c3-4ceb-071e-260b-869613655951@redhat.com> References: <24cd527d-5287-f0be-ffe8-eab341bf1d94@redhat.com> <3866d359-0ef8-6a99-6254-84890be62b93@redhat.com> <20180226122205.GG4377@pd.tnic> <20180417202417.GA29865@localhost.localdomain> <20180418090329.GJ29865@localhost.localdomain> <20180424031400.GA22608@char.us.oracle.com> <588983c3-4ceb-071e-260b-869613655951@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] KVM: X86: Allow userspace to define the microcode version To: Paolo Bonzini , Wanpeng Li CC: Eduardo Habkost , Borislav Petkov , LKML , kvm , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= From: Konrad Rzeszutek Wilk Message-ID: <2944C5CC-A3AF-4B33-B03F-7EC28FC351CB@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8872 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=670 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804240131 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On April 24, 2018 1:09:00 AM EDT, Paolo Bonzini wro= te: >On 24/04/2018 05:14, Konrad Rzeszutek Wilk wrote: >> You would need to include the microcode version in the migration >stream=2E >>=20 >> But this brings another point - what if we want to manifest certain >> new CPUID bits? > >You don't do that across migration=2E Generally if you want to do live >migration and you set up the guest to know everything about the host >(down to the microcode level), you should make sure your host are >pretty >much identical=2E I understand how it ought to be but sadly the cloud vendors have a mix of = hardware=2E With the retpoline/IBRS support (like what RH kernel has) you could migrat= e from Skylake to Broadwell and switching over from IBRS to retpoline would= be good=2E Hence asking about this=2E > >Paolo