From: Anthony Liguori <anthony@codemonkey.ws>
To: Jacob Gorm Hansen <jacobg@diku.dk>
Cc: xen-devel <xen-devel@lists.sourceforge.net>
Subject: Re: To use xcs or not?
Date: Sun, 20 Feb 2005 11:04:02 -0600 [thread overview]
Message-ID: <4218C302.2070900@codemonkey.ws> (raw)
In-Reply-To: <42184ECD.1080904@diku.dk>
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@codemonkey.ws
-------------------------------------------------------
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
next prev parent reply other threads:[~2005-02-20 17:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-20 8:48 To use xcs or not? Jacob Gorm Hansen
2005-02-20 17:04 ` Anthony Liguori [this message]
2005-02-21 3:12 ` Jacob Gorm Hansen
2005-02-21 5:04 ` Anthony Liguori
2005-02-21 6:23 ` Jacob Gorm Hansen
2005-02-21 6:31 ` Anthony Liguori
2005-02-21 6:42 ` Jacob Gorm Hansen
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=4218C302.2070900@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=jacobg@diku.dk \
--cc=xen-devel@lists.sourceforge.net \
/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.