projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2e266
)
This patch ensures xen vmm has exclusive access of vt-d hw by zapping
author
Keir Fraser
<keir@xensource.com>
Thu, 4 Oct 2007 08:40:31 +0000
(09:40 +0100)
committer
Keir Fraser
<keir@xensource.com>
Thu, 4 Oct 2007 08:40:31 +0000
(09:40 +0100)
vt-d "DMAR" ACPI table signature after xen has finished using it.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
xen/arch/x86/hvm/vmx/vtd/dmar.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vtd/dmar.c
b/xen/arch/x86/hvm/vmx/vtd/dmar.c
index 44ca487bdb4011914f34c6698dd887e6dec51621..7103994ff6f37133ded4d58d916eb77bfa1df2d9 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vtd/dmar.c
+++ b/
xen/arch/x86/hvm/vmx/vtd/dmar.c
@@
-483,6
+483,10
@@
acpi_parse_dmar(unsigned long phys_addr, unsigned long size)
entry_header = ((void *)entry_header + entry_header->length);
}
+
+ /* Zap APCI DMAR signature to prevent dom0 using vt-d HW. */
+ dmar->header.signature[0] = '\0';
+
return ret;
}