From: Martin Kletzander Date: Mon, 13 Jan 2025 14:27:10 +0000 (+0100) Subject: docs: Reword virDomainGetEmulatorPinInfo description X-Git-Tag: v11.1.0-rc1~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=105c33bfe7ec96f4efcb46673e77535b2cadef69;p=thirdparty%2Flibvirt.git docs: Reword virDomainGetEmulatorPinInfo description This API only queries the XML settings and not the running threads themselves. In order to avoid confusion, change the wording slightly. Resolves: https://issues.redhat.com/browse/RHEL-72052 Signed-off-by: Martin Kletzander Reviewed-by: Michal Privoznik --- diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 088e486b6b..072cc32255 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -7998,8 +7998,8 @@ virDomainPinEmulator(virDomainPtr domain, unsigned char *cpumap, * Must not be VIR_DOMAIN_AFFECT_LIVE and * VIR_DOMAIN_AFFECT_CONFIG concurrently. * - * Query the CPU affinity setting of all emulator threads of domain, store - * it in cpumap. + * Query the CPU pinning setting of all emulator threads from the domain XML, + * store it in @cpumap. * * Returns 1 in case of success, * 0 in case of no emulator threads are pined to pcpus,