From: "Jan Beulich" Subject: Re: [PATCH for-4.5 RFC v2] x86/HVM: Unconditionally crash guests on repeated vmentry failures Date: Tue, 25 Nov 2014 17:25:28 +0000 Message-ID: <5474C998020000780004AD1D@mail.emea.novell.com> References: <1416934449-20299-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1416934449-20299-1-git-send-email-andrew.cooper3@citrix.com> 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: Andrew Cooper Cc: Tim Deegan , Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.11.14 at 17:54, wrote: > This is RFC as there is still a niggle. I tested this via a partial revert of > the XSA-110 fix but the result is quite chatty given a double VMCB dump and > domain crash. However, I am not sure we want to make any vmentry failure > quite, as any vmentry failure constitues a Xen bug. I think that double printing would be tolerable, but I've had yet another idea: Couldn't we make the second exception a #DF, thus having the guest killed via triple fault in the worst case at the third recurring failure (via hvm_combine_hw_exceptions())? Also your test results point out that we're delivering such an exception with wrong context to the guest: Machine state should match that before the results from the emulation got committed. But doing so would be a pretty significant change for almost no benefit. Jan