Received: by 10.192.165.148 with SMTP id m20csp4227772imm; Mon, 23 Apr 2018 22:11:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx49LpPab7xA+HzYHPAAO1nEKd9qXaelqjBXn7cFnvdu0v6oMFyrJFb7LAsV68Ckg/lIKbE4d X-Received: by 2002:a17:902:6086:: with SMTP id s6-v6mr23257627plj.307.1524546689402; Mon, 23 Apr 2018 22:11:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524546689; cv=none; d=google.com; s=arc-20160816; b=PctIQIg6JWrQCuGNsDMyeKG9Vx5t5soU3f4ZFucqIoVOLtS1yzmqOpsoExyDbRjBhe LVVainJ1nGJHCc57f74tdRS+ATzpg0rfYxdyr9PhXenxs1vyHEi1yZz25WKAaTSPLIob oK/rSJv2BzKtxeGsXMIuqaVp8moYUm/Sb0PLbUt39H0eg3oSuXr5r2Nj5g8gzGyP+UUe eJ4H4Eiu3u77jOZYFOHIAAwAsIPCl46kG+5LExBQA4v5nfbkfO0f/y0UjNWVU3mKzBVz oGSDD+/m1lZJiPNzvmj1KIArtMRNRi4ZfP0cydPgCcRT+U4r8d+iq+jmntUieWRGMLOD rTwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=khpzSd/PRuAlpkfaJ4/pnrHqhCdGe2Arnql4LciD1bU=; b=sEPoeLXD/N8N8jLrJQ1gx0sSk3k/33MOSlb2RFEyQ7zDyeQB4OTtXFkYlY2h0fbZe/ TL3yPtrC4LBGVt8h/7WoDRkYGvh6O6EBZUz7qvC7fLnKebzEk8p7XhFOM6mtU9ZvBwrN JDLwvOlgGF00prV/8ATdZv9CnLmMVP0GXdRH2oGNYiZCoP61eFSak4sFajLuAyqz5ECP JJHkRz3P4SF1LQqqZBUlgAc0fW+mtxTrHUoRBWwkS4AnP8Zh7k5n/GpueXWI7j6dSwEZ MadIZil394xd9fs48WCXp9NKcVnSoJR58zOcttk40zloWmj19G6TutYcpymj3r9Rf0ME BcQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=NWUrE4GT; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n2si11105821pgs.500.2018.04.23.22.11.00; Mon, 23 Apr 2018 22:11:29 -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=fail header.i=@gmail.com header.s=20161025 header.b=NWUrE4GT; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755910AbeDXFJG (ORCPT + 99 others); Tue, 24 Apr 2018 01:09:06 -0400 Received: from mail-wr0-f174.google.com ([209.85.128.174]:36148 "EHLO mail-wr0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbeDXFJE (ORCPT ); Tue, 24 Apr 2018 01:09:04 -0400 Received: by mail-wr0-f174.google.com with SMTP id u18-v6so19621423wrg.3; Mon, 23 Apr 2018 22:09:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=khpzSd/PRuAlpkfaJ4/pnrHqhCdGe2Arnql4LciD1bU=; b=NWUrE4GT0lKxN0ZzpCbJPiTOnuyIxzs6iy/EQgSoi5/t6Hwl9bXdKKV9PUANPToueC ZF0nt93jx3TA9ZFUr1vTqrbYFC0OwgbCdeIzpto4vtKM8q/vWuKgAiUmUG7CcgiTy3nH rdmLeByDm7+DaLBkV1in2xSE4NkRnNc7rLbBNxUPTR5ltH9Hnd2TfLSYmvbhmk3LQpi2 ZwwTNyEr/RXLWMAM8HIMbHDu9tPZHBnfNHkmXzY4HTRV1aEWpKjxJmGyUiIokFgAS1Hz mfKfdNg01UafGHNseMLMGwxWIDSam7BRHitjWaQCMAxEZlmjvN82SduF0UJu/FCA35lL z2zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=khpzSd/PRuAlpkfaJ4/pnrHqhCdGe2Arnql4LciD1bU=; b=sSabJEuJqyzmXVjOfQlL98aWENysChUvsvPgPMj+0yQC3seCRXUpN7xkWo4XjRZfSm /3pwb5m5J/nDBZEXywjxXDf13MDwfEhV3vEZI/JYApKIIGkZ3dMW+Fc8z1w/ybQXWMHF 8kpx/hReF5rPYtCC5V+9ci312c1uLHb5xKyUTIFd4hTupTRwrzUMu+/s0uS3WA349lzg MJnQLZIaxv70bv6lWFTrRcl5qABEvJJB8sDNOaYdJWaBNfE7nEUlbA75s0zg0YLeSbpd rXlKhLzcM0ng2Y7anISy77jvLgxROQbBD+eLi5p2d0M8eV8jQvH12EsDrGAalRsuI7Xl D24w== X-Gm-Message-State: ALQs6tAUe3lbH2vx1kiOj8AgHM2LKUDt/Y0FlrT3EOK/7ghyBEkLOlJ8 /gfnlQ+dCahrnUbRgV/wAAc= X-Received: by 10.80.172.196 with SMTP id x62mr31204618edc.265.1524546542613; Mon, 23 Apr 2018 22:09:02 -0700 (PDT) Received: from [192.168.10.150] (dynamic-adsl-78-12-189-60.clienti.tiscali.it. [78.12.189.60]) by smtp.googlemail.com with ESMTPSA id w1sm8647089edf.57.2018.04.23.22.09.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Apr 2018 22:09:01 -0700 (PDT) Subject: Re: [PATCH] KVM: X86: Allow userspace to define the microcode version To: Konrad Rzeszutek Wilk , Wanpeng Li Cc: Eduardo Habkost , Borislav Petkov , LKML , kvm , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= 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> From: Paolo Bonzini Openpgp: preference=signencrypt Autocrypt: addr=pbonzini@redhat.com; keydata= xsEhBFRCcBIBDqDGsz4K0zZun3jh+U6Z9wNGLKQ0kSFyjN38gMqU1SfP+TUNQepFHb/Gc0E2 CxXPkIBTvYY+ZPkoTh5xF9oS1jqI8iRLzouzF8yXs3QjQIZ2SfuCxSVwlV65jotcjD2FTN04 hVopm9llFijNZpVIOGUTqzM4U55sdsCcZUluWM6x4HSOdw5F5Utxfp1wOjD/v92Lrax0hjiX DResHSt48q+8FrZzY+AUbkUS+Jm34qjswdrgsC5uxeVcLkBgWLmov2kMaMROT0YmFY6A3m1S P/kXmHDXxhe23gKb3dgwxUTpENDBGcfEzrzilWueOeUWiOcWuFOed/C3SyijBx3Av/lbCsHU Vx6pMycNTdzU1BuAroB+Y3mNEuW56Yd44jlInzG2UOwt9XjjdKkJZ1g0P9dwptwLEgTEd3Fo UdhAQyRXGYO8oROiuh+RZ1lXp6AQ4ZjoyH8WLfTLf5g1EKCTc4C1sy1vQSdzIRu3rBIjAvnC tGZADei1IExLqB3uzXKzZ1BZ+Z8hnt2og9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nRC0PawGSZDXhmvITJMdD4TjYrePYhSY4uuIV02v02 8TVAaYbIhxvDY0hUQE4r8ZbGRLn52bEzaIPgl1p/adKfeOUeMReg/CkyzQpmyB1TSk8lDMxQ zCYHXAzwnGi8WU9iuE1P0wARAQABwsEzBBgBAgAJBQJUQnHuAhsMAAoJEH4VEAzNNmmxp1EO oJy0uZggJm7gZKeJ7iUpeX4eqUtqelUw6gU2daz2hE/jsxsTbC/w5piHmk1H1VWDKEM4bQBT uiJ0bfo55SWsUNN+c9hhIX+Y8LEe22izK3w7mRpvGcg+/ZRG4DEMHLP6JVsv5GMpoYwYOmHn plOzCXHvmdlW0i6SrMsBDl9rw4AtIa6bRwWLim1lQ6EM3PWifPrWSUPrPcw4OLSwFk0CPqC4 HYv/7ZnASVkR5EERFF3+6iaaVi5OgBd81F1TCvCX2BEyIDRZLJNvX3TOd5FEN+lIrl26xecz 876SvcOb5SL5SKg9/rCBufdPSjojkGFWGziHiFaYhbuI2E+NfWLJtd+ZvWAAV+O0d8vFFSvr iy9enJ8kxJwhC0ECbSKFY+W1eTIhMD3aeAKY90drozWEyHhENf4l/V+Ja5vOnW+gCDQkGt2Y 1lJAPPSIqZKvHzGShdh8DduC0U3xYkfbGAUvbxeepjgzp0uEnBXfPTy09JGpgWbg0w91GyfT /ujKaGd4vxG2Ei+MMNDmS1SMx7wu0evvQ5kT9NPzyq8R2GIhVSiAd2jioGuTjX6AZCFv3ToO 53DliFMkVTecLptsXaesuUHgL9dKIfvpm+rNXRn9wAwGjk0X/A== Message-ID: <588983c3-4ceb-071e-260b-869613655951@redhat.com> Date: Tue, 24 Apr 2018 07:09:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180424031400.GA22608@char.us.oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/04/2018 05:14, Konrad Rzeszutek Wilk wrote: > You would need to include the microcode version in the migration stream. > > But this brings another point - what if we want to manifest certain > new CPUID bits? You don't do that across migration. 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. Paolo