WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] ptwr_emulate adjustments

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] ptwr_emulate adjustments
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Tue, 16 Jan 2007 13:09:00 +0000
Delivery-date: Tue, 16 Jan 2007 05:06:50 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D27C87.7488%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <45ACD5E9.76E4.0078.0@xxxxxxxxxx> <C1D27C87.7488%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> - 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>