From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Could a dirver allow Windows to make Linux system calls? Date: Wed, 07 Mar 2007 16:41:32 +0200 Message-ID: <45EECF1C.3020503@qumranet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "M.Thomas Frederiksen" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.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