[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v1 10/10] xen/arm: domain_build: Don't expose the "iommus" property to the guest
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> We don't passthrough IOMMU device to DOM0 even if it is not used by Xen. Therefore exposing the property that describes the IOMMU master interfaces of the device does not make any sense. Signed-off-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx> --- xen/arch/arm/domain_build.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 3abacc0..2defb60 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -432,6 +432,10 @@ static int write_properties(struct domain *d, struct kernel_info *kinfo, continue; } + /* Don't expose the property "iommus" to the guest */ + if ( dt_property_name_is_equal(prop, "iommus") ) + continue; + res = fdt_property(kinfo->fdt, prop->name, prop_data, prop_len); if ( res ) -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |