Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Vagrant testing VM uses ancient i440FX machine type #3752

Closed
dgibson opened this issue Jul 26, 2021 · 0 comments · Fixed by #3965
Closed

Vagrant testing VM uses ancient i440FX machine type #3752

dgibson opened this issue Jul 26, 2021 · 0 comments · Fixed by #3965
Assignees
Labels
area/ci bug Incorrect behaviour

Comments

@dgibson
Copy link
Contributor

dgibson commented Jul 26, 2021

Description of problem

The recently merged Vagrantfile for creating a VM with CI setup is a great improvement. However, it currently runs the VM as qemu's i440FX based machine. That means the "host" for the tests has no PCIe, and can't have an IOMMU which prevents reasonably testing a number of Kata features such as VFIO.

Expected result

Vagrant VM runs with q35 qemu machine which has PCIe and allows for an IOMMU.

Actual result

Vagrant VM runs with i440FX based 'pc' machine, and attempting to add an IOMMU will result in a qemu error.

@dgibson dgibson added bug Incorrect behaviour needs-review Needs to be assessed by the team. labels Jul 26, 2021
@ariel-adam ariel-adam added area/ci and removed needs-review Needs to be assessed by the team. labels Jul 27, 2021
wainersm added a commit to wainersm/kc-tests that referenced this issue Sep 13, 2021
Currently the VM is configured with QEMU's i440FX machine type which has no
PCIe support (among other restrictions). This changed the Vagrantfile so that
the it boots a q35 machine instead.

Fixes kata-containers#3752
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm added a commit to wainersm/kc-tests that referenced this issue Sep 14, 2021
Currently the VM is configured with QEMU's i440FX machine type which has no
PCIe support (among other restrictions). This changed the Vagrantfile so that
the it boots a q35 machine instead.

Fixes kata-containers#3752
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm added a commit to wainersm/kc-tests that referenced this issue Sep 20, 2021
Currently the VM is configured with QEMU's i440FX machine type which has no
PCIe support (among other restrictions). This changed the Vagrantfile so that
the it boots a q35 machine instead.

Fixes kata-containers#3752
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
wainersm added a commit to wainersm/kc-tests that referenced this issue Oct 27, 2021
Currently the VM is configured with QEMU's i440FX machine type which has no
PCIe support (among other restrictions). This changed the Vagrantfile so that
the it boots a q35 machine instead.

Fixes kata-containers#3752
Signed-off-by: Wainer dos Santos Moschetta <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ci bug Incorrect behaviour
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants