CI: QEMU installation does not work on Windows
We use choco install qemu to install QEMU on the Windows CI agent. This succeeds, but C:\Program Files\qemu is an empty directory afterwards. The strange thing is that this still worked yesterday, so some new version of either QEMU, the chocolatey package, or Azure Pipelines itself must have broken it.
Ok, it seems like the QEMU version changed from v2019.07.31 to v2019.08.07. The relevant installers are https://qemu.weilnetz.de/w64/qemu-w64-setup-20190731.exe and https://qemu.weilnetz.de/w64/qemu-w64-setup-20190807.exe.
Seems to be https://bugs.launchpad.net/qemu/+bug/1839294
This works fine -- I have not noticed any problems with it (then again, I don't use chocoloty). As an Azure test pipeline, tell it to just install scoop and rustup -- which might save you a lot of time. The commands would be:
powershell -ExecutionPolicy Bypass -command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')"
scoop install qemu
Then run your qemu commands.
Seems like it's working again. Thanks for the scoop suggestion, I will look into it.