public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Could a dirver allow Windows to make Linux system calls?
@ 2007-03-07 13:27 M.Thomas Frederiksen
       [not found] ` <loom.20070307T141643-495-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: M.Thomas Frederiksen @ 2007-03-07 13:27 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Given that the guest is a process on Linux, couldn't it use Linux system calls
like any other Linux process?  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?


-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Could a dirver allow Windows to make Linux system calls?
       [not found] ` <loom.20070307T141643-495-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
@ 2007-03-07 14:41   ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-03-07 14:41 UTC (permalink / raw)
  To: M.Thomas Frederiksen; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-07 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox