WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Can Xen VMM or dom0 see the console input to certain dom

To: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Can Xen VMM or dom0 see the console input to certain domU?
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Tue, 29 Mar 2005 16:07:38 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Mar 2005 22:09:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0503291652120.28541@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM
References: <Pine.LNX.4.58.0503291632260.28387@xxxxxxxxxxxxxxxxxxxxx> <4249CB3B.301@xxxxxxxxxx> <Pine.LNX.4.58.0503291652120.28541@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Xin Zhao wrote:

Thanks a lot! Your answer exactly addressed my question. :) Can you point
out the exact place that forwards user input to DomU via TCP socket in
Xend?  I might want to deploy a module in Dom0 to inspect the user inputs
(both keyboard and mouse) to DomU.
tools/python/xen/xend/server/console.py

Where you hook things depends on your app. produceRequests() is probably a good place to start.

Regards,
Anthony Liguori

cheers,
-x


On Tue, 29 Mar 2005, Anthony Liguori wrote:

Xin Zhao wrote:

Also, looks like the network traffic is bridged at dom0, does that mean
dom0 can see all the network traffic to all domU?


I'm not sure I fully understand your questions.

dom0 feeds each domU's console input.  The current source of that input
is a TCP socket via Xend.

All network traffic is funnelled through the network device's backend
which currently lives in dom0.

If the answers to the two questions above are "yes", can someone point me
to the right place in source codes that bridge user terminal inputs and
network traffic?


It depends on what you're trying to do.  If you want to do some sort of
traffic shaping or routing the normal Linux hooks should work in dom0.

If you want to trap console input, you're probably going to be looking
in Xend.

Regards,

Many thanks!

-x

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel






_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>