All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: RFC: "local" communications
@ 2005-06-15 21:53 Ian Pratt
  2005-06-15 22:10 ` Nivedita Singhvi
  2005-06-15 22:43 ` Rik van Riel
  0 siblings, 2 replies; 13+ messages in thread
From: Ian Pratt @ 2005-06-15 21:53 UTC (permalink / raw)
  To: Rik van Riel, xen-devel; +Cc: Lon Hohberger

> In order for this to work better, it would be good if there 
> was a way for software in a domU to communicate with software 
> on the local dom0 - so after being migrated elsewhere, a 
> guest would start talking to the new dom0 automatically.
> 
> Now what I'm not sure about is, what would be the best way to do this?
> 
> Should it be some virtual device analogous to the virtual 
> network driver, or should we have some other kind of socket 
> for node local communications ?
> 
> What kind of approach would the Xen community (that's you, if 
> you read this far) prefer ?

For relatively static stuff (e.g. textual configuration data), it would
be reasonable to use xenbus/xenstore. We could give each domain a
subtree in the store that it can read/write via a /proc/sys interface.

For other low bandwidth stuff we could have a simple protocol for
multiplexing datagrams over the virtual console channel. 

For high bandwidth stuff we'd want to set up separate shared memory
rings. 

Rik: Does this mean you could be pursuaded to look at splitting the
console handling out of xend? :-)

Ian

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: RFC: "local" communications
@ 2005-06-15 22:32 Ian Pratt
  2005-06-16  2:59 ` Rusty Russell
  0 siblings, 1 reply; 13+ messages in thread
From: Ian Pratt @ 2005-06-15 22:32 UTC (permalink / raw)
  To: Nivedita Singhvi; +Cc: Lon Hohberger, xen-devel

 

> -----Original Message-----
> From: Nivedita Singhvi [mailto:niv@us.ibm.com] 
> Sent: 15 June 2005 23:11
> To: Ian Pratt
> Cc: Rik van Riel; xen-devel@lists.xensource.com; Lon Hohberger
> Subject: Re: [Xen-devel] RFC: "local" communications
> 
> Ian Pratt wrote:
> 
> > For relatively static stuff (e.g. textual configuration data), it 
> > would be reasonable to use xenbus/xenstore. We could give 
> each domain 
> > a subtree in the store that it can read/write via a 
> /proc/sys interface.
> 
> Ian, how flexible is the format/layout of the xenstore going 
> to be? Does it allow for more of a general purpose use? That 
> would be neat..

It enables something akin to /proc. i.e. you can have an arbitrary
hierarchy of files. To retain the same spirit as everything else in
xenstore it would be preferable that both file names and contents were
text (rather than binary).

I think I quite like the idea of having a /proc/sys interface onto
xenstore. We'll still need the console multiplexing approach for
stream/datagram data.

Ian



  

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RFC: "local" communications
@ 2005-06-15 20:08 Rik van Riel
  2005-06-15 20:24 ` Anthony Liguori
  0 siblings, 1 reply; 13+ messages in thread
From: Rik van Riel @ 2005-06-15 20:08 UTC (permalink / raw)
  To: xen-devel; +Cc: Lon Hohberger

Hi,

When combining clustering with cluster storage, the situation
arises where virtual machines are not only managed by the cluster
software, but also need to participate in the cluster software
themselves...

In order for this to work better, it would be good if there
was a way for software in a domU to communicate with software
on the local dom0 - so after being migrated elsewhere, a guest
would start talking to the new dom0 automatically.

Now what I'm not sure about is, what would be the best way to
do this?

Should it be some virtual device analogous to the virtual
network driver, or should we have some other kind of socket
for node local communications ?

What kind of approach would the Xen community (that's you, if
you read this far) prefer ?

-- 
The Theory of Escalating Commitment: "The cost of continuing mistakes is
borne by others, while the cost of admitting mistakes is borne by yourself."
  -- Joseph Stiglitz, Nobel Laureate in Economics

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

end of thread, other threads:[~2005-06-16 16:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 21:53 RFC: "local" communications Ian Pratt
2005-06-15 22:10 ` Nivedita Singhvi
2005-06-15 22:43 ` Rik van Riel
2005-06-16 16:19   ` Lon Hohberger
  -- strict thread matches above, loose matches on Subject: below --
2005-06-15 22:32 Ian Pratt
2005-06-16  2:59 ` Rusty Russell
2005-06-15 20:08 Rik van Riel
2005-06-15 20:24 ` Anthony Liguori
2005-06-15 21:31   ` Nivedita Singhvi
2005-06-15 21:55     ` Anthony Liguori
2005-06-15 22:07       ` Nivedita Singhvi
2005-06-16 16:15     ` Lon Hohberger
2005-06-16  2:44   ` 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.