]> xenbits.xensource.com Git - libvirt.git/commit
Implement public API for virDomainGetIOThreadsInfo
authorJohn Ferlan <jferlan@redhat.com>
Mon, 9 Feb 2015 21:16:55 +0000 (16:16 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 6 Mar 2015 11:49:32 +0000 (06:49 -0500)
commit11a5a0956face21363fc1c9fbc2c72a49bf58c85
tree2f9494eba1e1b3ec1d7de1b12c0224e8d9ac1a30
parentcf521fc8bae5aa8bfb28806ced8ac3a9f58b0627
Implement public API for virDomainGetIOThreadsInfo

Add virDomainGetIOThreadInfo in order to return a list of
virDomainIOThreadInfoPtr structures which list the IOThread ID
and the CPU Affinity map for each IOThread for the domain.

For an active domain, the live data will be returned, while for
an inactive domain, the config data will be returned.

The API supports either the --live or --config flag, but not both.

Also added virDomainIOThreadsInfoFree in order to free the cpumap
and the IOThreadInfo structure.

Signed-off-by: John Ferlan <jferlan@redhat.com>
include/libvirt/libvirt-domain.h
src/driver-hypervisor.h
src/libvirt-domain.c
src/libvirt_public.syms