Re: [Intel-gfx] [PATCH V4] drm/i915: Enhanced disable access to stolen memory as a guest

2017-04-05 Thread Jani Nikula
On Wed, 05 Apr 2017, Daniel Vetter wrote: > On Wed, Apr 05, 2017 at 10:08:26AM +0800, Xiong Zhang wrote: >> Stolen memory is in RMRR and has identity mapping in iommu, so >> gt could access stolen memory in host OS. While RMRR isn't supported >> by kvm, both EPT and guest iommu

Re: [Intel-gfx] [PATCH V4] drm/i915: Enhanced disable access to stolen memory as a guest

2017-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2017 at 10:08:26AM +0800, Xiong Zhang wrote: > Stolen memory is in RMRR and has identity mapping in iommu, so > gt could access stolen memory in host OS. While RMRR isn't supported > by kvm, both EPT and guest iommu domain lack of maaping for stolen memory, > so both vcpu and gt

[Intel-gfx] [PATCH V4] drm/i915: Enhanced disable access to stolen memory as a guest

2017-04-04 Thread Xiong Zhang
Stolen memory is in RMRR and has identity mapping in iommu, so gt could access stolen memory in host OS. While RMRR isn't supported by kvm, both EPT and guest iommu domain lack of maaping for stolen memory, so both vcpu and gt couldn't access stolen memory in guest. commit "04a68a3 drm/i915/gvt: