libvirt: Use local variable instead of CONF
Address a comment from https://review.opendev.org/#/c/730866/ Change-Id: Ie55c0563296f47c3346a2af94da050607cd90f0e Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
e9eb52dee4
commit
ae8c3067c5
|
@ -214,7 +214,7 @@ class LibvirtGenericVIFDriver(object):
|
||||||
|
|
||||||
if driver == 'vhost' or driver is None:
|
if driver == 'vhost' or driver is None:
|
||||||
# vhost backend only supports update of RX queue size
|
# 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
|
# TODO(sahid): Specifically force driver to be vhost
|
||||||
# that because if None we don't generate the XML
|
# that because if None we don't generate the XML
|
||||||
# driver element needed to set the queue size
|
# driver element needed to set the queue size
|
||||||
|
|
Loading…
Reference in New Issue