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

Re: [Xen-devel] domain communication info



On Mon, 2012-07-30 at 12:25 +0100, Kerti Csaba wrote:
> > Date: Sun, 29 Jul 2012 23:46:43 -0400
> > Subject: Re: [Xen-devel] domain communication info
> > From: shakeel.butt@xxxxxxxxx
> > To: csocskos@xxxxxxxxxxx
> > CC: xen-devel@xxxxxxxxxxxxx
> >
> > > a.) How can I catch the event, when the domain0 forward a message to the 
> > > guest domains?
> > > b.) How can I catch the event of an incoming messages to domain0 (from 
> > > the outer world)?
> > > c.) How can I catch the event of the outgoing messages from a guest 
> > > domain?
> >
> > Seems like you are only interested in network traffic (not general
> > communication). The methods you are looking at for intercepting
> > network traffic are doable but hard and error prone. How are you
> > connecting your domUs to the network? For example, if you are using
> > layer-2 bridge then it is the best place to intercept network traffic
> > and you can catch packets incoming from Internet and also packets
> > coming from (or going to) domUs.
> >
> > Shakeel
> 
> Thank you for the answer Shakeel!
> 
> I use a default network bridge.
> I just briefly looked the source code of the Xen, but I couldn't find the 
> source of the bridge in there. 
> But I will keep looking for it.

The bridge is part of the domain 0 kernel, not the hypervisor.

You probably want to look at the Linux bridging driver, although you
might also want to look at openvswitch.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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