libvirt/include/libvirt
Taku Izumi e261987c5a vcpupin: introduce the new libvirt API (virDomainGetVcpupinInfo)
This patch introduces a new libvirt API (virDomainGetVcpupinInfo),
as a counterpart to virDomainPinVcpuFlags.

We can use virDomainGetVcpus API to retrieve CPU affinity information,
but can't use this API against inactive domains (at least in case of KVM),
as it lacks a flags parameter.
The usual thing is to add a new virDomainGetVcpusFlags, but that API name
is already occupied by the counterpart to virDomainGetMaxVcpus, which
has a completely different signature.

The virDomainGetVcpupinInfo is the new API to retrieve CPU affinity
information of active and inactive domains.  While the usual convention
is to list an array before its length, this API violates that rule
in order to be more like virDomainGetVcpus (where maxinfo was doing
double-duty as the length of two different arrays).

Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
2011-06-24 17:00:22 -06:00
..
.gitignore Ignore auto-generated header file 2009-09-22 16:12:51 +01:00
libvirt-qemu.h libvirt-qemu: Fix enum type declaration 2011-02-14 12:35:39 +01:00
libvirt.h.in vcpupin: introduce the new libvirt API (virDomainGetVcpupinInfo) 2011-06-24 17:00:22 -06:00
Makefile.am Qemu Monitor API entry point. 2010-07-23 17:30:14 -04:00
virterror.h Basic framework for lock manager plugins 2011-06-02 10:54:00 +01:00