[Intel-gfx] [PATCH] drm/i915/gvt: Disable access to stolen memory as a guest

Zhenyu Wang zhenyuw at linux.intel.com
Thu Nov 10 01:37:20 UTC 2016


On 2016.11.09 13:11:11 +0200, Joonas Lahtinen wrote:
> On ke, 2016-11-09 at 10:39 +0000, Chris Wilson wrote:
> > Explicitly disable stolen memory when running as a guest in a virtual
> > machine, since the memory is not mediated between clients and reserved
> > entirely for the host. 
> 
> I'd kind of expect it to get sliced down just like the aperture, what's
> the plan here?
> 

No plan to do more partition on stolen mem for mediation now.

I had a change to handle GMCH_CTL config which would show no stolen mem
for guest driver, so that could work for all OS gfx drivers. But I think
Chris's change is fine and I would polish GMCH_CTL handling patch.

> 
> > The actual size should be reported as zero, but
> > like every other quirk we want to tell the user what is happening.
> > 
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Zhenyu Wang <zhenyuw at linux.intel.com>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> -- 
> Joonas Lahtinen
> Open Source Technology Center
> Intel Corporation

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20161110/e266c5fe/attachment.sig>


More information about the Intel-gfx mailing list