[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/8] tools/xenstored: replace the fire_watches() exact parameter
- To: Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Mon, 20 Apr 2026 18:49:48 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JX+4GSi+gK9LZSigC1lXxl/fnCZsTJ+Y7VXPebjVX+A=; b=e31bICYR7mNf+aUo0Tj3Nh6HiAQFvl19XnrTsy9+1SoUZu16w5mGLeWSMfS45vFbk8ETrw2G91BI4lQxXlG6jh0xmo5a1vrmGoz3wt/3cIkp1dfCq3Q8CHa9epNk7PRApW0kGADh7GKnNrW94OAP9B+pNkKCq1UheqEGtmUeMfy1S7a15LXyHKQBgheanj+6d77AooAdhAB6mWvNxpo0kSvdpuflMrsJW2WOZDQ1+Y3rQmhxud4XJJmGLKcbqVnN5ItEWGmxLgPYuX2Xi1H/3YD/Xv60n49BFh3f4cHme4WENtw+ogu7YGctMXpPoMW6oaR5Q+swvm2q5qV3KNtFvg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NMxVSICLyVvpKmHYdNIdqAN7oXYnLhNRVfejZs66rT6ZlZD5v8CyqWsIOt0wNUS923z7miwkHyh+D0a6E36KYhBwd3LdUkczKY4hi07GZ/8gqJO+VEHSKKMmZy5fX26BB5pAqsGbVACObttvpUVTZAvIevLAPZRmUg7uaQu01vzKIH5hKocHXuDTeAKRYsT8tIP330LQZq3mAHD9X3H0Nyh4GJCRpNnKTHBdEOYrGcUB0eDxDcfN6hi+X1dc9hZEi6n7nX4IFgWU2Z4pNsacIyggjKv4jTYpr8c3dIZGXsLzPis50uSAH0f4Av6dfeJ08VvG3GdWH0kNQAZfVUqFKA==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Cc: Julien Grall <julien@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
- Delivery-date: Mon, 20 Apr 2026 23:45:33 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2026-03-13 03:47, Juergen Gross wrote:
Today fire_watches() has the boolean "exact" parameter specifying how
the matching of the modified node with registered watches is to be
handled (only the exact node name is matching or all nodes being
in the subtree beneath the watched node).
For the handling of <special-watch>/<domid> watch events 2 additional
matching possibility needs to be added, as those events should only
be delivered to clients having requested such events, either by
watching <special-watch> with the depth=1 parameter, or by directly
watching for <special-watch>/<domid>, while the traditional special
watch events should NOT delivered to those watchers.
For this purpose rename the "exact" parameter to "match" and make it
an enum with four possible values.
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|