Received: by 10.223.185.116 with SMTP id b49csp80391wrg; Fri, 2 Mar 2018 14:03:21 -0800 (PST) X-Google-Smtp-Source: AG47ELuKNqaEosZ7/li21mVG5sUZZprEcUsEwFX5VfGiTP2tbv20MgTlbJpV5IN9A628S5MOGNBk X-Received: by 2002:a17:902:bc85:: with SMTP id bb5-v6mr6687178plb.425.1520028200934; Fri, 02 Mar 2018 14:03:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520028200; cv=none; d=google.com; s=arc-20160816; b=fyARqbQfuERhl/QOvUvgT003yi35HHR56dY/lODrLLG6jfSqjCf7fx1htDd2k8qc3B bhOHA1w5D0pkuQVJTSqxFgqi4JuZiOi4lu/bJcD8WDwAbGtMLRG0CDa0QN7hQYGvUAbe uKd12sqyz1bcZxgRI+qq8VcGBrXi3R/P4DG6227qvnl2+u8MeITo/2iiIUgOIVzz2P+o poEAtm7L+hm3ojiF0mpqaIqslY9YHHsU4FM0ppISF7aoD7CROOfklN8FNbT/B0bLzbmF IwLhFv5p24MEqzn+FDt+K711EQMNNxXygX/usALhK8knq4g5P8GfIDTF11Zlu+tTJLiu HVTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=qlvnWc6RX5fMtJGbYoWpa89bNwnbI7GZ0hj38EGIU24=; b=w+VJyXcWqLWJroiVLXrH2gfwt9Dybw2EstxiQ+Btm/2OI50V7iUoZ2uTf6g20I00zL 57p6e0kWDq9W99NFLVE01HYe0S9DBh35R/5cPZCLiWO7aXdbANOKKPlHhXnMypxy1rmA zbZlOD++S/3/47l4zZtsjhKE3lFDBYNpWE6rNf8SrWfAp1EB0ty6Jb1yOvFTnTZcrqtQ 0FKE3/25OyZsl9gNlnCy7kb9poWCb6DxRw5efsoi7BXkwOcQu9KkUlC1E5k7BIn2fLBI sHpfzbx7l4ZbMLRK8KdgVxbOsi+Lz9/kJRrDJ4czKWw8tkHv90VSI85vWasK9WkhI1UN xa1Q== 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 c14si4518421pgu.341.2018.03.02.14.03.06; Fri, 02 Mar 2018 14:03:20 -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 S933696AbeCBVWV (ORCPT + 99 others); Fri, 2 Mar 2018 16:22:21 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59712 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933644AbeCBVWU (ORCPT ); Fri, 2 Mar 2018 16:22:20 -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 7CB5C401519D; Fri, 2 Mar 2018 21:22:19 +0000 (UTC) Received: from flask (unknown [10.43.2.80]) by smtp.corp.redhat.com (Postfix) with SMTP id 23D3D2024CA8; Fri, 2 Mar 2018 21:22:16 +0000 (UTC) Received: by flask (sSMTP sendmail emulation); Fri, 02 Mar 2018 22:21:42 +0100 Date: Fri, 2 Mar 2018 22:21:42 +0100 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Wanpeng Li Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini , Liran Alon , Nadav Amit , Borislav Petkov , Tom Lendacky Subject: Re: [PATCH RESEND v5 1/2] KVM: X86: Introduce kvm_get_msr_feature() Message-ID: <20180302212141.GA13606@flask> References: <1519797811-4560-1-git-send-email-wanpengli@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1519797811-4560-1-git-send-email-wanpengli@tencent.com> 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.6]); Fri, 02 Mar 2018 21:22:19 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 02 Mar 2018 21:22:19 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'rkrcmar@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-02-28 14:03+0800, Wanpeng Li: > From: Wanpeng Li > > Introduce kvm_get_msr_feature() to handle the msrs which are supported > by different vendors and sharing the same emulation logic. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Cc: Liran Alon > Cc: Nadav Amit > Cc: Borislav Petkov > Cc: Tom Lendacky > Signed-off-by: Wanpeng Li > --- Applied both, thanks.