[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 20/25] argo, xsm: notify: don't describe rings that cannot be sent to
Signed-off-by: Christopher Clark <christopher.clark6@xxxxxxxxxxxxxx> --- xen/common/argo.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xen/common/argo.c b/xen/common/argo.c index 0858fb2..39778fd 100644 --- a/xen/common/argo.c +++ b/xen/common/argo.c @@ -845,6 +845,17 @@ argo_fill_ring_data(struct domain *src_d, if ( dst_d && dst_d->argo ) { + /* + * Don't supply information about rings that a guest is not + * allowed to send to. + */ + ret = xsm_argo_send(src_d, dst_d); + if ( ret ) + { + put_domain(dst_d); + return ret; + } + read_lock(&dst_d->argo->lock); ring_info = argo_ring_find_info_by_match(dst_d, ent.ring.port, src_id, -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |