conf: Refactor and rename the function to validate a new resctrl monitor
conf: Refactor and rename the function to validate a new resctrl monitor

A new algorithm for detecting the vcpus and monitor type conflicts
between new monitor an existing allocation and monitor groups.

After refactoring, since we are verifying both @vcpus and monitor
type @tag at the same time, the validating function name has been
renamed from virDomainResctrlMonValidateVcpus to
virDomainResctrlValidateMonitor.

Signed-off-by: Wang Huaqiang <d50c218ff14e8070a7288e1c175a5d8637d7ddbf@intel.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

crobinso/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,olafhering/libvirt,jardasgit/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jfehlig/libvirt,zippy2/libvirt,crobinso/libvirt,jardasgit/libvirt,libvirt/libvirt,jardasgit/libvirt,andreabolognani/libvirt,libvirt/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,andreabolognani/libvirt,olafhering/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,zippy2/libvirt,fabianfreyer/libvirt,crobinso/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,zippy2/libvirt,crobinso/libvirt,jfehlig/libvirt,olafhering/libvirt