|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86: fix l1_disallow_mask()
Hi,
When it is shutting down a Windows XP guest that has been passed through
HD Audio Controller of ICH9 by VT-d, there is a problem that the
following message is repeated many times in hypervisor's log and the
shutdown's process does not end.
(XEN) mm.c:661:d1 Bad L1 flags 10
Attached patch fixes this problem.
Signed-off-by: Naoki Nishiguchi <nisiguti@xxxxxxxxxxxxxx>
Regards,
Naoki Nishiguchi
diff -r 8b1ebe5e8fd7 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Mon Aug 11 16:51:02 2008 +0100
+++ b/xen/arch/x86/mm.c Tue Aug 12 09:48:55 2008 +0900
@@ -163,7 +163,8 @@
#define l1_disallow_mask(d) \
((d != dom_io) && \
(rangeset_is_empty((d)->iomem_caps) && \
- rangeset_is_empty((d)->arch.ioport_caps)) ? \
+ rangeset_is_empty((d)->arch.ioport_caps)) && \
+ !has_arch_pdevs(d) ? \
L1_DISALLOW_MASK : (L1_DISALLOW_MASK & ~PAGE_CACHE_ATTRS))
#ifdef CONFIG_COMPAT
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86: fix l1_disallow_mask(),
NISHIGUCHI Naoki <=
|
|
|
|
|