nova/nova/tests/unit/virt
Neil Jerram 847952927c libvirt: avoid generating script with empty path
Previously, libvirt just appended 'script=' onto the QEMU cmd line
according to what <script path=''/> contained, letting QEMU execute the
script.  That was flawed from security POV (you don't want QEMU to be
allowed to execute anything), so newer libvirt (as of [1]) executes the
script now.  But the libvirt code doesn't allow this corner case (of
allowing and ignoring an empty script path) whereas apparently the QEMU
code does.

So the Nova setting of '' used to work by accident, but now does not.

[1]
http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=9c17d66 (autocreate
tap device for ethernet network type)

Closes-Bug: #1649527
Change-Id: I4f97c05e2dec610af22a5150dd27696e1d767896
2017-01-24 12:50:49 +00:00
..
disk Merge "Guestfs handle no passwd or group in image" 2016-12-12 06:27:16 +00:00
hyperv Create hyperv fake images under proper directory 2016-12-02 11:08:46 -05:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Port ironic unit tests to Python 3 2016-11-29 13:04:17 +08:00
libvirt libvirt: avoid generating script with empty path 2017-01-24 12:50:49 +00:00
vmwareapi Make vmware unit tests work with CONF.use_neutron=True 2016-11-30 10:14:41 -05:00
xenapi Merge "Remove mox from nova/tests/unit/virt/xenapi/test_driver.py" 2016-12-14 14:39:34 +00:00
__init__.py
fakelibosinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_block_device.py block_device: Make refresh_conn_infos py3 compatible 2016-10-11 13:53:00 +01:00
test_configdrive.py force_config_drive: StrOpt -> BoolOpt 2015-11-11 19:59:22 +00:00
test_diagnostics.py
test_driver.py Move driver_dict_from_config to libvirt driver 2016-11-09 11:48:20 -05:00
test_events.py
test_fake.py
test_firewall.py Use more specific asserts in tests 2016-10-12 11:12:08 +01:00
test_hardware.py libvirt: fix incorrect host cpus giving to emulator threads when RT 2016-11-03 06:42:19 -04:00
test_imagecache.py Remove mox from tests/unit/virt/test_imagecache.py 2016-06-16 23:40:01 +00:00
test_images.py Bump prlimit cpu time for qemu from 2 to 8 2016-12-08 10:41:31 -05:00
test_osinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_virt.py Replace stubs.Set with stub_out (os) 2016-01-14 22:35:53 -05:00
test_virt_drivers.py Merge "libvirt: Call host connection callbacks asynchronously" 2016-11-24 19:36:49 +00:00
test_volumeutils.py Switch to using os-brick 2015-07-27 10:47:22 -07:00