Reviewed: https://review.openstack.org/462503 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b4bbe68e279aa94aa71aef1a3879d42bf90d3170 Submitter: Jenkins Branch: stable/newton
commit b4bbe68e279aa94aa71aef1a3879d42bf90d3170 Author: Ludovic Beliveau <email address hidden> Date: Tue Sep 13 12:00:16 2016 -0400
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 8568cb4ce162661f2e9bab4524e4f5adb299549c)
Reviewed: https:/ /review. openstack. org/462503 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=b4bbe68e279 aa94aa71aef1a38 79d42bf90d3170
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit b4bbe68e279aa94 aa71aef1a3879d4 2bf90d3170
Author: Ludovic Beliveau <email address hidden>
Date: Tue Sep 13 12:00:16 2016 -0400
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: I8ccc5b30ccdbd1 6a90165a4a8a33e 081ae23736c f2e9bab4524e4f5 adb299549c)
Closes-Bug: #1623089
(cherry picked from commit 8568cb4ce162661