Merge "libvirt: Use local variable instead of CONF"

This commit is contained in:
Zuul
2020-09-28 12:03:04 +00:00
committed by Gerrit Code Review

View File

@@ -229,7 +229,7 @@ class LibvirtGenericVIFDriver(object):
if driver == 'vhost' or driver is None:
# vhost backend only supports update of RX queue size
if CONF.libvirt.rx_queue_size:
if rx_queue_size:
# TODO(sahid): Specifically force driver to be vhost
# that because if None we don't generate the XML
# driver element needed to set the queue size