Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf: Introduce virDomainDefCputuneValidate helper
Introduce a simple validation helper to perform the cputune period and quota checks so that we can get rid of those repetitive chunks. Since this is a validation helper, this patch also moves the checks from the 'parse' phase into the 'validation' phase. Signed-off-by: Suyang Chen <dawson0xff@gmail.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
- Loading branch information
1 parent
ca14716
commit 265e692
Showing
1 changed file
with
45 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters