All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Xin Zhao <zhaoxin@eecs.umich.edu>
Cc: xen-devel@lists.xensource.com
Subject: Re: Can Xen VMM or dom0 see the console input to certain domU?
Date: Tue, 29 Mar 2005 16:07:38 -0600	[thread overview]
Message-ID: <4249D1AA.2050107@us.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0503291652120.28541@willow.eecs.umich.edu>

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@lists.xensource.com
>>>http://lists.xensource.com/xen-devel
>>>
>>>
>>>
>>>      
>>>
>
>  
>

      reply	other threads:[~2005-03-29 22:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-29 21:36 Can Xen VMM or dom0 see the console input to certain domU? Xin Zhao
2005-03-29 21:40 ` Anthony Liguori
2005-03-29 21:58   ` Xin Zhao
2005-03-29 22:07     ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4249D1AA.2050107@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=zhaoxin@eecs.umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.