]> git.ipfire.org Git - thirdparty/dracut-ng.git/commit
test: don't use `-cpu max` in GH Actions
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 12 Nov 2021 20:43:12 +0000 (21:43 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 15 Nov 2021 11:37:22 +0000 (11:37 +0000)
commit3f56d481e8a3c67c2e795686e6ec3bfc4ea08e1d
tree7beec072c46a58542ba32338253edab7d2b40466
parent5c2f72f152ec319a8001d1ff0bfd1f81a9130b04
test: don't use `-cpu max` in GH Actions

There appears to be an issue with newer QEMU versions (spotted with Arch
Linux and C9S containers) which causes the respective GH Action to hang
when booting a QEMU VM in combination with the `-cpu max` parameter.

During (a particularly painful) debugging session I once managed to get
some output from such "frozen" machine (using `earlycon` and
`earlyprintk` kernel cmdline options), and in that particular case the
VM died with a trap caused by an invalid opcode.

I couldn't reproduce this locally, only in GH Actions environment with
Arch Linux and C9S containers. Also, so far I haven't found out which
specific CPUID flag causes this, but using the `IvyBridge-v2` feature
set seems to mitigate the issue.
test/run-qemu
tools/test-github.sh