Add device passthrough support for libvirt/hyperv platforms
Add device passthrough support for libvirt/hyperv platform. Create device pool based on given vendor/device ID list. Platform will get device from pool when needed while creating node and put it back into pool when node is getting deleted.
There are changes in LISA tools like lspci to provide information like domain and list of devices for given vendor-device id, hyperv tool to have support to perform start/stop/restart/enable-passthrough for a given vm
@cwize1 please help reviewing for libvirts changes. Thanks.
Please change the commits order. Put https://github.com/microsoft/lisa/pull/3379/commits/cd6363b01191bd98c70cb408377eb5b4a6a1afee before https://github.com/microsoft/lisa/pull/3379/commits/19f6308ae81c33f7a1f059278e9664e7da6aef67.
https://github.com/microsoft/lisa/pull/3379/commits/19f6308ae81c33f7a1f059278e9664e7da6aef67 imports classes that are defined in https://github.com/microsoft/lisa/pull/3379/commits/cd6363b01191bd98c70cb408377eb5b4a6a1afee
Please add example runbook in the PR and commit descriptions.
Added. Please check latest push
@LiliDeng LGTM
@smit-gardhariya I ran tier2 cases, saw regression issues on below cases.
verify_nvme_rescind
verify_nvme_sriov_rescind
verify_sriov_disable_enable_pci
verify_gpu_rescind_validation
verify_sriov_ethtool_offload_setting
@smit-gardhariya I ran tier2 cases, saw regression issues on below cases.
verify_nvme_rescind verify_nvme_sriov_rescind verify_sriov_disable_enable_pci verify_gpu_rescind_validation verify_sriov_ethtool_offload_setting
Fixed it now @LiliDeng Issue was with slot value under lspci tool.