qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Address translation - virt->phys->ram


From: Alexander Graf
Subject: Re: [Qemu-devel] Address translation - virt->phys->ram
Date: Tue, 23 Feb 2010 16:54:59 +0100

On 23.02.2010, at 16:46, Ian Molton wrote:

> Alexander Graf wrote:
> 
>> I guess what you really want is some shm region between host and guess
>> that you can use as ring buffer. Then you could run a timer on the host
>> side to flush it or have some sort of callback when you urgently need to
>> flush it manually.
>> 
>> The benefit here is that you can actually make use of multiple threads.
>> There's no need to intercept the guest at all just because it wants to
>> issue some GL operations.
> 
> Something like that should work. The problem right now is mostly the
> 'some sort of callback'. Im not sure there exists any mechanism for the
> guests userspace to interrupt qemu directly when running under kvm...

I'm not aware of any mechanism, but you could easily write a simple UIO driver 
that takes over this exact task.
Or you build on top of cam's shm patches and create a device node that exposes 
a poke ioctl.


Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]