From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [RFC PATCH v2 6/6] KVM: emulate: remove memopp and rip_relative Date: Sun, 13 Apr 2014 08:48:32 -0400 Message-ID: <534A87A0.9080809@redhat.com> References: <1397174612-17373-1-git-send-email-bsd@redhat.com> <1397174612-17373-7-git-send-email-bsd@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Gleb Natapov , linux-kernel@vger.kernel.org To: Bandan Das , kvm@vger.kernel.org Return-path: In-Reply-To: <1397174612-17373-7-git-send-email-bsd@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Il 10/04/2014 20:03, Bandan Das ha scritto: > /* Fields above regs are cleared together. */ This comment is not accurate anymore after patch 4. Since you're fixing it, please add another comment saying where the cleared fields start, too. > + ctxt->memop.addr.mem.ea = (u32)ctxt->memop.addr.mem.ea; This is missing "if (ctxt->ad_bytes != 8)". > + if (rip_relative) > + ctxt->memop.addr.mem.ea += ctxt->_eip; Paolo