Skip to contentSkip to conversation

Could a dirver allow Windows to make Linux system calls?

DISCUSSION M.Thomas Frederiksen 2 participants 2 messages Mar 7, 2007 1 message not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
In reply to a message not in the archive
Quoted 2 lines · M.Thomas Frederiksen

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.

Quoted 4 lines

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.

Signature · 8 lines
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