Received: by 10.223.185.116 with SMTP id b49csp743207wrg; Tue, 20 Feb 2018 07:11:20 -0800 (PST) X-Google-Smtp-Source: AH8x225U201pLhyitOcDjIDZqFk4lE66pmxhwLCJYzuu28VlJ9MaO3bxwKX0rTdlk/SacX/fHSso X-Received: by 10.98.137.90 with SMTP id v87mr6671121pfd.80.1519139479967; Tue, 20 Feb 2018 07:11:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519139479; cv=none; d=google.com; s=arc-20160816; b=p5fV2TgZ3QXx+JbhiwVceMXG6jmJJ91MfwsFY0rPkfVkTt1mgjb387OvhJuXaAZQFy 7OdN6qZYV4VEaxiCoE04EJZvMJS9rlYWn/OF5WjNqwhDpTWp7CwVuOw4OXxmZr+4Ti4A Pcqgnq/S+eMOcKM0icgjzKjiswE06bNlnSdFceD/Vmpz6ryYJtrXXO+7dcnrKcvYoPMV dIzzof9rngmuH346RZRevEK2kTK6xsjhl0Y5JV9CPr1ZBGQc1/c+sfKkQOgcwW1A6/HX RVtLzWVSUBf+qm39iOfIXnwaaeaG1cAgdd87lakA6Qy5phM6vkJCuFXiqJTQ/4Dw/LlZ fk7g== 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:from:references:cc:to:subject:arc-authentication-results; bh=pdrI653E6Y8p4+BGWgJMbicrmAt8gEskzc0bIMd3JBI=; b=jQMTQgy6cXa4Uw70ClnNAzygSUwoiZ9/+kN9jsk7UJzktxZWsaiZeV3n3DIieVZ+TF cDc3hnI7ogozVlDM680QP46yFjnGW7gYCMDPHA0xy1apoECKgGp0PQ4qpZ+W4Sq0NfJJ tdtvkE8fKZJL/oPkmW3mQ9gc9BBnmhc/NflCUjdFqq6PBy4Sow63XMKGmm6QeLQFtB/K V0a23eBXQXSguhLLxqUs+/6GQxHNvDvIwhIUrsarhZbnBohafAMw2sJm9nFbUvd1xjWK 7kTd44a9oc0WMkt4FXpEV1pfQYKNBlxynNfGQ3Wm1frkM/eUbMtMVMCOWcJtkz/lFIUa rWgA== ARC-Authentication-Results: i=1; mx.google.com; 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 q2si954431pgr.693.2018.02.20.07.11.05; Tue, 20 Feb 2018 07:11:19 -0800 (PST) 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; 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 S1752319AbeBTPJn (ORCPT + 99 others); Tue, 20 Feb 2018 10:09:43 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51598 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752265AbeBTPJm (ORCPT ); Tue, 20 Feb 2018 10:09:42 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A4C828182D33; Tue, 20 Feb 2018 15:09:41 +0000 (UTC) Received: from [10.36.118.42] (unknown [10.36.118.42]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B1A7F2024CA7; Tue, 20 Feb 2018 15:09:39 +0000 (UTC) Subject: Re: [PATCH 2/2] x86/speculation: Support "Enhanced IBRS" on future CPUs To: "Van De Ven, Arjan" , "valdis.kletnieks@vt.edu" Cc: Jon Masters , David Woodhouse , "tglx@linutronix.de" , "x86@kernel.org" , "kvm@vger.kernel.org" , "torvalds@linux-foundation.org" , "linux-kernel@vger.kernel.org" , "Hansen, Dave" , Ingo Molnar References: <1518449255-2182-1-git-send-email-dwmw@amazon.co.uk> <1518509708.12890.33.camel@infradead.org> <27c85759-e662-d281-f8a0-0a80ca8ee18f@redhat.com> <1518517262.12890.43.camel@infradead.org> <1518518198.12890.48.camel@infradead.org> <02bd3fdd-1b73-6cab-fb09-38ba933396bd@redhat.com> <1518775136.7876.13.camel@infradead.org> <75287047-77a0-e0ff-c2e8-61c81641251e@redhat.com> <1518776517.7876.21.camel@infradead.org> <1518783021.7876.34.camel@infradead.org> <4882860e-23c5-75b3-ac02-c700f615156e@jonmasters.org> <0575AF4FD06DD142AD198903C74E1CC87A61923C@ORSMSX103.amr.corp.intel.com> <10373.1519084385@turing-police.cc.vt.edu> <0575AF4FD06DD142AD198903C74E1CC87A619255@ORSMSX103.amr.corp.intel.com> <0575AF4FD06DD142AD198903C74E1CC87A619465@ORSMSX103.amr.corp.intel.com> <2159cdc0-c30d-3bf8-1c25-74bff46a1e91@redhat.com> <0575AF4FD06DD142AD198903C74E1CC87A6194AB@ORSMSX103.amr.corp.intel.com> From: Paolo Bonzini Message-ID: <5b39cfbb-a04f-46a8-87cb-3a52fc8e9700@redhat.com> Date: Tue, 20 Feb 2018 16:09:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <0575AF4FD06DD142AD198903C74E1CC87A6194AB@ORSMSX103.amr.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 20 Feb 2018 15:09:41 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 20 Feb 2018 15:09:41 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'pbonzini@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/02/2018 15:59, Van De Ven, Arjan wrote: > >>> I meant software wise. You're not going to live migrate from xen to >>> kvm or backwards. or between very radically different versions of the >>> kvm stack. >> >> Forwards migration to a radically newer version certainly happens. So >> when the source hypervisor was too old to tell the VM about IBRS_ALL, >> for example, migration should work properly and the VM should perform >> well on the destination hypervisor. > > that makes sense, compatibility in this direction can be done > and is useful as you move a fleet of servers forward > >> Backwards migration to older hypervisors also happens sometimes, but in >> general it creates more userspace than kernel issues. > > that direction is obviously harder From KVM's point of view it's mostly a matter of having a complete ioctl API right. I'm not that much worried by it. Paolo