From: "Jan Beulich" Subject: Re: [PATCH V3] vmx/nmi: Do not use self_nmi() in VMEXIT handler Date: Thu, 28 Feb 2013 16:12:03 +0000 Message-ID: <512F8FE302000078000C220E@nat28.tlf.novell.com> References: <50AE511302000078000AAA14@nat28.tlf.novell.com> <50AE46B0.6010807@citrix.com> <50AE590502000078000AAA48@nat28.tlf.novell.com> <50AE4D2C.1040104@citrix.com> <512F384602000078000C1D5B@nat28.tlf.novell.com> <20130228130008.GE27704@ocelot.phlegethon.org> <512F6C2502000078000C2042@nat28.tlf.novell.com> <20130228142503.GH27704@ocelot.phlegethon.org> <512F7ADE02000078000C211A@nat28.tlf.novell.com> <512F88B002000078000C21AA@nat28.tlf.novell.com> <20130228155541.GJ27704@ocelot.phlegethon.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130228155541.GJ27704@ocelot.phlegethon.org> 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: Tim Deegan Cc: Andrew Cooper , Malcolm Crossley , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org >>> On 28.02.13 at 16:55, Tim Deegan wrote: > At 15:41 +0000 on 28 Feb (1362066080), Jan Beulich wrote: >> + testb $3,UREGS_cs(%rsp) >> + GET_CURRENT(%rbx) >> + jz restore_all_xen > > GET_CURRENT() contains an addq, which updates ZF. Swap it with the > testb? I'm glad you spotted that - thanks. I moved the GET_CURRENT() down though instead of up. Jan