]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Refactor code for determining allocation path
authorWang Huaqiang <huaqiang.wang@intel.com>
Mon, 12 Nov 2018 13:31:34 +0000 (21:31 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 14 Nov 2018 17:18:46 +0000 (12:18 -0500)
commitb9df1d760772c6a2305bed5871a0a96bf92c493b
tree320e6c53627cd308a51935ebedcbec06377b8eaa
parent4a198ed43e75d39d68b9432eb7da7255bfb7a9eb
util: Refactor code for determining allocation path

The code for determining resctrl allocation path could be reused
for monitor. Refactor it for reuse.

Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/util/virresctrl.c