main/samurai: add query tool

query is needed to build QEMU 5.2.  Backport from samurai's git tree.
7 jobs for !14442 with 3.12-stable in 1 minute and 27 seconds (queued for 1 second)
detached
Status Job ID Name Coverage
  Lint
passed #271897
docker-alpine x86_64
lint

00:00:17

 
  Build
failed #271902
docker-alpine ci-build aarch64
build-aarch64

00:00:06

failed #271903
docker-alpine ci-build armv7
build-armv7

00:00:21

failed #271901
docker-alpine ci-build ppc64le
build-ppc64le

00:00:10

passed #271900
docker-alpine ci-build s390x
build-s390x

00:00:30

passed #271899
docker-alpine ci-build x86
build-x86

00:00:22

passed #271898
docker-alpine ci-build x86_64
build-x86_64

00:00:26

 
Name Stage Failure
failed
build-aarch64 Build
No job log
failed
build-armv7 Build
No job log
failed
build-ppc64le Build
No job log