From: "Jan Beulich" Subject: Re: [PATCH] ptwr_emulate adjustments Date: Tue, 16 Jan 2007 13:09:00 +0000 Message-ID: <45ACDC7C.76E4.0078.0@novell.com> References: <45ACD5E9.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >> - dump guest execution state when emulation fails > >We can't put anything more than XENLOG_G_WARNING on a path that a guest can >exercise at will. One option is to make show_execution_state (and hence all >underlying state-dump functions) take the dump log level as a parameter. Oh, understood. I'm not insisting on this part. It just helped me in debugging. >> - use the passed in register pointer rather than re-calculating >> guest_cpu_user_regs() > >The assertion is broken and anyway really a bit overkill imo. Using regs >rather than guest_cpu_user_regs() makes sense. While I don't understand why it's broken (I just added it to check in debug builds that the value now used matches the one previously used), but I'm fully with you to remove it if you agree that using the function parameter is okay. Jan