aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/config.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-10-23 10:04:03 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-10-23 10:04:03 +0100
commit545a227dfc099af8b17b6842e097196192658c3e (patch)
tree032f432b459298c4071a3fbf3030b06f7fedd5d2 /xen/include/xen/config.h
parent5dc1050805a0e379bcc273aa8b72db6aede34de5 (diff)
downloadxen-545a227dfc099af8b17b6842e097196192658c3e.tar.gz
xen-545a227dfc099af8b17b6842e097196192658c3e.tar.bz2
xen-545a227dfc099af8b17b6842e097196192658c3e.zip
passthrough/stubdom: clean up hypercall privilege checking
This patch adds securty checks for pci passthrough related hypercalls to enforce that the current domain owns the resources that it is about to remap. It also adds a call to xc_assign_device to xend and removes the PRIVILEGED_STUBDOMS flags. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen/include/xen/config.h')
-rw-r--r--xen/include/xen/config.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h
index 43d6bc6cff..7872f13e8d 100644
--- a/xen/include/xen/config.h
+++ b/xen/include/xen/config.h
@@ -95,10 +95,4 @@ int current_domain_id(void);
#define __cpuinitdata
#define __cpuinit
-#ifdef PRIVILEGED_STUBDOMS
-#define STUBDOM_IS_PRIV_FOR(x,y) IS_PRIV_FOR(x,y)
-#else
-#define STUBDOM_IS_PRIV_FOR(x,y) IS_PRIV(x)
-#endif
-
#endif /* __XEN_CONFIG_H__ */