Received: by 10.223.164.202 with SMTP id h10csp419727wrb; Thu, 9 Nov 2017 08:20:01 -0800 (PST) X-Google-Smtp-Source: ABhQp+SNyFM5drIdZd1z9O97K1aklAdKbWyFzUsglyqTjIeB+z++x/fzEBBXyyq1GO9BKIeyiDdy X-Received: by 10.84.168.100 with SMTP id e91mr947853plb.430.1510244400924; Thu, 09 Nov 2017 08:20:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510244400; cv=none; d=google.com; s=arc-20160816; b=cbStr0ETQxHeXGnyol2Czs5r4X0Lkj2VqucS6l7F7nDyb2q/2+k27EY2x5yXHBpMAo rtnqVatp+X0JWsb9nEFpXtLyDzO8jjuMZ0nzLXfYEXGJUNVIfWTqJTIzMeqIBg3BtTmV YWo4XCkp+W7LIhD/O8scgDvfQwaVK9yPpsDGxnM7VA1IrdHvBdQUzuL//Q9VlOPx+ehK L+oIzfTnVt0Sqw/4FLygXZ3NOwMr0Y7Tp466pZx3GjeAcdpExUIEbmbwEtW3oVBcHKJV smycxnJ638Ocor9PwqSHMkaoC2QTuamejYDj3O6tQGBMVCRmkEbKXpBcFtOZs/uWskIw AW1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=sJCxhaQpLij1iyxzns3GIePilkqH3Jt4GrEru8tjpjE=; b=p5nkS8+6YZZhwcaULUuH+zbFyLPrClsi7WG9dulv3CDa5pcD8v9z5xjoX2TUb0Ph6w SgVs4cLPaeve8fHeITfKAVsmKtS/RJx6pWRx5aEo3u631Y0SzDVF8XCJCdLtMfZYwO0h FdSx7ww+qLGf9sS+hXr58umjIXtL0lnmQ3Lv2wWt+Hlun5IpoIYceXYox0dAyF1evF2P z3gegdj4rQ/Ug01CUO84a0gjQQcerfc3tHnJ7BkVKkk9XO/p0OUFTWWg/J6zW6ncVRx/ 5NTSNapgkqGq5c9+6Oi75Z59qVDRmP1QUlLzAVXKYntQizJg4g0DUD5F6IwKRnZHmGOc 287g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=TiCfz05h; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n185si6607739pgn.51.2017.11.09.08.19.48; Thu, 09 Nov 2017 08:20:00 -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=@google.com header.s=20161025 header.b=TiCfz05h; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753585AbdKIQTK (ORCPT + 81 others); Thu, 9 Nov 2017 11:19:10 -0500 Received: from mail-io0-f196.google.com ([209.85.223.196]:43962 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752195AbdKIQTI (ORCPT ); Thu, 9 Nov 2017 11:19:08 -0500 Received: by mail-io0-f196.google.com with SMTP id 134so10427410ioo.0 for ; Thu, 09 Nov 2017 08:19:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sJCxhaQpLij1iyxzns3GIePilkqH3Jt4GrEru8tjpjE=; b=TiCfz05hlRUL61i7brKwU1nYaKSVGORlcVR6NetkL6v7l/i+rVmHdGkxtN8He6YeJ8 k2WsucL/ltvMKninLBWLdkSdHwltVRbAcGiQ4SXX6Tpo8JVmGX8TaYDC0gR/SxG/30ud F59KEkPvQ+DblgpLRN8uBXmQpXn+C71F7xWvXXH0nO1UMjuavkSCa0AvTWLwIsSCBS2l 3VQFoZgkDL9VyaDCIBoLsJAyhqtufFKalWpjIaRbH7XalOUDFQ10jYWVfrYipYzCPwBw XVojrqXDZo4h2umuialgPIXV6r4r5WoCEd/STzZASdd9eB056tTcYijwsa6/mjYK7J/f nnSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sJCxhaQpLij1iyxzns3GIePilkqH3Jt4GrEru8tjpjE=; b=Uk5wOWGv/FeQlgPbyofif4wNfXaA/1luygj0mWu/m7XWOvP5kQCRLN1NMHKBUtMDPF QBGFSNbwVZ96Q9fPpFIppdZLUWfTQ3GvgX/Dg3f+BBio3Ous+i/sgOV0gbGPy/b5QqO8 ak9+IVm1HdJROK8x47RTm2yRjd+nlFjya7Hq4dlo8BSMb3APZbNoN0kHZ4aJfWEWRFS0 uPmO8AqKZadTauYVt8PR1haKb7alG8StAQ2lhSY2J3iH4Ka18G1H2yOMx6pTB3ykPuT3 1qlJDLgqbIV2OQDm8V5CyQYFuWVRjV4aOJ8io8hN0ScQBsujPT/EYQbVMtGLKj3DZ3xB LguA== X-Gm-Message-State: AJaThX5G9zXIhrcwiY2NjoVjnaMJTkYZGGcgCU0bJYP1o6ALMgHfwhtg Kt1P8tennWZvBvA5m/hxtyGjyWPCv5qP7ffzoJwZiQ== X-Received: by 10.107.135.202 with SMTP id r71mr1223421ioi.26.1510244347213; Thu, 09 Nov 2017 08:19:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.13.76 with HTTP; Thu, 9 Nov 2017 08:19:06 -0800 (PST) In-Reply-To: <3201561c-55c4-8edb-41bc-d4247520f61c@redhat.com> References: <1509670249-4907-1-git-send-email-wanpeng.li@hotmail.com> <1509670249-4907-3-git-send-email-wanpeng.li@hotmail.com> <50b82c53-1e57-88a9-25bd-76697bf2d048@oracle.com> <3201561c-55c4-8edb-41bc-d4247520f61c@redhat.com> From: Jim Mattson Date: Thu, 9 Nov 2017 08:19:06 -0800 Message-ID: Subject: Re: [PATCH v5 3/3] KVM: nVMX: Fix mmu context after VMLAUNCH/VMRESUME failure To: Paolo Bonzini Cc: Wanpeng Li , Krish Sadhukhan , LKML , kvm list , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Wanpeng Li Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Will do. On Thu, Nov 9, 2017 at 2:40 AM, Paolo Bonzini wrote: > On 09/11/2017 01:37, Wanpeng Li wrote: >> 2017-11-09 5:47 GMT+08:00 Jim Mattson : >>> I realize now that there are actually many other problems with >>> deferring some control field checks to the hardware VM-entry of >>> vmcs02. When there is an invalid control field, the vCPU should just >>> fall through to the next instruction, without any state modifiation >>> other than the ALU flags and the VM-instruction error field of the >>> current VMCS. However, in preparation for the hardware VM-entry of >>> vmcs02, we have already changed quite a bit of the vCPU state: the >>> MSRs on the VM-entry MSR-load list, DR7, IA32_DEBUGCTL, the entire >>> FLAGS register, etc. All of these changes should be undone, and we're >>> not prepared to do that. (For instance, what was the old DR7 value >>> that needs to be restored?) >> I didn't observe real issue currently, and I hope this patchset can >> catch the upcoming merge window. Then we can dig more into your >> concern. > > Can any of you write a simple testcase for just one bug (e.g. DR7)? > > Thanks, > > Paolo From 1583586676451938328@xxx Thu Nov 09 11:12:21 +0000 2017 X-GM-THRID: 1583003100143951555 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread