On amd64 'autopkgtest -U --apt-pocket=proposed -a armhf -s *.dsc -- qemu autopkgtest-mantic-armhf.img' invokes QEMU with:
qemu-system-x86_64 -m 1024 -smp 1 -nographic -net nic,model=virtio -net user,hostfwd=tcp:127.0.0.1:10022-:22 -object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-pci,rng=rng0,id=rng-device0 -monitor unix:/tmp/autopkgtest-qemu.h0flvsby/monitor,server=on,wait=off -virtfs local,id=autopkgtest,path=/tmp/autopkgtest-qemu.h0flvsby/shared,security_model=none,mount_tag=autopkgtest -device virtio-serial -chardev socket,path=/tmp/autopkgtest-qemu.h0flvsby/hvc0,server=on,wait=off,id=hvc0 -device virtconsole,chardev=hvc0 -chardev socket,path=/tmp/autopkgtest-qemu.h0flvsby/hvc1,server=on,wait=off,id=hvc1 -device virtconsole,chardev=hvc1 -serial unix:/tmp/autopkgtest-qemu.h0flvsby/ttyS0,server=on,wait=off -serial unix:/tmp/autopkgtest-qemu.h0flvsby/ttyS1,server=on,wait=off -drive index=0,file=/tmp/autopkgtest-qemu.h0flvsby/overlay.img,format=qcow2,cache=unsafe,if=virtio,discard=unmap -enable-kvm -cpu host
The architecture flag is completely ignored.
On amd64 'autopkgtest -U --apt-pocket= proposed -a armhf -s *.dsc -- qemu autopkgtest- mantic- armhf.img' invokes QEMU with:
qemu-system-x86_64 -m 1024 -smp 1 -nographic -net nic,model=virtio -net user,hostfwd= tcp:127. 0.0.1:10022- :22 -object rng-random, filename= /dev/urandom, id=rng0 -device virtio- rng-pci, rng=rng0, id=rng- device0 -monitor unix:/tmp/ autopkgtest- qemu.h0flvsby/ monitor, server= on,wait= off -virtfs local,id= autopkgtest, path=/tmp/ autopkgtest- qemu.h0flvsby/ shared, security_ model=none, mount_tag= autopkgtest -device virtio-serial -chardev socket, path=/tmp/ autopkgtest- qemu.h0flvsby/ hvc0,server= on,wait= off,id= hvc0 -device virtconsole, chardev= hvc0 -chardev socket, path=/tmp/ autopkgtest- qemu.h0flvsby/ hvc1,server= on,wait= off,id= hvc1 -device virtconsole, chardev= hvc1 -serial unix:/tmp/ autopkgtest- qemu.h0flvsby/ ttyS0,server= on,wait= off -serial unix:/tmp/ autopkgtest- qemu.h0flvsby/ ttyS1,server= on,wait= off -drive index=0, file=/tmp/ autopkgtest- qemu.h0flvsby/ overlay. img,format= qcow2,cache= unsafe, if=virtio, discard= unmap -enable-kvm -cpu host
The architecture flag is completely ignored.