diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-10-20 11:25:58 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-10-20 11:25:58 +0100 |
commit | 6123e225555d46d9f2666416f93ef9e3d3e1a7cc (patch) | |
tree | c67b0ac0276b230248354f2da787d7d1758b4030 /tools/xenpaging | |
parent | f577f2ca97d19f14be402dd7d1f4b2fbd81685db (diff) | |
download | xen-6123e225555d46d9f2666416f93ef9e3d3e1a7cc.tar.gz xen-6123e225555d46d9f2666416f93ef9e3d3e1a7cc.tar.bz2 xen-6123e225555d46d9f2666416f93ef9e3d3e1a7cc.zip |
xenpaging: disallow paging in a PoD guest
Disallow xenpaging in a PoD guest until coexistance between the two features
is properly implemented.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'tools/xenpaging')
-rw-r--r-- | tools/xenpaging/xenpaging.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index 7fbb177c70..8de1f368b3 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -246,6 +246,9 @@ static xenpaging_t *xenpaging_init(domid_t domain_id, int num_pages) case ENODEV: ERROR("EPT not supported for this guest"); break; + case EXDEV: + ERROR("xenpaging not supported in a PoD guest"); + break; default: ERROR("Error initialising shared page: %s", strerror(errno)); break; |