]> xenbits.xensource.com Git - libvirt.git/commit
qemu: do not revert to NULL bandwidth
authorJán Tomko <jtomko@redhat.com>
Fri, 7 Feb 2020 11:40:39 +0000 (12:40 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 10 Feb 2020 15:41:51 +0000 (16:41 +0100)
commitbd622e2a211aad449b54683e2ebd5e980418dd7c
treedf502fe4c9c5e6b488105be6c2ad3fa4aa556207
parentcebb468ef5e82b8d4253e27ef70c67812cf93c5a
qemu: do not revert to NULL bandwidth

Otherwise an attempt to set an invalid value:
  virsh domiftune rhel8.2 vnet0 --outbound 4294968
on an interface with no bandwidth set crashes.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: f02e21cb3379a41cd42f2d8116f2d10dabace83b
https://bugzilla.redhat.com/show_bug.cgi?id=1800505
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_driver.c