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

RE: [Xen-devel] "virtual cluster" debug support




> Please review the following diff. I will follow up with a signed off
> patch with the required fixes.
> 
> http://www.fsmware.com/xenofreebsd/gdb/050318/clusterbkpt.diff

Kip,

I think it would definitely be better to have a separate dom0 op to set
the domain group rather having it as part of the create operation. It's
something that you might want to change after the domain's creation
(though create will fill in a default of groupid = domid).

I'm not keen on the proliferation of dom0 ops, and I expect we'll merge
a number of them into a 'get/set domain parameter' operation at some
point, but for the moment, I think the best soloution is adding a
DOM0_SETDOMAINGROUP. 

Thanks,
Ian



> 
>                   -Kip
> 
> On Fri, 18 Mar 2005 00:35:10 -0000, Ian Pratt 
> <m+Ian.Pratt@xxxxxxxxxxxx> wrote:
> > > To my local tree I'm about to commit support for the notion of a
> > > "virtual cluster" for debugging purposes. The idea is 
> that when one
> > > node (domain) in a cluster hits a breakpoint, all the 
> other nodes are
> > > paused so that the first node doesn't get voted out of 
> the quorum. I'd
> > > be very surprised if there are other potential users for this
> > > functionality, but I'm asking just in case.
> > >
> > > The current implementation is done in such a way as to minimally
> > > perturb the existing interfaces to make it easy to carry it as an
> > > outside patch indefinitely. However, if others might use, 
> it could be
> > > implemented more cleanly.
> > 
> > I guess the 'nice' way of doing this would be to have a notion of
> > 'domain groups', akin to process groups. This would be 
> pretty trivial to
> > hack in:
> >  * add a group_id integer to the domain struct. 0 is special = not
> > grouped
> >  * add a domains struct * to create a circular list of 
> domains in same
> > group
> >  * add a dom0_op to set the group of a domain (scan domain 
> list, adjust
> > circular list)
> >  * on break point follow circular list issuing pause_domain(d)
> > 
> > Ian
> >
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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