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
commit 4acc112a30
1 changed files with 1 additions and 1 deletions

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