Skip to content

switch to qemu-system instead of deprecated qemu-kvm

The package qemu-system is gone from bullseye, and the kvm binary is available from qemu-system-x86.

Instead of installing that package, we install qemu-system, which depends on qemu-system-x86. We do this because we do not want to hardcode a specific architecture here: if we deploy Ganeti on a ARM host eventually, we do want the ARM system to be available.

We could wranlge os.architecture ("amd64"), os.hardware ("x86_64"), or ruby.platform ("x86_64-linux-gnu") facts into the right form ("x86"), but that seems like an uphill battle. -system will do the right thing, and will allow us to emulate other platforms if we actually need to (although I'm not sure Ganeti supports this at all).

Merge request reports

Loading