Browse Source

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>
changes/19/749319/1
Stephen Finucane 1 year ago
parent
commit
ae8c3067c5
  1. 2
      nova/virt/libvirt/vif.py

2
nova/virt/libvirt/vif.py

@ -214,7 +214,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

Loading…
Cancel
Save