rust-vmm / rust-vmm-ci

Apache License 2.0
18 stars 33 forks source link

Find a better way to separate the mshv and kvm hosts #115

Closed andreeaflorescu closed 1 year ago

andreeaflorescu commented 1 year ago

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.