On Thu, 2026-10-01 at 16:52 -0300, Antonio Terceiro wrote:
> We have qemu only for amd64. It will fallback to whatever is
> available on the other architectures, so any tests where you declare
> `Restrictions: isolation-machine` will be skipped on non-qemu, while the
> ones that don't will still run. You can also not declare anything, and
> change the tests themselves to detect whether they are being run in a VM
> or not and have them do the right thing.
> 
> Should I switch lxc to run under qemu?

  If amd64 can be configured to run lxc's autopkgtests within a VM, and
all other architectures in lxc/incus containers, that would be ideal.
lxc's d/t/control lists "isolation-container" as one of the
restrictions for running the main lxc-tests. There's already logic to
skip specific tests when it detects it is running within a container
and not a VM.

  However, if it's a choice between running all tests on amd64 and then
skipping tests on all other architectures, we should keep running lxc's
autopkgtests within containers (the current configuration).

Mathias

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to