From: "Jan Beulich" Subject: nested VMX issues/questions Date: Tue, 14 Oct 2014 10:31:50 +0100 Message-ID: <543D09A6020000780003E958@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XdySS-0000Il-9q for xen-devel@lists.xenproject.org; Tue, 14 Oct 2014 09:31:56 +0000 Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Kevin Tian , Yang Z Zhang Cc: xen-devel , Eddie Dong , Jun Nakajima List-Id: xen-devel@lists.xenproject.org Hi, first I noticed that nvmx_vcpu_initialise() doesn't set the two MSR bitmap related flags, but nvmx_handle_vmwrite() apparently expects them to be set. Is that correct (and if so, why)? Furthermore I question whether the handling of partial writes (for 32-bit L1 guests) in nvmx_handle_vmwrite() is really correct: After only one half of the register got written, the _map_{io,msr}_bitmap() functions are not impossible to fail, causing the guest VMWRITE to get failed with VMFAIL_VALID (which, if coded like Xen, would cause such a guest to crash). Jan