9a05aa7fc4
22707-x2apic-preenabled-check.patch - bnc#641419 - L3: Xen: qemu-dm reports "xc_map_foreign_batch: mmap failed: Cannot allocate memory" 7434-qemu-rlimit-as.patch - Additional or upstream patches from Jan 22693-fam10-mmio-conf-base-protect.patch 22694-x86_64-no-weak.patch 22708-xenctx-misc.patch 21432-4.0-cpu-boot-failure.patch 22645-amd-flush-filter.patch qemu-fix-7433.patch - Maintain compatibility with the extid flag even though it is deprecated for both legacy and sxp config files. hv_extid_compatibility.patch - bnc#649209-improve suspend eventchn lock suspend_evtchn_lock.patch - Removed the hyper-v shim patches in favor of using the upstream version. - bnc#641419 - L3: Xen: qemu-dm reports "xc_map_foreign_batch: mmap failed: Cannot allocate memory" qemu-rlimit-as.patch - Upstream c/s 7433 to replace qemu_altgr_more.patch 7433-qemu-altgr.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=90
29 lines
868 B
Diff
29 lines
868 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir@xen.org>
|
|
# Date 1292513937 0
|
|
# Node ID aa18b8ddaf05084aef3f8cff11d92248a8b6fac8
|
|
# Parent f46f46bbb69a788037f866025c88743d55dde416
|
|
vtd: Require unmap_vtd_domain_page() on a couple of early exit paths.
|
|
|
|
From: Jan Beulich <JBeulich@novell.com>
|
|
Signed-off-by: Keir Fraser <keir@xen.org>
|
|
|
|
--- a/xen/drivers/passthrough/vtd/iommu.c
|
|
+++ b/xen/drivers/passthrough/vtd/iommu.c
|
|
@@ -1330,6 +1330,7 @@ int domain_context_mapping_one(
|
|
if ( context_set_domain_id(context, domain, iommu) )
|
|
{
|
|
spin_unlock(&iommu->lock);
|
|
+ unmap_vtd_domain_page(context_entries);
|
|
return -EFAULT;
|
|
}
|
|
|
|
@@ -1671,6 +1672,7 @@ static int intel_iommu_map_page(
|
|
if ( old.val == new.val )
|
|
{
|
|
spin_unlock(&hd->mapping_lock);
|
|
+ unmap_vtd_domain_page(page);
|
|
return 0;
|
|
}
|
|
*pte = new;
|