Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3577702imu; Tue, 18 Dec 2018 00:17:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/WSoIgZ/6uKTW0hyO1B3fijJr5Z5I3qchNpb7BfJKi8OlBJmf1XLSVfTigMQtaX1blsWuih X-Received: by 2002:a65:41c2:: with SMTP id b2mr14818204pgq.67.1545121033899; Tue, 18 Dec 2018 00:17:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545121033; cv=none; d=google.com; s=arc-20160816; b=ATWT9PLa/+/Vsv0KSqf0KYtV4H9/KqMi6dKPMnm+5Cysz5+bJZMQvS9E5hwuq9gPUc KOntlpfkD5Z6zDp9OTX9pZzFY1pSRwUVyclMUlEQqSMZqi0ROWPgu2iWz9rqvxmcvdt9 uOFhqyn6Ycqb3RBEhknO3tuhSddEAjIiYBmZKyOlFvNvLWqbtPpXp3+ZFVbvOb2/a7EQ /dSn0ECadO27yTH03HnMrsaafirGHRlN18uHEijAf1bgs+lMa5k2EKRdrri+5sIJQxDg ePlc3reTa/wJyYrJi8zYxVmZfBHAlKxgc1MtM59IBVm6Mxi+9wuJWfyA8vPZaz5SwfZh MYXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=O1UFIUrBB4WzPzfEBI11mT+uuOH4JPI4BhWVtKVJnq0=; b=VdjGhF5uSJfeMI8e05MNYvNR785jiF0YXFR8pXjybHGlv41iazpGHyU9vT+GB19fY1 oQp49cJjdbieXDNQRaoZ+lupUOn2prWNx1UJS1CTIC+n7XiOKcyv6V/JQTQ1BPJTL3TO 5/yVa1a6ymwokgNpvA5GcBSQUlelBaDtMFoczQyfBrMNC1TfVqelom6EqNhameOQDeeN km6NVvJelPJxuTFwnfG3g7K70WgU07G2M+dDo2ZkOGRnLiehL1NDAl3jXCxQDxFI8KJo SPRuPlYu4GRI3EAGl1IemRN6ncJpLuLwzMU4U6r2BezCzvvu905k2+ssTpG7QYyl0IlM l8Zw== 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 o10si2691647pgg.373.2018.12.18.00.16.58; Tue, 18 Dec 2018 00:17:13 -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 S1726512AbeLRIQI (ORCPT + 99 others); Tue, 18 Dec 2018 03:16:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45340 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbeLRIQI (ORCPT ); Tue, 18 Dec 2018 03:16:08 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56F1FC070E12; Tue, 18 Dec 2018 08:16:08 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.40.205.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AE8102C8FD; Tue, 18 Dec 2018 08:16:05 +0000 (UTC) From: Vitaly Kuznetsov To: Paolo Bonzini , kvm@vger.kernel.org Cc: Radim =?utf-8?B?S3LEjW3DocWZ?= , linux-kernel@vger.kernel.org, Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , x86@kernel.org, "Michael Kelley \(EOSG\)" , Eduardo Habkost Subject: Re: [PATCH v2 0/7] x86/kvm/hyper-v: Implement KVM_GET_SUPPORTED_HV_CPUID In-Reply-To: References: <20181210172159.410-1-vkuznets@redhat.com> <7a318d1c-7601-fc67-8924-971f9deb8824@redhat.com> <87woo830o6.fsf@vitty.brq.redhat.com> Date: Tue, 18 Dec 2018 09:16:04 +0100 Message-ID: <87k1k72qt7.fsf@vitty.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 18 Dec 2018 08:16:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paolo Bonzini writes: > On 17/12/18 11:30, Vitaly Kuznetsov wrote: >>> Queued, thanks. I moved this above the direct EOI series so that >>> KVM_CAP_HYPERV_STIMER_DIRECT need not exist at any point of the history. >>> >> Thanks! Just to make sure (and to conclude our discussion with Roman): >> with your Qemu maintainer hat on, do you agree with the design decision >> that KVM_GET_SUPPORTED_HV_CPUID's output value changes when >> KVM_CAP_HYPERV_ENLIGHTENED_VMCS gets enabled? This differs from >> KVM_GET_SUPPORTED_CPUID (where we always list all feature bits even if >> they require explicit enablement)? > > It doesn't really matter, since the old capability cannot be removed. > If you want to change it with a patch on top, that's also okay with me. Ok, let's leave it as it is: maybe some other userspace (which doesn't use legacy capabilities) will be grateful :-) -- Vitaly