]> xenbits.xensource.com Git - libvirt.git/commit
conf: Validate QoS values
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 13 Aug 2024 11:39:16 +0000 (13:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Aug 2024 07:19:28 +0000 (09:19 +0200)
commita70cdeeb2a27f4c1423c074b26b87de39f67db69
tree95e90772068aa789d2208261b8ac3b16166d7a23
parentab489ea3181052959bb3c6e72c31cec6915bd7a5
conf: Validate QoS values

Since we use 'tc' to set QoS, or we instruct OVS which then uses
'tc', we have to make sure values are within range acceptable to
'tc'.

Resolves: https://issues.redhat.com/browse/RHEL-45200
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_validate.c
src/conf/schemas/networkcommon.rng
src/network/bridge_driver.c