]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add helper to retrieve bitmap of active vcpus for a definition
authorPeter Krempa <pkrempa@redhat.com>
Mon, 7 Dec 2015 05:36:37 +0000 (06:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Feb 2016 12:10:04 +0000 (13:10 +0100)
commit9bf284daa9b4e28e70f77c434ce4d3a65e5f4acf
treee6cdc445ec344dd0382d9a5edcaeb593570a3160
parent58578f83bc65cdc687eb96f402a9f39dca672844
conf: Add helper to retrieve bitmap of active vcpus for a definition

In some cases it may be better to have a bitmap representing state of
individual vcpus rather than iterating the definition. The new helper
creates a bitmap representing the state from the domain definition.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms