mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: fix l1_disallow_mask() for HVM guests with pass-thru devices.
Signed-off-by: Naoki Nishiguchi <nisiguti@jp.fujitsu.com>
This commit is contained in:
1 parent
a0685dba64
commit
b9c620d078
1 file changed
+2
-1
+2
-1
@@ -163,7 +163,8 @@ unsigned long total_pages;
|
||||
#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
|
||||
|
||||