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

[Xen-devel] RE: [Xen-users] Xen --> Guest

To: "Security Initiative Team" <passrete@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] RE: [Xen-users] Xen --> Guest
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 21 Mar 2007 17:25:25 +0100
Delivery-date: Wed, 21 Mar 2007 09:24:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <447790.96098.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acdr1IR6vMK3tmJxR7iR8iYAKJH1RQAAB/hA
Thread-topic: [Xen-users] Xen --> Guest
 

> -----Original Message-----
> From: Security Initiative Team [mailto:passrete@xxxxxxxxx] 
> Sent: 21 March 2007 16:17
> To: Petersson, Mats; xen-devel@xxxxxxxxxxxxxxxxxxx; 
> xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Xen --> Guest
> 
> Yes, that's what I figured.
> 
> But, I haven't really been able to figure out how to actually 
> implement
> a new event channel.
> 
> I did create a new Virtual interrupt and registered it on the 
> DomU side.
> I was able to bind to it on the Xen side.
> However, the
> vcpu_info->evtchn_upcall_pending variable doesn't seem
> to get set correctly.
> I have v->vcpu_info->evtchn_upcall_mask = 0.
> 
> Plus, I'm not quite sure how to do the polling on the DomU side.
> 
> If you have a good idea as to how to implement it,
> please do let me know.

This is definitely a "xen-devel" question, so I removed the Xen-users
from distribution list. 

I'm not an expert on Event-channel operations, but it certainly should
be possible to set this up. 

This part of the Xen interface document could be useful, I think:
http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/interface/interfa
ce.html#SECTION00600000000000000000

--
Mats
> 
> 
> "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:
> 
> 
> 
>       > -----Original Message-----
>       > From: Security Initiative Team [mailto:passrete@xxxxxxxxx] 
>       > Sent: 21 March 2007 15:55
>       > To: Petersson, Mats; xen-devel@xxxxxxxxxxxxxxxxxxx; 
>       > xen-users@xxxxxxxxxxxxxxxxxxx
>       > Subject: RE: [Xen-users] Xen --> Guest
>       > 
>       > I have some monitoring capabilities set up in Xen
>       > and when that is triggered, I want to notify the DomU
>       > to take some action.
>       > 
>       > Example: If a certain part of memory is touched, Xen 
>       > sees that and wants to inform the DomU of this.
>       > 
>       > So, all I need is to set a bit somewhere that can
>       > be constantly polled by the DomU (waiting for it to flip)
>       
>       And isn't this EXACTLY what the event-channel does?
>       
>       --
>       Mats
>       > 
>       > Thanks,
>       > -Brian
>       > 
>       > "Petersson, Mats" wrote:
>       > 
>       > 
>       > 
>       > > -----Original Message-----
>       > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
>       > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
>       > > Security Initiative Team
>       > > Sent: 21 March 2007 01:03
>       > > To: xen-devel@xxxxxxxxxxxxxxxxxxx; 
>       > xen-users@xxxxxxxxxxxxxxxxxxx
>       > > Subject: [Xen-users] Xen --> Guest
>       > > 
>       > > What's the easiest way to send 1-bit of information from
>       > > Xen to a guest domain?
>       > 
>       > What do you want this 1-bit of information to achieve 
>       > at the other
>       > end... 
>       > 
>       > Without actually knowing what you're trying to achieve, 
>       > it's kind of
>       > hard to answer the question. 
>       > 
>       > --
>       > Mats
>       > > 
>       > > The event channel mechanism seems fairly complicated.
>       > > 
>       > > Thanks,
>       > > -Brian
>       > > 
>       > > 
>       > > ________________________________
>       > > 
>       > > It's here! Your new message!
>       > > Get new email alerts 
>       > > om/toolbar/features/mail/> with the free Yahoo! Toolbar. >
>       > om/toolbar/features/mail/> 
>       > > 
>       > 
>       > 
>       > 
>       > 
>       > 
>       > ________________________________
>       > 
>       > No need to miss a message. Get email on-the-go 
>       > 
>       > with Yahoo! Mail for Mobile. Get started. 
>       > 
>       > 
>       
>       
>       
> 
> 
> ________________________________
> 
> Food fight? 
> <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TA
zM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?
> link=ask&sid=396545367>  Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A. 
> <http://answers.yahoo.com/dir/index;_ylc=X3oDMTFvbGNhMGE3BF9TA
zM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx?
> link=ask&sid=396545367> 
> 



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

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