From: Jim Mattson Subject: [PATCH 0/4] VMCS shadowing fix Date: Thu, 6 Jul 2017 12:52:14 -0700 Message-ID: <20170706195218.98520-1-jmattson@google.com> Cc: Jim Mattson To: kvm@vger.kernel.org Return-path: Received: from mail-pg0-f52.google.com ([74.125.83.52]:36081 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751813AbdGFTwf (ORCPT ); Thu, 6 Jul 2017 15:52:35 -0400 Received: by mail-pg0-f52.google.com with SMTP id u62so5801623pgb.3 for ; Thu, 06 Jul 2017 12:52:34 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 64-bit VMCS fields were not being handled properly by the VMCS shadowing code. In particular, some full-width fields (TSC_OFFSET and GUEST_PHYSICAL_ADDRESS) were being shadowed, but accesses to the high 32-bits of these fields were not. Interleaved L1 accesses to the full-width fields and the high 32-bits returned inconsistent results. To make this cherry-pick easier, I also pulled in three other commits which are in preparation for virtualized VMCS shadowing support. I plan on submitting the patches for virtualized VMCS shadowing in the very near future. Jim Mattson (4): kvm: nVMX: Add support for "VMWRITE to any supported field" kvm: vmx: Introduce vmcs_read_any and vmcs_write_any kvm: nVMX: Introduce/rename enums for VMCS field encodings kvm: nVMX: Shadow "high" parts of shadowed 64-bit VMCS fields arch/x86/kvm/vmx.c | 231 +++++++++++++++++++++++++++-------------------------- 1 file changed, 119 insertions(+), 112 deletions(-) -- 2.13.2.725.g09c95d1e9-goog