From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "M.Thomas Frederiksen"
<mahasamoot-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Could a dirver allow Windows to make Linux system calls?
Date: Wed, 07 Mar 2007 16:41:32 +0200 [thread overview]
Message-ID: <45EECF1C.3020503@qumranet.com> (raw)
In-Reply-To: <loom.20070307T141643-495-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
M.Thomas Frederiksen wrote:
> Given that the guest is a process on Linux, couldn't it use Linux system calls
> like any other Linux process?
No, system calls on the guest go to the guest kernel.
> For example, could a driver be added to Windows,
> so that Windows could use the same system call that X windows does to get access
> to the video card?
>
kvm exposes a hypercall mechanism which allows a guest driver to call
the host. You could use that to tunnel opengl commands to the display.
See http://www.cs.toronto.edu/~andreslc/xen-gl/ for an example.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
prev parent reply other threads:[~2007-03-07 14:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 13:27 Could a dirver allow Windows to make Linux system calls? M.Thomas Frederiksen
[not found] ` <loom.20070307T141643-495-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2007-03-07 14:41 ` Avi Kivity [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=45EECF1C.3020503@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mahasamoot-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox