Francesco Romani has submitted this change and it was merged. Change subject: hostdev: add is_assignable flag ......................................................................
hostdev: add is_assignable flag is_assignable is new flag that uses underlying PCI_HEADER_TYPE. We can only assign devices of header type 0 (type 1 is bridge, type 2 cardbus). The header information is read directly from PCI configuration space of each device. We leave non-pci devices marked as 'is_assignable=True' as everything else displayed by engine should be assignable device. Change-Id: I6fd0d39e777c6bc0f3175b737ace9be92df4cca0 Signed-off-by: Martin Polednik <mpoled...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/56291 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1303160 Continuous-Integration: Jenkins CI Reviewed-by: Francesco Romani <from...@redhat.com> Reviewed-on: https://gerrit.ovirt.org/57506 Reviewed-by: Milan Zamazal <mzama...@redhat.com> Continuous-Integration: Francesco Romani <from...@redhat.com> --- M tests/hostdevTests.py M vdsm/hostdev.py 2 files changed, 71 insertions(+), 10 deletions(-) Approvals: Francesco Romani: Looks good to me, approved; Passed CI tests Milan Zamazal: Looks good to me, but someone else must approve Martin Polednik: Verified -- To view, visit https://gerrit.ovirt.org/57506 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I6fd0d39e777c6bc0f3175b737ace9be92df4cca0 Gerrit-PatchSet: 5 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.6 Gerrit-Owner: Martin Polednik <mpoled...@redhat.com> Gerrit-Reviewer: Francesco Romani <from...@redhat.com> Gerrit-Reviewer: Martin Polednik <mpoled...@redhat.com> Gerrit-Reviewer: Milan Zamazal <mzama...@redhat.com> Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches