[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 12/17] tools/manage: Expose domain capabilities
- To: Juergen Gross <jgross@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Thu, 17 Jul 2025 16:23:40 -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=noUPZK2FIbMbwliafFif4zyI9P97qb6ifpiVLNe1ygI=; b=J3EDo+96P1Qu6FmnhCZx+SG8n8NX1zRSFt8NQDiKRt4FpwJmWK6gR+poOMRsxOIYr+m9jLYQAOvn0ucl9Vwq7GNvaksnS/P9TO7eAsCFehP5qfvCtJnn7w5p/6H+sf1wAqqDtsatnEGyw5pZPGHbpXbXdRnYaxvMkx3/kWPKFoW/RXQVbq95qdMDcJqjL8s6oUWunlqRfD1s31pQ55ji/PzmddjspGtUQqqmTJlBZUc17U12n5WJHBIOK35k9pbOgg2i6dVNNadITbt+K2OaN6P/9c0SN7+IERIAfOJo/us6yAzLa7xxAn/7sHwsg3wl4+jlQMmInOm6ny8THHc4tw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GQJICbt4JP+YHOwFR5wVUI8KParDq8NqaKqNFki2eemMsukmmeZSoSdY2dGJ18advpmYJiZiyI8lDt98GjXHcXCWlCorVQsbQDWYzcD3yPqNL9zxlud7U964RywxayQ82S0lRbEV4ystj7rqbi8XaUWNX7NXYkJJvrAIR/Irf0lh2lGC4fWgyFugyGT5U+BF1OeDFWn5spcMeTApvrRwnrlU0M6Axpall4P2lJ7bsudhMjIxQ8cDc/GorPlfySUU9OvJ0eK5z1/5bDKbb8NAhE+VKVVkjysAx/BiGC1iBA/2GaT8tC3rTFcMcx/VWavUIr9Rc2agWzMHvATp1PZM5g==
- Cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
- Delivery-date: Thu, 17 Jul 2025 20:23:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 2025-07-17 02:28, Juergen Gross wrote:
On 16.07.25 23:14, Jason Andryuk wrote:
Add an additional "caps" argument to the libxenmanage functions to
obtain a domains capabilities - control, hardware, and xenstore.
Update the xenstored callers at the same time.
Luckily the interface was only introduced in the current devel cycle,
so no need for playing "stable interface" games. :-)
Yes :)
Having said that, for compatibility, will we need some way to query Xen
for a mask of valid capability bits? That way a caller can
differentiate between "this domain doesn't have a capability" and "this
hypervisor doesn't support a capability."
Signed-off-by: Jason Andryuk <jason.andryuk@xxxxxxx>
Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
Thanks,
Jason
|