Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1066828imu; Wed, 23 Jan 2019 10:11:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN7uv3Sxmk07UjCExy5kQYaoAgnTn+hA23NjZ6EigUeHCcUJ/DyMhG3EybReQ+iDHnVREb3O X-Received: by 2002:a17:902:8d95:: with SMTP id v21mr3241064plo.162.1548267071982; Wed, 23 Jan 2019 10:11:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548267071; cv=none; d=google.com; s=arc-20160816; b=noAc5wJNq+JZft+d7L1zsZMhe22DzjLPJcWde5HrXDyaq1BF72TdJIpt83oUMQokYP RJcDctkm6NOXBQBQHZaZCkTt0sun5OESC4hlw9e2oW6j1z94EpyYowGeFNLaIJLZHRXh x7UoW+fM7YBJ4iox8RwyTc5zyyNiRWTEkihHdzuR/B216wnfnwCurKCXk/SsHaO4WBfo gx82kdy14jp/WNLzT+mIMLGbc5tmrmmmie5XcT1Fvnyh5xaR+EUtsWuMSp1GLYBpLxBP ckSdIfayUe37d3aAO4xdPNajFkjOJBUlcFbfkFtu2vw8BYxcFzh+5Ffc6kJzByQvUsUy Bq2g== 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=bVD5LDsbSc3yyx4PdM5bZ8an2osyHR4IYqsVov1duNU=; b=Qx4eJBDdtcNqwhYW25Aq3X2or9BE3UrvJxB6LJVsCKIVDNVEibrnVhblimDWtnw1YG NeipUvvit6BEdto8DC3folsyKT0C3xTbQc3fUItcpqUkLBG2srFykHgG9iFym5ETrHza t0jzxAaWUZ8OOhv6eZvcvMpQ7+RG2cmmALh/hjg8ct33qZ2Xv701JMc5R4xFTzD3O6AQ KXLNmOTtY/kKQoq0AS/P6uLGf9c5WD8bRJkmE4JjapPoRpxGbnCmm68RBR+RUBSHaeC6 hR+we1kwR3Hq52pFvbknb2w3HDMwjRjdZg9JFyP6WIrlMcnY++YOlV/9WBt8gg+Vs7M5 mRAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=oGurqBcx; 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 d82si18871178pfj.124.2019.01.23.10.10.56; Wed, 23 Jan 2019 10:11:11 -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=oGurqBcx; 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 S1726790AbfAWSK1 (ORCPT + 99 others); Wed, 23 Jan 2019 13:10:27 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:45760 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbfAWSK1 (ORCPT ); Wed, 23 Jan 2019 13:10:27 -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 x0NI43hD085134; Wed, 23 Jan 2019 18:10:22 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=bVD5LDsbSc3yyx4PdM5bZ8an2osyHR4IYqsVov1duNU=; b=oGurqBcxF0t6wEqA6oVJa4eDt62pq4FUIgdVtrDO2umNzZND7KJNkiF9x/0jj0YreiZe 4nbf4yLjO4/RoXENPZ+Qr7IZO3UqUw9xVOkkMxjzfm8crMgTApMwKA8mW0AknOUFMVSO 7KENCNDzm4b+o63jw7blhwuos7ba6F0MdwFK7KM8T2lap7imQM/FwzwasbiQIM/74h9A gXylp3U12+qXwEKiCMAnzkcYmpNdzrbhTU7ZM4NggfaJkbKTEdifEKraZfwCm5sK642s ZFZoWAjjFLzUbl5oPwPwovoPz1PqxDV3Qim0JBMjuBNn4Ibzg1K2gXOMutAau+mjqYaq ZA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2q3vhrue81-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Jan 2019 18:10:22 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0NIALFi015558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 23 Jan 2019 18:10:21 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x0NIALJv021825; Wed, 23 Jan 2019 18:10:21 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:10:21 -0800 Date: Wed, 23 Jan 2019 13:10:05 -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 11/13] KVM/nVMX: Use kvm_vcpu_map for accessing the shadow VMCS Message-ID: <20190123181002.GP19289@Konrads-MacBook-Pro.local> References: <1547026933-31226-1-git-send-email-karahmed@amazon.de> <1547026933-31226-12-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-12-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=894 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:11AM +0100, KarimAllah Ahmed wrote: > Use kvm_vcpu_map for accessing the shadow 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 Rzessutek Wilk