nova/nova/tests/unit/virt/libvirt
Ludovic Beliveau b4bbe68e27 Fixed suspend for PCI passthrough
The VNIC_TYPE_DIRECT_PHYSICAL was being ignored by the _has_sriov_port()
method.

The fix is to also check for VNIC_TYPE_DIRECT_PHYSICAL so that PF
devices are unplugged.

Change-Id: I8ccc5b30ccdbd16a90165a4a8a33e081ae23736c
Closes-Bug: #1623089
(cherry picked from commit 8568cb4ce1)
2017-05-04 11:23:29 +00:00
..
storage Fix issue with not removing rbd rescue disk 2016-10-13 11:49:51 +00:00
volume Remove hacked test that fails with latest os-brick 2016-09-01 12:42:55 -04:00
__init__.py
fake_imagebackend.py Fix cold migration with qcow2 ephemeral disks 2017-01-11 12:35:12 +00:00
fake_libvirt_utils.py Remove backward compatibility with pre-grizzly releases 2016-08-04 12:37:31 +00:00
fake_os_brick_connector.py Switch to using os-brick 2015-07-27 10:47:22 -07:00
fakelibvirt.py libvirt: fix nova can't delete the instance with nvram 2017-02-02 13:08:34 -05:00
test_blockinfo.py libvirt: Delete the lase_device of find_disk_dev_for_disk_bus 2016-11-28 10:45:08 +00:00
test_compat.py Workaround for race condition in libvirt 2015-03-14 20:17:41 -03:00
test_config.py libvirt: Use the mirror element to detect job completion 2017-01-31 16:47:16 +00:00
test_designer.py libvirt: conditionally set script path for ethernet vif types 2017-03-21 15:32:35 -04:00
test_driver.py Fixed suspend for PCI passthrough 2017-05-04 11:23:29 +00:00
test_fakelibvirt.py Use assertLess(Equal) instead of assertTrue(A > X) 2016-06-03 16:53:14 +01:00
test_firewall.py libvirt: ignore conflict when defining network filters 2016-09-30 20:48:23 +00:00
test_guest.py Merge "libvirt: Use the mirror element to detect job completion" into stable/newton 2017-02-16 06:30:51 +00:00
test_host.py libvirt: cleanup baselineCPU return value checking 2016-06-15 17:35:47 +08:00
test_imagebackend.py Fix resizing in imagebackend.cache() 2016-09-09 18:36:23 +00:00
test_imagecache.py Merge "Fix invalid uuid warnings in virt testcases" 2016-06-16 10:29:24 +00:00
test_migration.py libvirt: prepare domain XML update for serial ports 2017-01-03 10:24:48 +00:00
test_utils.py Catch error and log warning when not able to update mtimes 2017-02-03 14:09:08 +00:00
test_vif.py libvirt: conditionally set script path for ethernet vif types 2017-03-21 15:32:35 -04:00