diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-14 08:54:58 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-14 08:54:58 +0100 |
commit | fda49f9b3fbb29f2ed9e143bb77d74e76cede6a2 (patch) | |
tree | 4afd8bde326a295b81cb6e0017f1fef8378799c5 /xen/include/xen/config.h | |
parent | ae72c3f2af82a36195c44504bfa270426aff8aca (diff) | |
download | xen-fda49f9b3fbb29f2ed9e143bb77d74e76cede6a2.tar.gz xen-fda49f9b3fbb29f2ed9e143bb77d74e76cede6a2.tar.bz2 xen-fda49f9b3fbb29f2ed9e143bb77d74e76cede6a2.zip |
Add build option to allow more hypercalls from stubdoms
Stubdoms need to be able to make all the passthrough related
hypercalls on behalf of the guest (for now).
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/config.h')
-rw-r--r-- | xen/include/xen/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h index 7872f13e8d..43d6bc6cff 100644 --- a/xen/include/xen/config.h +++ b/xen/include/xen/config.h @@ -95,4 +95,10 @@ 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__ */ |