]> xenbits.xensource.com Git - xen.git/commit
tools/xenstored: Drop mapping of the ring via foreign map
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 May 2019 10:08:56 +0000 (11:08 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 11 Jul 2019 14:21:21 +0000 (09:21 -0500)
commit38eeb3864de40aa568c48f9f26271c141c62b50b
tree8a8279f216bf73e23ca5f8e977096b192b449ea3
parentecdeb7f8835398a1a4816d8cf68b7313674f84fe
tools/xenstored: Drop mapping of the ring via foreign map

This is a vestigial remnent of the pre xenstored stub domain days.

Foreign mapping via MFN is a privileged operation which is not
necessary, because grant details are unconditionally set up during
domain construction.  In practice, this means xenstored never uses its
ability to foreign map the ring.

Drop the ability completely, which removes the penultimate use of the
unstable libxc interface.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/xenstore/xenstored_domain.c