All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Re: Proposal for init/kexec/hotplug format for Xen
@ 2005-02-28 12:22 harry
  2005-02-28 13:02 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: harry @ 2005-02-28 12:22 UTC (permalink / raw)
  To: Rusty Russell, Anthony Liguori; +Cc: Keir Fraser, Jeremy Katz, Xen Mailing List

Why have two separate mechanisms when the mechanism required for hotplug can be used to build the tree from scratch?


-- 

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm



-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: Proposal for init/kexec/hotplug format for Xen
  2005-02-28 12:22 Re: Proposal for init/kexec/hotplug format for Xen harry
@ 2005-02-28 13:02 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2005-02-28 13:02 UTC (permalink / raw)
  To: harry; +Cc: Anthony Liguori, Keir Fraser, Jeremy Katz, Xen Mailing List

On Mon, 2005-02-28 at 13:22 +0100, harry@hebutterworth.freeserve.co.uk
wrote:
> Why have two separate mechanisms when the mechanism required for
> hotplug can be used to build the tree from scratch?

The only difference would be the transport for hotplug events, which is
infrastructure which needs to exist anyway to transport other
information between domains.

We'll see when the code's finished, but I see the code being:

	__init boot_devtree_setup()
	{
		devtree_add(boot_devtree_ptr);
	}

	hotplug_receive_event()
	{
		receive data
		if (op == ADD)
			devtree_add(data);
		else if (op == REMOVE)
			devtree_remove(data);
	}

ie. the mere difference in transport should be a few lines of code.
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman



-------------------------------------------------------
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_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-28 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-28 12:22 Re: Proposal for init/kexec/hotplug format for Xen harry
2005-02-28 13:02 ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.