]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: add typedef for anonymous enum used for memballoon device model
authorLaine Stump <laine@laine.org>
Fri, 7 Oct 2016 19:51:30 +0000 (15:51 -0400)
committerLaine Stump <laine@laine.org>
Sun, 23 Oct 2016 16:33:40 +0000 (12:33 -0400)
commit9b4122bf2e7831f4a59f9d9f7650774bed69abab
treeaf0d1c8ab3519eb40a60231b9a0207b8a2599571
parentac47e4a62251f953a2ea84740b2be159661c5471
conf: add typedef for anonymous enum used for memballoon device model

For some reason the values of memballoon model are set using an
anonymous enum, making it impossible to perform nice tricks like
demanding there are cases for all possible values in a switch. This
patch turns the anonymous enum into virDomainMemballoonModel.
src/conf/domain_conf.h