Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
xen
5bb60d65-vtd-add-shared-EPT-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 5bb60d65-vtd-add-shared-EPT-check.patch of Package xen
# Commit e30c47cd8be8ba73cfc1ec7b1ebd036464708a24 # Date 2018-10-04 14:53:57 +0200 # Author Paul Durrant <paul.durrant@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> vtd: add missing check for shared EPT... ...in intel_iommu_unmap_page(). Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Acked-by: Kevin Tian <kevin.tian@intel.com> --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1783,6 +1783,10 @@ static int intel_iommu_map_page( static int intel_iommu_unmap_page(struct domain *d, unsigned long gfn) { + /* Do nothing if VT-d shares EPT page table */ + if ( iommu_use_hap_pt(d) ) + return 0; + /* Do nothing if dom0 and iommu supports pass thru. */ if ( iommu_passthrough && (d->domain_id == 0) ) return 0;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor