We need to be able to select the hypervisor for certain pipeline (for example, for kvm-ioctls, the hypervisor needs to be kvm). Right now the EC2 hosts don't specify a hypervisor, while the mshv hosts do. This needs to be configured on the host, so it's not directly related to this repository.
Nevertheless, we do need to update the code in this crate as well because we need some way of selecting the hypervisor at the crate level and or at the test level. When using the tests defined in rust-vmm-ci, we need to be able to override the agent tags. There is already some functionality to override tags using environment variables, so we should experiment with that as well.
We need to be able to select the hypervisor for certain pipeline (for example, for kvm-ioctls, the hypervisor needs to be kvm). Right now the EC2 hosts don't specify a hypervisor, while the mshv hosts do. This needs to be configured on the host, so it's not directly related to this repository.
Nevertheless, we do need to update the code in this crate as well because we need some way of selecting the hypervisor at the crate level and or at the test level. When using the tests defined in rust-vmm-ci, we need to be able to override the agent tags. There is already some functionality to override tags using environment variables, so we should experiment with that as well.