[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] Minor fix to libxenstat to stop it returning NULL when domains go away at the wrong time


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
  • Date: Wed, 2 Aug 2006 12:46:45 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 02 Aug 2006 09:47:23 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Aca2FoiJVP3D6q3YTi2neIi/3iprxwAOysSQ
  • Thread-topic: [Xen-devel] [PATCH] Minor fix to libxenstat to stop it returning NULL when domains go away at the wrong time

OK - final version (including a small bug fix over the last one) made
against the unstable tree

Simon

-----------------------------------------------------------
Currently, xenstat_get_node exits with a failure and returns NULL if a
VM is deleted 
between the time the list of VMs is obtained and the time it attempts to
collect 
information about the VMs. This patch modifies xenstat to ignore domains
that transition 
during the call.

Signed-off-by: Simon.Graham@xxxxxxxxxxx
-----------------------------------------------------------

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Keir Fraser
> Sent: Wednesday, August 02, 2006 5:20 AM
> To: Graham, Simon
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] [PATCH] Minor fix to xentop to stop it
> dyingwhendomains go away at the wrong time
> 
> 
> On 28 Jul 2006, at 18:33, Graham, Simon wrote:
> 
> > Good suggestions - you are right that we only have issues when a VM
> is
> > in transition so simply removing it from the returned list should be
> > fine.
> >
> > Turns out that this also means the collectors don't need to return
> > special codes either - they are back to either working (and
> potentially
> > pruning a domain from the list) or failing completely.
> >
> > Patch attached (boy, this is taking waaay more time than I
expected!)
> 
> This looks good, but:
>   1. Needs to be against xen-unstable (doesn't apply right now, due to
> differences between unstable and testing trees)
>   2. Please provide an up-to-date checkin comment and signed-off-by
> line.
> 
> Fix these two issues and I'll check it straight in.
> 
>   Thanks,
>   Keir
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: xenstat-bug661.patch
Description: xenstat-bug661.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.