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

Re: [Xen-devel] That xenstored console leak...

On 18/1/08 23:47, "Jim Fehlig" <jfehlig@xxxxxxxxxx> wrote:

>>  I guess
>> that's the way to go, if so, and I'll commit to 3.3 and 3.2 trees.
> Hmm, don't know about replacing one lead with another - although to be
> fair it is much smaller :-).  What about my other suggestion of source
> domain of these operations nuking its /vm/<uuid> path on destruction?  I
> get the feeling there is a race in the localhost migration path that
> prevented such an approach, hence c/s 15957.  I could look into this
> though if you like, but will be out of town for the next few days and
> won't be able to investigate until Tuesday.

It would be nice to reference count, or otherwise track the vm<->domain
mapping, of /vm, so that we could somehow naturally avoid destroying the /vm
path on localhost migration yet we could destroy it on most saves and
relocates. I don't know how hard this would be.

Could we just make all saves and relocates destroy the /vm/<uuid>-<number>
path? I can imagine I missed adding some deletions of that path when I
introduced the <number> extra level of discrimination, but would it be hard
to find the one or two places it might be needed and add it? Compared with
the other options we have?

I'm afraid I'm really not sure -- but I suspect at this point you know xend
a bit better than I do.

 -- Keir

Xen-devel mailing list



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