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] To use xcs or not?

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] To use xcs or not?
From: Anthony Liguori <anthony@xxxxxxxxxxxxx>
Date: Sun, 20 Feb 2005 11:04:02 -0600
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 20 Feb 2005 17:05:19 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <42184ECD.1080904@xxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <42184ECD.1080904@xxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Jacob Gorm Hansen wrote:

I am creating a graphics system where each VM draws into an OpenGL surface of a process running in dom0. I need to syncronize updates, ideally with the vertical blanking of the screen, but in the world of stupid PC hardware probably just with some refresh timer that my OpenGL process is tied to.

Neat, is this some sort of specialized application or are you implementing a virtual frame buffer?

So when the screen has been redrawn, I need to wake up my domUs, and for this I wanted to use the ctrl_if mechanism. I borrowed some code from vm-shutdown in the (very nice) vm-tools package, setup a semaphore in the guest kernel, and for every screen update I send an XCS_REQUEST (only type that seems to do anything) up to the domU.

This is probably a little overkill. If all you need is notification, you probably just want to setup your own evtchn.
This works fine for a little while (1000 updates or so), whereafter xcs seems to go into an infinite loop. I am going

xcs has some problems.  It needs some work.

Regards,

--
Anthony Liguori
anthony@xxxxxxxxxxxxx



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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