* [VTD] prevent dom0 from using vt-d hw
@ 2007-10-03 19:11 Kay, Allen M
2007-10-03 20:39 ` Andy Grover
0 siblings, 1 reply; 2+ messages in thread
From: Kay, Allen M @ 2007-10-03 19:11 UTC (permalink / raw)
To: xen-devel; +Cc: Han, Weidong
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
This patch ensures xen vmm has exclusive access of vt-d hw by zaping
vt-d "DMAR" ACPI table signature after xen has finished using it.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
[-- Attachment #2: dmar.patch --]
[-- Type: application/octet-stream, Size: 464 bytes --]
diff -r ca1085e8ab82 xen/arch/x86/hvm/vmx/vtd/dmar.c
--- a/xen/arch/x86/hvm/vmx/vtd/dmar.c Wed Oct 03 16:33:23 2007 +0100
+++ b/xen/arch/x86/hvm/vmx/vtd/dmar.c Wed Oct 03 11:26:40 2007 -0700
@@ -483,6 +483,10 @@ acpi_parse_dmar(unsigned long phys_addr,
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;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-03 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 19:11 [VTD] prevent dom0 from using vt-d hw Kay, Allen M
2007-10-03 20:39 ` Andy Grover
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.