Espen Skoglund
2008-May-23 19:23 UTC
[Xen-devel] [PATCH 4/5] VT-d support for PV guests (V2)
Handle dynamic IOMMU map/unmap for guests Perform IOMMU map/unmap when (a) frame type changes, (b) memory reservation changes, and (c) a grant reference is newly mapped or completely unmapped from a domain. Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Isaku Yamahata
2008-May-26 04:07 UTC
[PATCH] remove warnings caused by c/s 17723:c684cf331f94 (was Re: [Xen-devel] [PATCH 4/5] VT-d support for PV guests (V2))
# HG changeset patch # User Isaku Yamahata <yamahata@valinux.co.jp> # Date 1211774333 -32400 # Node ID b19924fb061c1f767149db8a01ba8638dcba1da3 # Parent 888817a9fc1042697c54f37f0ab50f80bfad4beb [IA64] remove warnings caused by c/s 17723:c684cf331f94 This patch removes the following warnings on ia64 by including necessary header files. On x86 the necessary files are included by recusive inclusion, direct inclusion is preferable.> grant_table.c: In function __gnttab_map_grant_ref: > grant_table.c:388: warning: implicit declaration of function iommu_map_page > grant_table.c: In function __gnttab_unmap_common: > grant_table.c:566: warning: implicit declaration of function iommu_unmap_page > grant_table.c: In function gnttab_transfer: > grant_table.c:1113: warning: implicit declaration of function guest_physmap_remove_pageSigned-off-by: Isaku Yamahata <yamahata@valinux.co.jp> diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -32,6 +32,8 @@ #include <xen/trace.h> #include <xen/guest_access.h> #include <xen/domain_page.h> +#include <xen/iommu.h> +#include <xen/paging.h> #include <xsm/xsm.h> #ifndef max_nr_grant_frames -- yamahata _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel