x86: fix l1_disallow_mask()
PATCH 1/1 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 <[email protected]>
Regards,
Naoki Nishiguchi
xen/arch/x86/mm.c +2 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel