From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH 3/3] kvm: vmx: Check value written to IA32_BNDCFGS Date: Wed, 24 May 2017 17:09:24 +0200 Message-ID: <20170524150924.GB8174@potion> References: <20170523185254.98780-1-jmattson@google.com> <20170523185254.98780-3-jmattson@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org To: Jim Mattson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46310 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932464AbdEXPJ1 (ORCPT ); Wed, 24 May 2017 11:09:27 -0400 Content-Disposition: inline In-Reply-To: <20170523185254.98780-3-jmattson@google.com> Sender: kvm-owner@vger.kernel.org List-ID: 2017-05-23 11:52-0700, Jim Mattson: > Bits 11:2 must be zero and the linear addess in bits 63:12 must be > canonical. Otherwise, WRMSR(BNDCFGS) should raise #GP. > > Fixes: 0dd376e709975779 ("KVM: x86: add MSR_IA32_BNDCFGS to msrs_to_save") > Signed-off-by: Jim Mattson > --- Reviewed-by: Radim Krčmář