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] (corrected) 01_enforce_dom0_cpus_basic_pos reset

To: Paul Larson <pl@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] (corrected) 01_enforce_dom0_cpus_basic_pos reset vcpu count on failures.
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Thu, 1 Jun 2006 12:12:14 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 01 Jun 2006 04:48:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200605231540.17890.pl@xxxxxxxxxx>
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: <200605231432.05451.pl@xxxxxxxxxx> <20060523194904.GS16876@xxxxxxxxxx> <200605231540.17890.pl@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, May 23, 2006 at 03:40:14PM -0500, Paul Larson wrote:

> On Tuesday 23 May 2006 14:49, Ryan Harper wrote:
> > * Paul Larson <pl@xxxxxxxxxx> [2006-05-23 14:33]:
> > > If 01_enforce_dom0_cpus_basic_pos fails, the vcpu count for dom0 does not
> > > get restored causing subsequent boots to come up with only a single vcpu
> > > on dom0.
> >
> > Though I've never seen this mentioned on the list, I thought we wanted
> > to leave the system in the failed state if a test failed?  That's
> > certainly debatable.  Thoughts?
> Generally, that's probably a good rule but in this case it's better to go 
> with 
> the FAIL() output and put it back to a reasonable state because  the altered 
> state can persist not only out the end of the test run, but across xend 
> restarts and even reboots.  The reason this came up is because a bug was 
> filed where a few systems were only showing one cpu in /proc/cpuinfo, but 
> they were configured for smp and had previously booted with all their 
> processors.
> 
> > White-space damage.
> Doh! Fixed version attached.
>  01_enforce_dom0_cpus_basic_pos.py |   21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)
> Signed-off-by: Paul Larson <pl@xxxxxxxxxx>

Applied, thank you.

Ewan.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH] (corrected) 01_enforce_dom0_cpus_basic_pos reset vcpu count on failures., Ewan Mellor <=