qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] VFIO based vGPU(was Re: [Announcement] 2015-Q3 release


From: Jike Song
Subject: Re: [Qemu-devel] VFIO based vGPU(was Re: [Announcement] 2015-Q3 release of XenGT - a Mediated ...)
Date: Wed, 27 Jan 2016 08:06:13 +0800
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 01/26/2016 10:05 PM, Yang Zhang wrote:
> On 2016/1/26 15:41, Jike Song wrote:
>
>> We will need to extend:
>>
>>      - VFIO_DEVICE_GET_REGION_INFO
>>
>>
>> a) adding a flag: DONT_MAP. For example, the MMIO of vgpu
>> should be trapped instead of being mmap-ed.
> 
> I may not in the context, but i am curious how to handle the DONT_MAP in 
> vfio driver? Since there are no real MMIO maps into the region and i 
> suppose the access to the region should be handled by vgpu in i915 
> driver, but currently most of the mmio accesses are handled by Qemu.
>

Hi Yang,

MMIO accesses are supposed to be handled in kernel, without vm-exiting
to QEMU, similar to in-kernel irqchip :)

--
Thanks,
Jike



reply via email to

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