Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1070814imu; Wed, 23 Jan 2019 10:14:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IKQyRvgt1eImPiWWgXqb8nkJCKze4byMcbI59YhLixHE9On3pGvwjWVvYkmEOhkXOxlWe X-Received: by 2002:a17:902:1102:: with SMTP id d2mr3282750pla.138.1548267297558; Wed, 23 Jan 2019 10:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548267297; cv=none; d=google.com; s=arc-20160816; b=Xm6P8sjBw9ONT99O6fuMdlTy7ciap2iVnEoXCcsGV4sZALmr+G55oVPy3QaoGfQBw8 Lp9Nalz8L769dLEchKVNxDa7l0xV4He9aijxIP75QkQfHk7MtEBDxKxncgyLDPcdN4CG nnbGf6osJ+vUEKK9anADtLJX0/2xIaZ2ekNKk6UQMuJ0KtqiOK0K5ZoV2HGaroBBaIPU GXLr+wrnRwbUnKSPEu/b+gbmAyYQ/AgRxbNqxi5M6SG2DD3F9FgUsuAcjRCO7cWPcSB3 xpeKAkTJiZzWdOEdun8si9T6mS5CUMt7gj+7uhZQxBgHdpzGxmGqMxtumodQNs5DCCC4 a9qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BTTJrUWJU+Kf8SKXXH97ugcsAD6MEIoshxmIo6ZIcbA=; b=PqvmFOIkklVcojwDAUADjkh2ng/LrC55CxsSOMRDxej4DrB6u6gTM0L21lKOC5nJaO 9go364Gz0ST0Auo4CdEYCRJ6fZ8l8sZdzaZxmcVvBflRPZUV7kE8dUC0F54En6Em7haH +Zpfn8ADdcpkESRbJIVzxsPLw/65I/PVCwD6KjiPuw0cjPVob3Q8xTnEYQ/9QWfhJJZv wRDGVUmhaKMfdE38ZOaLXsY9zFU3SzArbvrBs1FEFzSS8rNTivec61aDQ6C246cYPUQN ls6R8eXSt43nmRulJjZegh299L1VGbhid4n3n4tJT5vccHiWCYg2snOuBX0qTofS5JZi amZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=XwOgS9Bb; 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 r18si1836984pgu.552.2019.01.23.10.14.41; Wed, 23 Jan 2019 10:14:57 -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; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=XwOgS9Bb; 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 S1726516AbfAWSMd (ORCPT + 99 others); Wed, 23 Jan 2019 13:12:33 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:48538 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfAWSMc (ORCPT ); Wed, 23 Jan 2019 13:12:32 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x0NI4J8o085413; Wed, 23 Jan 2019 18:12:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=BTTJrUWJU+Kf8SKXXH97ugcsAD6MEIoshxmIo6ZIcbA=; b=XwOgS9Bb0gzmYHFBFIWSUpn38WFkkVKCHMpf8CL/DoHCTvGy35RLJ9TzgtH74H2xu5hl PnwtEH7u/sXd0BKxILKkLpIs5YOYtyON0LmzpNx/BHdoh0k2r55ISloePtDuWqWicMEa UA6c2PJ6ilQAZT/8ZQMdmixFOPi+sPVUSNSQak/kb9IuLVeWIITpTvJB0Q0Unt+dfBg2 dsZVGUDjOYR5efse2dkMILyIWpDvWc+MuI4KnUrLmawumGaQpJgFVZE3HZdZlHFYdZib qsTeyFeAADEVLRGHjTSWMg//51H6TRu3ozsfWOETPC3VQ7S7wISechcKn+gHSWO5Ioa6 yQ== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp2120.oracle.com with ESMTP id 2q3vhruekc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Jan 2019 18:12:28 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0NICSRn011515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Jan 2019 18:12:28 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x0NICRX2008627; Wed, 23 Jan 2019 18:12:27 GMT Received: from Konrads-MacBook-Pro.local (/75.104.64.133) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 23 Jan 2019 10:12:27 -0800 Date: Wed, 23 Jan 2019 13:11:59 -0500 From: Konrad Rzeszutek Wilk To: KarimAllah Ahmed Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, pbonzini@redhat.com, rkrcmar@redhat.com Subject: Re: [PATCH v5 12/13] KVM/nVMX: Use kvm_vcpu_map for accessing the enlightened VMCS Message-ID: <20190123181156.GQ19289@Konrads-MacBook-Pro.local> References: <1547026933-31226-1-git-send-email-karahmed@amazon.de> <1547026933-31226-13-git-send-email-karahmed@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1547026933-31226-13-git-send-email-karahmed@amazon.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9145 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=938 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901230134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 09, 2019 at 10:42:12AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map for accessing the enhanced VMCS since using > kvm_vcpu_gpa_to_page() and kmap() will only work for guest memory that has > a "struct page". > > Signed-off-by: KarimAllah Ahmed Reviewed-by: Konrad Rzeszutek Wilk