Libguestfs
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- 4 participants
- 7463 discussions
This is a first try for adding a CI to libnbd. It uses the libvirt-ci to
get as much coverage as possible with the ease of use provided by that
repository. Not all the data are available there at the time of posting
this patch, so if anyone wants to recreate the Containerfiles and
variable files (for cirrus CI) my temporary branch of libvirt-ci called
nbd_prep:
https://gitlab.com/nertpinx/libvirt-ci/-/tree/nbd_prep
The result of this branch CI run is available here:
https://gitlab.com/nertpinx/libnbd/-/pipelines
As you can see there are errors. I went down a rabbit hole of trying to
figure out one of them, but ended up not being sure what the preferred
way of fixing that particular issue would be. So instead of trying
myself and raising various questions every single day I am posting this
here as handling it myself would take too much time and I would be
bothering other people throughout days and days going forward.
If there are any questions related to how the CI is running, how it
works, how to replicate CI builds locally or how to change anything,
then I am more than happy to help.
Actually recreating the builds locally (at least for Linux distributions
and setups) is pretty straightforward. Choose a file from ci/containers
which represents the desired setup, for our example let's pick fedora
rawhide, and build your container and tag it, e.g. using podman (or feel
free to substitute "podman" with "docker"):
podman build ci/containers/fedora-33.Dockerfile -t libnbd-fedora-rawhide
That will get you a container tagged `libnbd-fedora-rawhide` that you
can execute the tests on. You can then run whatever you want inside
that container with the current repository passed through like this:
podman run -it --rm -v .:/repo -w /repo libnbd-fedora-rawhide bash
which will bind-mount the current directory onto /repo inside the
container and also use that path as the working directory (just so you
do not have to `cd /repo` before any commands. I prefer running bash,
but of course you can just run the build script used in the CI. I have
put all the commands into one file for simplicity, so that you can
simply specifically `ci/build_script.sh`. So simply executing that
script will give you the results and you can experiment right inside
that environment to figure out what is needed. At the same time you can
easily modify any files inside that repository on your host, just like
you are used to, so that you can use your editor and other setups that
work for you.
Last few things to note:
- You should make sure that build files do not interfere between the
host and the container, if you want to replicate a clean build you
need to either use VPATH or just clean everything.
- No tests include running make distcheck as that seems a bit more
broken and could be fixed after more pressing issues are dealt with,
just so the output does not interfere in the meantime.
Let me know what you think, and have a nice day.
---
.gitlab-ci.yml | 490 ++++++++++++++++++
ci/build_script.sh | 24 +
ci/cirrus/build.yml | 22 +
ci/cirrus/freebsd-12.vars | 14 +
ci/cirrus/freebsd-current.vars | 14 +
ci/cirrus/macos-11.vars | 14 +
ci/cirrus/refresh | 22 +
ci/containers/README.rst | 14 +
ci/containers/centos-7.Dockerfile | 47 ++
ci/containers/centos-8.Dockerfile | 49 ++
ci/containers/centos-stream.Dockerfile | 51 ++
.../debian-10-cross-aarch64.Dockerfile | 75 +++
.../debian-10-cross-armv6l.Dockerfile | 75 +++
.../debian-10-cross-armv7l.Dockerfile | 75 +++
ci/containers/debian-10-cross-i686.Dockerfile | 75 +++
ci/containers/debian-10-cross-mips.Dockerfile | 75 +++
.../debian-10-cross-mips64el.Dockerfile | 75 +++
.../debian-10-cross-mipsel.Dockerfile | 75 +++
.../debian-10-cross-ppc64le.Dockerfile | 75 +++
.../debian-10-cross-s390x.Dockerfile | 75 +++
ci/containers/debian-10.Dockerfile | 50 ++
.../debian-sid-cross-aarch64.Dockerfile | 75 +++
.../debian-sid-cross-armv6l.Dockerfile | 75 +++
.../debian-sid-cross-armv7l.Dockerfile | 75 +++
.../debian-sid-cross-i686.Dockerfile | 75 +++
.../debian-sid-cross-mips64el.Dockerfile | 75 +++
.../debian-sid-cross-mipsel.Dockerfile | 75 +++
.../debian-sid-cross-ppc64le.Dockerfile | 75 +++
.../debian-sid-cross-s390x.Dockerfile | 75 +++
ci/containers/debian-sid.Dockerfile | 50 ++
ci/containers/fedora-32.Dockerfile | 55 ++
ci/containers/fedora-33.Dockerfile | 55 ++
.../fedora-rawhide-cross-mingw32.Dockerfile | 60 +++
.../fedora-rawhide-cross-mingw64.Dockerfile | 60 +++
ci/containers/fedora-rawhide.Dockerfile | 56 ++
ci/containers/opensuse-152.Dockerfile | 44 ++
ci/containers/refresh | 42 ++
ci/containers/ubuntu-1804.Dockerfile | 50 ++
ci/containers/ubuntu-2004.Dockerfile | 50 ++
39 files changed, 2608 insertions(+)
create mode 100644 .gitlab-ci.yml
create mode 100755 ci/build_script.sh
create mode 100644 ci/cirrus/build.yml
create mode 100644 ci/cirrus/freebsd-12.vars
create mode 100644 ci/cirrus/freebsd-current.vars
create mode 100644 ci/cirrus/macos-11.vars
create mode 100755 ci/cirrus/refresh
create mode 100644 ci/containers/README.rst
create mode 100644 ci/containers/centos-7.Dockerfile
create mode 100644 ci/containers/centos-8.Dockerfile
create mode 100644 ci/containers/centos-stream.Dockerfile
create mode 100644 ci/containers/debian-10-cross-aarch64.Dockerfile
create mode 100644 ci/containers/debian-10-cross-armv6l.Dockerfile
create mode 100644 ci/containers/debian-10-cross-armv7l.Dockerfile
create mode 100644 ci/containers/debian-10-cross-i686.Dockerfile
create mode 100644 ci/containers/debian-10-cross-mips.Dockerfile
create mode 100644 ci/containers/debian-10-cross-mips64el.Dockerfile
create mode 100644 ci/containers/debian-10-cross-mipsel.Dockerfile
create mode 100644 ci/containers/debian-10-cross-ppc64le.Dockerfile
create mode 100644 ci/containers/debian-10-cross-s390x.Dockerfile
create mode 100644 ci/containers/debian-10.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-aarch64.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-armv6l.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-armv7l.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-i686.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-mips64el.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-mipsel.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-ppc64le.Dockerfile
create mode 100644 ci/containers/debian-sid-cross-s390x.Dockerfile
create mode 100644 ci/containers/debian-sid.Dockerfile
create mode 100644 ci/containers/fedora-32.Dockerfile
create mode 100644 ci/containers/fedora-33.Dockerfile
create mode 100644 ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
create mode 100644 ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
create mode 100644 ci/containers/fedora-rawhide.Dockerfile
create mode 100644 ci/containers/opensuse-152.Dockerfile
create mode 100755 ci/containers/refresh
create mode 100644 ci/containers/ubuntu-1804.Dockerfile
create mode 100644 ci/containers/ubuntu-2004.Dockerfile
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..7e4a7911afac
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,490 @@
+variables:
+ GIT_DEPTH: 100
+
+stages:
+ - containers
+ - builds
+
+.script_variables: &script_variables |
+ export MAKEFLAGS="-j $(getconf _NPROCESSORS_ONLN)"
+ export CCACHE_BASEDIR="$(pwd)"
+ export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
+ export CCACHE_MAXSIZE="500M"
+ export PATH="$CCACHE_WRAPPERSDIR:$PATH"
+
+# Common templates
+
+.container_job:
+ image: docker:stable
+ stage: containers
+ needs: []
+ services:
+ - docker:dind
+ rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
+ - when: on_success
+ before_script:
+ - export TAG="$CI_REGISTRY_IMAGE/ci-$NAME:latest"
+ - export COMMON_TAG="$CI_REGISTRY/nbdkit/libnbd/ci-$NAME:latest"
+ - docker info
+ - docker login registry.gitlab.com -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
+ script:
+ - docker pull "$TAG" || docker pull "$COMMON_TAG" || true
+ - docker build --cache-from "$TAG" --cache-from "$COMMON_TAG" --tag "$TAG" -f "ci/containers/$NAME.Dockerfile" ci/containers
+ - docker push "$TAG"
+ after_script:
+ - docker logout
+
+# We build many containers which can be useful to debug problems but are not
+# needed for the pipeline itself to complete: those sometimes fail, and when
+# that happens it's mostly because of temporary issues with Debian sid. We
+# don't want those failures to affect the overall pipeline status
+.container_optional_job:
+ extends: .container_job
+ allow_failure: true
+
+.native_build_job:
+ stage: builds
+ image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
+ rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
+ - when: on_success
+ cache:
+ paths:
+ - ccache/
+ key: "$CI_JOB_NAME"
+ before_script:
+ - *script_variables
+ script:
+ - ci/build_script.sh
+
+# Jobs that we delegate to Cirrus CI because they require an operating
+# system other than Linux. These jobs will only run if the required
+# setup has been performed on the GitLab account (see ci/README.rst).
+#
+# The Cirrus CI configuration is generated by replacing target-specific
+# variables in a generic template: some of these variables are provided
+# when the GitLab CI job is defined, others are taken from a shell
+# snippet generated using lcitool.
+#
+# Note that the $PATH environment variable has to be treated with
+# special care, because we can't just override it at the GitLab CI job
+# definition level or we risk breaking it completely.
+.cirrus_build_job:
+ stage: builds
+ image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:master
+ needs: []
+ script:
+ - source ci/cirrus/$NAME.vars
+ - sed -e "s|[@]CI_REPOSITORY_URL@|$CI_REPOSITORY_URL|g"
+ -e "s|[@]CI_COMMIT_REF_NAME@|$CI_COMMIT_REF_NAME|g"
+ -e "s|[@]CI_COMMIT_SHA@|$CI_COMMIT_SHA|g"
+ -e "s|[@]CIRRUS_VM_INSTANCE_TYPE@|$CIRRUS_VM_INSTANCE_TYPE|g"
+ -e "s|[@]CIRRUS_VM_IMAGE_SELECTOR@|$CIRRUS_VM_IMAGE_SELECTOR|g"
+ -e "s|[@]CIRRUS_VM_IMAGE_NAME@|$CIRRUS_VM_IMAGE_NAME|g"
+ -e "s|[@]UPDATE_COMMAND@|$UPDATE_COMMAND|g"
+ -e "s|[@]INSTALL_COMMAND@|$INSTALL_COMMAND|g"
+ -e "s|[@]PATH@|$PATH_EXTRA${PATH_EXTRA:+:}\$PATH|g"
+ -e "s|[@]PKG_CONFIG_PATH@|$PKG_CONFIG_PATH|g"
+ -e "s|[@]PKGS@|$PKGS|g"
+ -e "s|[@]MAKE@|$MAKE|g"
+ -e "s|[@]PYTHON@|$PYTHON|g"
+ -e "s|[@]PIP3@|$PIP3|g"
+ -e "s|[@]PYPI_PKGS@|$PYPI_PKGS|g"
+ <ci/cirrus/build.yml >ci/cirrus/$NAME.yml
+ - cat ci/cirrus/$NAME.yml
+ - cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml
+ rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
+ - if: "$CIRRUS_GITHUB_REPO && $CIRRUS_API_TOKEN"
+
+.cross_build_job:
+ stage: builds
+ image: $CI_REGISTRY_IMAGE/ci-$NAME-cross-$CROSS:latest
+ cache:
+ paths:
+ - ccache/
+ key: "$CI_JOB_NAME"
+ rules:
+ - if: "$TEMPORARILY_DISABLED"
+ allow_failure: true
+ - when: on_success
+ before_script:
+ - *script_variables
+ script:
+ - ci/build_script.sh
+
+# Native container build jobs
+
+x64-centos-7-container:
+ extends: .container_job
+ variables:
+ NAME: centos-7
+
+x64-centos-8-container:
+ extends: .container_job
+ variables:
+ NAME: centos-8
+
+x64-centos-stream-container:
+ extends: .container_job
+ variables:
+ NAME: centos-stream
+
+x64-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10
+
+x64-debian-sid-container:
+ extends: .container_job
+ variables:
+ NAME: debian-sid
+
+x64-fedora-32-container:
+ extends: .container_job
+ variables:
+ NAME: fedora-32
+
+x64-fedora-33-container:
+ extends: .container_job
+ variables:
+ NAME: fedora-33
+
+x64-fedora-rawhide-container:
+ extends: .container_job
+ variables:
+ NAME: fedora-rawhide
+
+x64-opensuse-152-container:
+ extends: .container_job
+ variables:
+ NAME: opensuse-152
+
+x64-ubuntu-1804-container:
+ extends: .container_job
+ variables:
+ NAME: ubuntu-1804
+
+x64-ubuntu-2004-container:
+ extends: .container_job
+ variables:
+ NAME: ubuntu-2004
+
+
+# Cross-build containers build jobs
+
+aarch64-debian-10-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-10-cross-aarch64
+
+armv6l-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10-cross-armv6l
+
+armv7l-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10-cross-armv7l
+
+i686-debian-10-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-10-cross-i686
+
+mips-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10-cross-mips
+
+mips64el-debian-10-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-10-cross-mips64el
+
+mipsel-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10-cross-mipsel
+
+ppc64le-debian-10-container:
+ extends: .container_job
+ variables:
+ NAME: debian-10-cross-ppc64le
+
+s390x-debian-10-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-10-cross-s390x
+
+aarch64-debian-sid-container:
+ extends: .container_job
+ variables:
+ NAME: debian-sid-cross-aarch64
+
+armv6l-debian-sid-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-sid-cross-armv6l
+
+armv7l-debian-sid-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-sid-cross-armv7l
+
+i686-debian-sid-container:
+ extends: .container_job
+ variables:
+ NAME: debian-sid-cross-i686
+
+mips64el-debian-sid-container:
+ extends: .container_job
+ variables:
+ NAME: debian-sid-cross-mips64el
+
+mipsel-debian-sid-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-sid-cross-mipsel
+
+ppc64le-debian-sid-container:
+ extends: .container_optional_job
+ variables:
+ NAME: debian-sid-cross-ppc64le
+
+s390x-debian-sid-container:
+ extends: .container_job
+ variables:
+ NAME: debian-sid-cross-s390x
+
+mingw32-fedora-rawhide-container:
+ extends: .container_job
+ variables:
+ NAME: fedora-rawhide-cross-mingw32
+
+mingw64-fedora-rawhide-container:
+ extends: .container_job
+ variables:
+ NAME: fedora-rawhide-cross-mingw64
+
+
+# Native architecture build + test jobs
+
+x64-debian-10:
+ extends: .native_build_job
+ needs:
+ - x64-debian-10-container
+ variables:
+ NAME: debian-10
+
+x64-debian-10-clang:
+ extends: .native_build_job
+ needs:
+ - x64-debian-10-container
+ variables:
+ NAME: debian-10
+ CC: clang
+
+x64-debian-sid:
+ extends: .native_build_job
+ needs:
+ - x64-debian-sid-container
+ variables:
+ NAME: debian-sid
+
+x64-centos-7:
+ extends: .native_build_job
+ needs:
+ - x64-centos-7-container
+ variables:
+ NAME: centos-7
+
+x64-centos-8:
+ extends: .native_build_job
+ needs:
+ - x64-centos-8-container
+ variables:
+ NAME: centos-8
+
+x64-centos-8-clang:
+ extends: .native_build_job
+ needs:
+ - x64-centos-8-container
+ variables:
+ NAME: centos-8
+ CC: clang
+
+x64-centos-stream:
+ extends: .native_build_job
+ needs:
+ - x64-centos-stream-container
+ variables:
+ NAME: centos-stream
+
+x64-fedora-32:
+ extends: .native_build_job
+ needs:
+ - x64-fedora-32-container
+ variables:
+ NAME: fedora-32
+
+x64-fedora-33:
+ extends: .native_build_job
+ needs:
+ - x64-fedora-33-container
+ variables:
+ NAME: fedora-33
+
+x64-fedora-rawhide:
+ extends: .native_build_job
+ needs:
+ - x64-fedora-rawhide-container
+ variables:
+ NAME: fedora-rawhide
+
+x64-fedora-rawhide-clang:
+ extends: .native_build_job
+ needs:
+ - x64-fedora-rawhide-container
+ variables:
+ NAME: fedora-rawhide
+ CC: clang
+
+x64-opensuse-152:
+ extends: .native_build_job
+ needs:
+ - x64-opensuse-152-container
+ variables:
+ NAME: opensuse-152
+
+x64-ubuntu-1804:
+ extends: .native_build_job
+ needs:
+ - x64-ubuntu-1804-container
+ variables:
+ NAME: ubuntu-1804
+
+x64-ubuntu-2004:
+ extends: .native_build_job
+ needs:
+ - x64-ubuntu-2004-container
+ variables:
+ NAME: ubuntu-2004
+
+x64-freebsd-12-build:
+ extends: .cirrus_build_job
+ variables:
+ NAME: freebsd-12
+ CIRRUS_VM_INSTANCE_TYPE: freebsd_instance
+ CIRRUS_VM_IMAGE_SELECTOR: image_family
+ CIRRUS_VM_IMAGE_NAME: freebsd-12-2
+ UPDATE_COMMAND: pkg update
+ INSTALL_COMMAND: pkg install -y
+
+x64-macos-11-build:
+ extends: .cirrus_build_job
+ variables:
+ NAME: macos-11
+ CIRRUS_VM_INSTANCE_TYPE: osx_instance
+ CIRRUS_VM_IMAGE_SELECTOR: image
+ CIRRUS_VM_IMAGE_NAME: big-sur-base
+ UPDATE_COMMAND: brew update
+ INSTALL_COMMAND: brew install
+ PATH_EXTRA: /usr/local/opt/ccache/libexec:/usr/local/opt/gettext/bin:/usr/local/opt/libpcap/bin:/usr/local/opt/libxslt/bin:/usr/local/opt/rpcgen/bin
+ PKG_CONFIG_PATH: /usr/local/opt/curl/lib/pkgconfig:/usr/local/opt/libpcap/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/ncurses/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig
+
+
+# Cross compiled build jobs
+
+aarch64-debian-sid:
+ extends: .cross_build_job
+ needs:
+ - aarch64-debian-sid-container
+ variables:
+ NAME: debian-sid
+ CROSS: aarch64
+
+armv6l-debian-10:
+ extends: .cross_build_job
+ needs:
+ - armv6l-debian-10-container
+ variables:
+ NAME: debian-10
+ CROSS: armv6l
+
+armv7l-debian-10:
+ extends: .cross_build_job
+ needs:
+ - armv7l-debian-10-container
+ variables:
+ NAME: debian-10
+ CROSS: armv7l
+
+i686-debian-sid:
+ extends: .cross_build_job
+ needs:
+ - i686-debian-sid-container
+ variables:
+ NAME: debian-sid
+ CROSS: i686
+
+mips-debian-10:
+ extends: .cross_build_job
+ needs:
+ - mips-debian-10-container
+ variables:
+ NAME: debian-10
+ CROSS: mips
+
+mips64el-debian-sid:
+ extends: .cross_build_job
+ needs:
+ - mips64el-debian-sid-container
+ variables:
+ NAME: debian-sid
+ CROSS: mips64el
+
+mipsel-debian-10:
+ extends: .cross_build_job
+ needs:
+ - mipsel-debian-10-container
+ variables:
+ NAME: debian-10
+ CROSS: mipsel
+
+ppc64le-debian-10:
+ extends: .cross_build_job
+ needs:
+ - ppc64le-debian-10-container
+ variables:
+ NAME: debian-10
+ CROSS: ppc64le
+
+s390x-debian-sid:
+ extends: .cross_build_job
+ needs:
+ - s390x-debian-sid-container
+ variables:
+ NAME: debian-sid
+ CROSS: s390x
+
+mingw32-fedora-rawhide:
+ extends: .cross_build_job
+ needs:
+ - mingw32-fedora-rawhide-container
+ variables:
+ NAME: fedora-rawhide
+ CROSS: mingw32
+
+mingw64-fedora-rawhide:
+ extends: .cross_build_job
+ needs:
+ - mingw64-fedora-rawhide-container
+ variables:
+ NAME: fedora-rawhide
+ CROSS: mingw64
diff --git a/ci/build_script.sh b/ci/build_script.sh
new file mode 100755
index 000000000000..7c176de9d3da
--- /dev/null
+++ b/ci/build_script.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+set -e
+
+main() {
+ autoreconf -if
+ ./configure --enable-gcc-warnings --enable-fuse --enable-ocaml --enable-python --enable-golang --with-gnutls --with-libxml2
+
+ $MAKE
+
+ if test -n "$CROSS"
+ then
+ return 0
+ fi
+
+ $MAKE check || find . -name test-suite.log -exec grep -l '^X\?FAIL:' '{}' \+ | xargs cat
+
+ if test "$DIST" == "force"
+ then
+ $MAKE distcheck
+ fi
+}
+
+main "$@"
diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml
new file mode 100644
index 000000000000..5a5c65e3b640
--- /dev/null
+++ b/ci/cirrus/build.yml
@@ -0,0 +1,22 @@
+@CIRRUS_VM_INSTANCE_TYPE@:
+ @CIRRUS_VM_IMAGE_SELECTOR@: @CIRRUS_VM_IMAGE_NAME@
+
+env:
+ CI_REPOSITORY_URL: "@CI_REPOSITORY_URL@"
+ CI_COMMIT_REF_NAME: "@CI_COMMIT_REF_NAME@"
+ CI_COMMIT_SHA: "@CI_COMMIT_SHA@"
+ PATH: "@PATH@"
+ PKG_CONFIG_PATH: "@PKG_CONFIG_PATH@"
+ PYTHON: "@PYTHON@"
+ MAKE: "@MAKE@"
+
+build_task:
+ install_script:
+ - @INSTALL_COMMAND@ @PKGS@
+ - if test -n "@PYPI_PKGS@" ; then @PIP3@ install @PYPI_PKGS@ ; fi
+ clone_script:
+ - git clone --depth 100 "$CI_REPOSITORY_URL" .
+ - git fetch origin "$CI_COMMIT_REF_NAME"
+ - git reset --hard "$CI_COMMIT_SHA"
+ build_script:
+ - ci/build_script.sh
diff --git a/ci/cirrus/freebsd-12.vars b/ci/cirrus/freebsd-12.vars
new file mode 100644
index 000000000000..2044439ca3e8
--- /dev/null
+++ b/ci/cirrus/freebsd-12.vars
@@ -0,0 +1,14 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool variables freebsd-12 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+PACKAGING_COMMAND='pkg'
+CC='/usr/bin/clang'
+CCACHE='/usr/local/bin/ccache'
+MAKE='/usr/local/bin/gmake'
+NINJA='/usr/local/bin/ninja'
+PYTHON='/usr/local/bin/python3'
+PIP3='/usr/local/bin/pip-3.7'
+PKGS='autoconf automake bash-completion ca_root_nss ccache coreutils diffutils fusefs-libs git gmake gnutls go gsed libtool libxml2 ocaml ocaml-findlib perl5 pkgconf python3 qemu'
diff --git a/ci/cirrus/freebsd-current.vars b/ci/cirrus/freebsd-current.vars
new file mode 100644
index 000000000000..02be9eb0e92c
--- /dev/null
+++ b/ci/cirrus/freebsd-current.vars
@@ -0,0 +1,14 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool variables freebsd-current libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+PACKAGING_COMMAND='pkg'
+CC='/usr/bin/clang'
+CCACHE='/usr/local/bin/ccache'
+MAKE='/usr/local/bin/gmake'
+NINJA='/usr/local/bin/ninja'
+PYTHON='/usr/local/bin/python3'
+PIP3='/usr/local/bin/pip-3.7'
+PKGS='autoconf automake bash-completion ca_root_nss ccache coreutils diffutils fusefs-libs git gmake gnutls go gsed libtool libxml2 ocaml ocaml-findlib perl5 pkgconf python3 qemu'
diff --git a/ci/cirrus/macos-11.vars b/ci/cirrus/macos-11.vars
new file mode 100644
index 000000000000..8618d2ba97b8
--- /dev/null
+++ b/ci/cirrus/macos-11.vars
@@ -0,0 +1,14 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool variables macos-11 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+PACKAGING_COMMAND='brew'
+CC='/usr/bin/clang'
+CCACHE='/usr/local/bin/ccache'
+MAKE='/usr/local/bin/gmake'
+NINJA='/usr/local/bin/ninja'
+PYTHON='/usr/local/bin/python3'
+PIP3='/usr/local/bin/pip3'
+PKGS='autoconf automake bash-completion ccache coreutils diffutils git gnu-sed gnutls golang libtool libxml2 make ocaml ocaml-findlib perl pkg-config python3 qemu'
diff --git a/ci/cirrus/refresh b/ci/cirrus/refresh
new file mode 100755
index 000000000000..459cd80d0934
--- /dev/null
+++ b/ci/cirrus/refresh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+if test -z "$1"
+then
+ echo "syntax: $0 PATH-TO-LCITOOL"
+ exit 1
+fi
+
+LCITOOL=$1
+
+if ! test -x "$LCITOOL"
+then
+ echo "$LCITOOL is not executable"
+ exit 1
+fi
+
+HOSTS=$($LCITOOL hosts | grep -E 'freebsd|macos')
+
+for host in $HOSTS
+do
+ $LCITOOL variables "$host" libnbd >"$host.vars"
+done
diff --git a/ci/containers/README.rst b/ci/containers/README.rst
new file mode 100644
index 000000000000..530897e311f5
--- /dev/null
+++ b/ci/containers/README.rst
@@ -0,0 +1,14 @@
+CI job assets
+=============
+
+This directory contains assets used in the automated CI jobs, most
+notably the Dockerfiles used to build container images in which the
+CI jobs then run.
+
+The ``refresh`` script is used to re-create the Dockerfiles using the
+``lcitool`` command that is provided by repo
+https://gitlab.com/libvirt/libvirt-ci
+
+The containers are built during the CI process and cached in the GitLab
+container registry of the project doing the build. The cached containers
+can be deleted at any time and will be correctly rebuilt.
diff --git a/ci/containers/centos-7.Dockerfile b/ci/containers/centos-7.Dockerfile
new file mode 100644
index 000000000000..7690e509761f
--- /dev/null
+++ b/ci/containers/centos-7.Dockerfile
@@ -0,0 +1,47 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile centos-7 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/centos:7
+
+RUN yum update -y && \
+ echo 'skip_missing_names_on_install=0' >> /etc/yum.conf && \
+ yum install -y epel-release && \
+ yum install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-common \
+ glibc-devel \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python36-devel \
+ qemu-img \
+ sed && \
+ yum autoremove -y && \
+ yum clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/centos-8.Dockerfile b/ci/containers/centos-8.Dockerfile
new file mode 100644
index 000000000000..689b010d47fd
--- /dev/null
+++ b/ci/containers/centos-8.Dockerfile
@@ -0,0 +1,49 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile centos-8 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/centos:8
+
+RUN dnf update -y && \
+ dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y powertools && \
+ dnf install -y centos-release-advanced-virtualization && \
+ dnf install -y epel-release && \
+ dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils-single \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-img \
+ sed && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/centos-stream.Dockerfile b/ci/containers/centos-stream.Dockerfile
new file mode 100644
index 000000000000..08e5372f8ee3
--- /dev/null
+++ b/ci/containers/centos-stream.Dockerfile
@@ -0,0 +1,51 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile centos-stream libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/centos:8
+
+RUN dnf install -y centos-release-stream && \
+ dnf install -y centos-stream-release && \
+ dnf update -y && \
+ dnf install 'dnf-command(config-manager)' -y && \
+ dnf config-manager --set-enabled -y powertools && \
+ dnf install -y centos-release-advanced-virtualization && \
+ dnf install -y epel-release && \
+ dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils-single \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-img \
+ sed && \
+ dnf autoremove -y && \
+ dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/debian-10-cross-aarch64.Dockerfile b/ci/containers/debian-10-cross-aarch64.Dockerfile
new file mode 100644
index 000000000000..7f5458fc5f83
--- /dev/null
+++ b/ci/containers/debian-10-cross-aarch64.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross aarch64 debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture arm64 && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-aarch64-linux-gnu \
+ libc6-dev:arm64 \
+ libfuse-dev:arm64 \
+ libgnutls28-dev:arm64 \
+ libxml2-dev:arm64 && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/aarch64-linux-gnu-gcc'\n\
+ar = '/usr/bin/aarch64-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/aarch64-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'aarch64'\n\
+cpu = 'aarch64'\n\
+endian = 'little'" > /usr/local/share/meson/cross/aarch64-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "aarch64-linux-gnu"
+ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu"
diff --git a/ci/containers/debian-10-cross-armv6l.Dockerfile b/ci/containers/debian-10-cross-armv6l.Dockerfile
new file mode 100644
index 000000000000..5d200639353c
--- /dev/null
+++ b/ci/containers/debian-10-cross-armv6l.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross armv6l debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture armel && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-arm-linux-gnueabi \
+ libc6-dev:armel \
+ libfuse-dev:armel \
+ libgnutls28-dev:armel \
+ libxml2-dev:armel && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/arm-linux-gnueabi-gcc'\n\
+ar = '/usr/bin/arm-linux-gnueabi-gcc-ar'\n\
+strip = '/usr/bin/arm-linux-gnueabi-strip'\n\
+pkgconfig = '/usr/bin/arm-linux-gnueabi-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'arm'\n\
+cpu = 'arm'\n\
+endian = 'little'" > /usr/local/share/meson/cross/arm-linux-gnueabi
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "arm-linux-gnueabi"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi"
diff --git a/ci/containers/debian-10-cross-armv7l.Dockerfile b/ci/containers/debian-10-cross-armv7l.Dockerfile
new file mode 100644
index 000000000000..d2e41c5fa121
--- /dev/null
+++ b/ci/containers/debian-10-cross-armv7l.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross armv7l debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture armhf && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-arm-linux-gnueabihf \
+ libc6-dev:armhf \
+ libfuse-dev:armhf \
+ libgnutls28-dev:armhf \
+ libxml2-dev:armhf && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/arm-linux-gnueabihf-gcc'\n\
+ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'\n\
+strip = '/usr/bin/arm-linux-gnueabihf-strip'\n\
+pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'arm'\n\
+cpu = 'armhf'\n\
+endian = 'little'" > /usr/local/share/meson/cross/arm-linux-gnueabihf
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "arm-linux-gnueabihf"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf"
diff --git a/ci/containers/debian-10-cross-i686.Dockerfile b/ci/containers/debian-10-cross-i686.Dockerfile
new file mode 100644
index 000000000000..f6bf49f66105
--- /dev/null
+++ b/ci/containers/debian-10-cross-i686.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross i686 debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture i386 && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-i686-linux-gnu \
+ libc6-dev:i386 \
+ libfuse-dev:i386 \
+ libgnutls28-dev:i386 \
+ libxml2-dev:i386 && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/i686-linux-gnu-gcc'\n\
+ar = '/usr/bin/i686-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/i686-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/i686-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'x86'\n\
+cpu = 'i686'\n\
+endian = 'little'" > /usr/local/share/meson/cross/i686-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "i686-linux-gnu"
+ENV CONFIGURE_OPTS "--host=i686-linux-gnu"
diff --git a/ci/containers/debian-10-cross-mips.Dockerfile b/ci/containers/debian-10-cross-mips.Dockerfile
new file mode 100644
index 000000000000..2a575965fa5d
--- /dev/null
+++ b/ci/containers/debian-10-cross-mips.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mips debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture mips && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-mips-linux-gnu \
+ libc6-dev:mips \
+ libfuse-dev:mips \
+ libgnutls28-dev:mips \
+ libxml2-dev:mips && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/mips-linux-gnu-gcc'\n\
+ar = '/usr/bin/mips-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/mips-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/mips-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'mips'\n\
+cpu = 'mips'\n\
+endian = 'big'" > /usr/local/share/meson/cross/mips-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "mips-linux-gnu"
+ENV CONFIGURE_OPTS "--host=mips-linux-gnu"
diff --git a/ci/containers/debian-10-cross-mips64el.Dockerfile b/ci/containers/debian-10-cross-mips64el.Dockerfile
new file mode 100644
index 000000000000..09c361f7a47c
--- /dev/null
+++ b/ci/containers/debian-10-cross-mips64el.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mips64el debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture mips64el && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-mips64el-linux-gnuabi64 \
+ libc6-dev:mips64el \
+ libfuse-dev:mips64el \
+ libgnutls28-dev:mips64el \
+ libxml2-dev:mips64el && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/mips64el-linux-gnuabi64-gcc'\n\
+ar = '/usr/bin/mips64el-linux-gnuabi64-gcc-ar'\n\
+strip = '/usr/bin/mips64el-linux-gnuabi64-strip'\n\
+pkgconfig = '/usr/bin/mips64el-linux-gnuabi64-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'mips64'\n\
+cpu = 'mips64el'\n\
+endian = 'little'" > /usr/local/share/meson/cross/mips64el-linux-gnuabi64
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "mips64el-linux-gnuabi64"
+ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64"
diff --git a/ci/containers/debian-10-cross-mipsel.Dockerfile b/ci/containers/debian-10-cross-mipsel.Dockerfile
new file mode 100644
index 000000000000..00825c8b6285
--- /dev/null
+++ b/ci/containers/debian-10-cross-mipsel.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mipsel debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture mipsel && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-mipsel-linux-gnu \
+ libc6-dev:mipsel \
+ libfuse-dev:mipsel \
+ libgnutls28-dev:mipsel \
+ libxml2-dev:mipsel && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/mipsel-linux-gnu-gcc'\n\
+ar = '/usr/bin/mipsel-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/mipsel-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/mipsel-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'mips'\n\
+cpu = 'mipsel'\n\
+endian = 'little'" > /usr/local/share/meson/cross/mipsel-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "mipsel-linux-gnu"
+ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu"
diff --git a/ci/containers/debian-10-cross-ppc64le.Dockerfile b/ci/containers/debian-10-cross-ppc64le.Dockerfile
new file mode 100644
index 000000000000..4f4c835dd074
--- /dev/null
+++ b/ci/containers/debian-10-cross-ppc64le.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross ppc64le debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture ppc64el && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-powerpc64le-linux-gnu \
+ libc6-dev:ppc64el \
+ libfuse-dev:ppc64el \
+ libgnutls28-dev:ppc64el \
+ libxml2-dev:ppc64el && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/powerpc64le-linux-gnu-gcc'\n\
+ar = '/usr/bin/powerpc64le-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/powerpc64le-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/powerpc64le-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'ppc64'\n\
+cpu = 'powerpc64le'\n\
+endian = 'little'" > /usr/local/share/meson/cross/powerpc64le-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "powerpc64le-linux-gnu"
+ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu"
diff --git a/ci/containers/debian-10-cross-s390x.Dockerfile b/ci/containers/debian-10-cross-s390x.Dockerfile
new file mode 100644
index 000000000000..3753a67d8056
--- /dev/null
+++ b/ci/containers/debian-10-cross-s390x.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross s390x debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture s390x && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-s390x-linux-gnu \
+ libc6-dev:s390x \
+ libfuse-dev:s390x \
+ libgnutls28-dev:s390x \
+ libxml2-dev:s390x && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/s390x-linux-gnu-gcc'\n\
+ar = '/usr/bin/s390x-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/s390x-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/s390x-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 's390x'\n\
+cpu = 's390x'\n\
+endian = 'big'" > /usr/local/share/meson/cross/s390x-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "s390x-linux-gnu"
+ENV CONFIGURE_OPTS "--host=s390x-linux-gnu"
diff --git a/ci/containers/debian-10.Dockerfile b/ci/containers/debian-10.Dockerfile
new file mode 100644
index 000000000000..4444271bb7d6
--- /dev/null
+++ b/ci/containers/debian-10.Dockerfile
@@ -0,0 +1,50 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile debian-10 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:10-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libc6-dev \
+ libfuse-dev \
+ libgnutls28-dev \
+ libtool-bin \
+ libxml2-dev \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/debian-sid-cross-aarch64.Dockerfile b/ci/containers/debian-sid-cross-aarch64.Dockerfile
new file mode 100644
index 000000000000..81aab437f18f
--- /dev/null
+++ b/ci/containers/debian-sid-cross-aarch64.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross aarch64 debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/aarch64-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture arm64 && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-aarch64-linux-gnu \
+ libc6-dev:arm64 \
+ libfuse-dev:arm64 \
+ libgnutls28-dev:arm64 \
+ libxml2-dev:arm64 && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/aarch64-linux-gnu-gcc'\n\
+ar = '/usr/bin/aarch64-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/aarch64-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/aarch64-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'aarch64'\n\
+cpu = 'aarch64'\n\
+endian = 'little'" > /usr/local/share/meson/cross/aarch64-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "aarch64-linux-gnu"
+ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu"
diff --git a/ci/containers/debian-sid-cross-armv6l.Dockerfile b/ci/containers/debian-sid-cross-armv6l.Dockerfile
new file mode 100644
index 000000000000..b766138eb73d
--- /dev/null
+++ b/ci/containers/debian-sid-cross-armv6l.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross armv6l debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabi-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture armel && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-arm-linux-gnueabi \
+ libc6-dev:armel \
+ libfuse-dev:armel \
+ libgnutls28-dev:armel \
+ libxml2-dev:armel && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/arm-linux-gnueabi-gcc'\n\
+ar = '/usr/bin/arm-linux-gnueabi-gcc-ar'\n\
+strip = '/usr/bin/arm-linux-gnueabi-strip'\n\
+pkgconfig = '/usr/bin/arm-linux-gnueabi-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'arm'\n\
+cpu = 'arm'\n\
+endian = 'little'" > /usr/local/share/meson/cross/arm-linux-gnueabi
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "arm-linux-gnueabi"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi"
diff --git a/ci/containers/debian-sid-cross-armv7l.Dockerfile b/ci/containers/debian-sid-cross-armv7l.Dockerfile
new file mode 100644
index 000000000000..7151aa4f6194
--- /dev/null
+++ b/ci/containers/debian-sid-cross-armv7l.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross armv7l debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/arm-linux-gnueabihf-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture armhf && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-arm-linux-gnueabihf \
+ libc6-dev:armhf \
+ libfuse-dev:armhf \
+ libgnutls28-dev:armhf \
+ libxml2-dev:armhf && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/arm-linux-gnueabihf-gcc'\n\
+ar = '/usr/bin/arm-linux-gnueabihf-gcc-ar'\n\
+strip = '/usr/bin/arm-linux-gnueabihf-strip'\n\
+pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'arm'\n\
+cpu = 'armhf'\n\
+endian = 'little'" > /usr/local/share/meson/cross/arm-linux-gnueabihf
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "arm-linux-gnueabihf"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf"
diff --git a/ci/containers/debian-sid-cross-i686.Dockerfile b/ci/containers/debian-sid-cross-i686.Dockerfile
new file mode 100644
index 000000000000..c1ce5b67ff2a
--- /dev/null
+++ b/ci/containers/debian-sid-cross-i686.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross i686 debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture i386 && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-i686-linux-gnu \
+ libc6-dev:i386 \
+ libfuse-dev:i386 \
+ libgnutls28-dev:i386 \
+ libxml2-dev:i386 && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/i686-linux-gnu-gcc'\n\
+ar = '/usr/bin/i686-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/i686-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/i686-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'x86'\n\
+cpu = 'i686'\n\
+endian = 'little'" > /usr/local/share/meson/cross/i686-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "i686-linux-gnu"
+ENV CONFIGURE_OPTS "--host=i686-linux-gnu"
diff --git a/ci/containers/debian-sid-cross-mips64el.Dockerfile b/ci/containers/debian-sid-cross-mips64el.Dockerfile
new file mode 100644
index 000000000000..9f994afa78c0
--- /dev/null
+++ b/ci/containers/debian-sid-cross-mips64el.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mips64el debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mips64el-linux-gnuabi64-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture mips64el && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-mips64el-linux-gnuabi64 \
+ libc6-dev:mips64el \
+ libfuse-dev:mips64el \
+ libgnutls28-dev:mips64el \
+ libxml2-dev:mips64el && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/mips64el-linux-gnuabi64-gcc'\n\
+ar = '/usr/bin/mips64el-linux-gnuabi64-gcc-ar'\n\
+strip = '/usr/bin/mips64el-linux-gnuabi64-strip'\n\
+pkgconfig = '/usr/bin/mips64el-linux-gnuabi64-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'mips64'\n\
+cpu = 'mips64el'\n\
+endian = 'little'" > /usr/local/share/meson/cross/mips64el-linux-gnuabi64
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "mips64el-linux-gnuabi64"
+ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64"
diff --git a/ci/containers/debian-sid-cross-mipsel.Dockerfile b/ci/containers/debian-sid-cross-mipsel.Dockerfile
new file mode 100644
index 000000000000..c3684ee11d40
--- /dev/null
+++ b/ci/containers/debian-sid-cross-mipsel.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mipsel debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/mipsel-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture mipsel && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-mipsel-linux-gnu \
+ libc6-dev:mipsel \
+ libfuse-dev:mipsel \
+ libgnutls28-dev:mipsel \
+ libxml2-dev:mipsel && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/mipsel-linux-gnu-gcc'\n\
+ar = '/usr/bin/mipsel-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/mipsel-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/mipsel-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'mips'\n\
+cpu = 'mipsel'\n\
+endian = 'little'" > /usr/local/share/meson/cross/mipsel-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "mipsel-linux-gnu"
+ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu"
diff --git a/ci/containers/debian-sid-cross-ppc64le.Dockerfile b/ci/containers/debian-sid-cross-ppc64le.Dockerfile
new file mode 100644
index 000000000000..216893c6e066
--- /dev/null
+++ b/ci/containers/debian-sid-cross-ppc64le.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross ppc64le debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/powerpc64le-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture ppc64el && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-powerpc64le-linux-gnu \
+ libc6-dev:ppc64el \
+ libfuse-dev:ppc64el \
+ libgnutls28-dev:ppc64el \
+ libxml2-dev:ppc64el && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/powerpc64le-linux-gnu-gcc'\n\
+ar = '/usr/bin/powerpc64le-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/powerpc64le-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/powerpc64le-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 'ppc64'\n\
+cpu = 'powerpc64le'\n\
+endian = 'little'" > /usr/local/share/meson/cross/powerpc64le-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "powerpc64le-linux-gnu"
+ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu"
diff --git a/ci/containers/debian-sid-cross-s390x.Dockerfile b/ci/containers/debian-sid-cross-s390x.Dockerfile
new file mode 100644
index 000000000000..cc1612a6ed45
--- /dev/null
+++ b/ci/containers/debian-sid-cross-s390x.Dockerfile
@@ -0,0 +1,75 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross s390x debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libtool-bin \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/s390x-linux-gnu-$(basename /usr/bin/gcc)
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ dpkg --add-architecture s390x && \
+ eatmydata apt-get update && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y dpkg-dev && \
+ eatmydata apt-get install --no-install-recommends -y \
+ gcc-s390x-linux-gnu \
+ libc6-dev:s390x \
+ libfuse-dev:s390x \
+ libgnutls28-dev:s390x \
+ libxml2-dev:s390x && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ mkdir -p /usr/local/share/meson/cross && \
+ echo "[binaries]\n\
+c = '/usr/bin/s390x-linux-gnu-gcc'\n\
+ar = '/usr/bin/s390x-linux-gnu-gcc-ar'\n\
+strip = '/usr/bin/s390x-linux-gnu-strip'\n\
+pkgconfig = '/usr/bin/s390x-linux-gnu-pkg-config'\n\
+\n\
+[host_machine]\n\
+system = 'linux'\n\
+cpu_family = 's390x'\n\
+cpu = 's390x'\n\
+endian = 'big'" > /usr/local/share/meson/cross/s390x-linux-gnu
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "s390x-linux-gnu"
+ENV CONFIGURE_OPTS "--host=s390x-linux-gnu"
diff --git a/ci/containers/debian-sid.Dockerfile b/ci/containers/debian-sid.Dockerfile
new file mode 100644
index 000000000000..dbb2847492d9
--- /dev/null
+++ b/ci/containers/debian-sid.Dockerfile
@@ -0,0 +1,50 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile debian-sid libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/debian:sid-slim
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libc6-dev \
+ libfuse-dev \
+ libgnutls28-dev \
+ libtool-bin \
+ libxml2-dev \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/fedora-32.Dockerfile b/ci/containers/fedora-32.Dockerfile
new file mode 100644
index 000000000000..f1769e784f8b
--- /dev/null
+++ b/ci/containers/fedora-32.Dockerfile
@@ -0,0 +1,55 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile fedora-32 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.fedoraproject.org/fedora:32
+
+RUN dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-img \
+ sed && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/fedora-33.Dockerfile b/ci/containers/fedora-33.Dockerfile
new file mode 100644
index 000000000000..dbacd41ef99d
--- /dev/null
+++ b/ci/containers/fedora-33.Dockerfile
@@ -0,0 +1,55 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile fedora-33 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.fedoraproject.org/fedora:33
+
+RUN dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-img \
+ sed && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/fedora-rawhide-cross-mingw32.Dockerfile b/ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
new file mode 100644
index 000000000000..c8f952825843
--- /dev/null
+++ b/ci/containers/fedora-rawhide-cross-mingw32.Dockerfile
@@ -0,0 +1,60 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mingw32 fedora-rawhide libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.fedoraproject.org/fedora:rawhide
+
+RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
+ dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ coreutils \
+ diffutils \
+ git \
+ glibc-langpack-en \
+ golang \
+ libtool \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ python3-devel \
+ qemu-img \
+ sed && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/i686-w64-mingw32-$(basename /usr/bin/gcc)
+
+RUN nosync dnf install -y \
+ mingw32-gcc \
+ mingw32-gnutls \
+ mingw32-headers \
+ mingw32-libxml2 \
+ mingw32-pkg-config && \
+ nosync dnf clean all -y
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "i686-w64-mingw32"
+ENV CONFIGURE_OPTS "--host=i686-w64-mingw32"
diff --git a/ci/containers/fedora-rawhide-cross-mingw64.Dockerfile b/ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
new file mode 100644
index 000000000000..b31c72cb9a77
--- /dev/null
+++ b/ci/containers/fedora-rawhide-cross-mingw64.Dockerfile
@@ -0,0 +1,60 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile --cross mingw64 fedora-rawhide libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.fedoraproject.org/fedora:rawhide
+
+RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
+ dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ coreutils \
+ diffutils \
+ git \
+ glibc-langpack-en \
+ golang \
+ libtool \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ python3-devel \
+ qemu-img \
+ sed && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/x86_64-w64-mingw32-$(basename /usr/bin/gcc)
+
+RUN nosync dnf install -y \
+ mingw64-gcc \
+ mingw64-gnutls \
+ mingw64-headers \
+ mingw64-libxml2 \
+ mingw64-pkg-config && \
+ nosync dnf clean all -y
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
+
+ENV ABI "x86_64-w64-mingw32"
+ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32"
diff --git a/ci/containers/fedora-rawhide.Dockerfile b/ci/containers/fedora-rawhide.Dockerfile
new file mode 100644
index 000000000000..8d1f255fc319
--- /dev/null
+++ b/ci/containers/fedora-rawhide.Dockerfile
@@ -0,0 +1,56 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile fedora-rawhide libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.fedoraproject.org/fedora:rawhide
+
+RUN dnf update -y --nogpgcheck fedora-gpg-keys && \
+ dnf install -y nosync && \
+ echo -e '#!/bin/sh\n\
+if test -d /usr/lib64\n\
+then\n\
+ export LD_PRELOAD=/usr/lib64/nosync/nosync.so\n\
+else\n\
+ export LD_PRELOAD=/usr/lib/nosync/nosync.so\n\
+fi\n\
+exec "$@"' > /usr/bin/nosync && \
+ chmod +x /usr/bin/nosync && \
+ nosync dnf update -y && \
+ nosync dnf install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-langpack-en \
+ gnutls-devel \
+ golang \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-img \
+ sed && \
+ nosync dnf autoremove -y && \
+ nosync dnf clean all -y && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/opensuse-152.Dockerfile b/ci/containers/opensuse-152.Dockerfile
new file mode 100644
index 000000000000..e051a5c92f11
--- /dev/null
+++ b/ci/containers/opensuse-152.Dockerfile
@@ -0,0 +1,44 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile opensuse-152 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM registry.opensuse.org/opensuse/leap:15.2
+
+RUN zypper update -y && \
+ zypper install -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ fuse-devel \
+ gcc \
+ git \
+ glibc-devel \
+ glibc-locale \
+ go \
+ libgnutls-devel \
+ libtool \
+ libxml2-devel \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconfig \
+ python3-devel \
+ qemu-tools \
+ sed && \
+ zypper clean --all && \
+ rpm -qa | sort > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/refresh b/ci/containers/refresh
new file mode 100755
index 000000000000..327f642ed2ec
--- /dev/null
+++ b/ci/containers/refresh
@@ -0,0 +1,42 @@
+#!/bin/sh
+
+if test -z "$1"
+then
+ echo "syntax: $0 PATH-TO-LCITOOL"
+ exit 1
+fi
+
+LCITOOL=$1
+
+if ! test -x "$LCITOOL"
+then
+ echo "$LCITOOL is not executable"
+ exit 1
+fi
+
+HOSTS=$($LCITOOL hosts | grep -Ev 'freebsd|macos')
+
+for host in $HOSTS
+do
+ case "$host" in
+ fedora-rawhide)
+ for cross in mingw32 mingw64
+ do
+ $LCITOOL dockerfile $host libnbd --cross $cross > $host-cross-$cross.Dockerfile
+ done
+ ;;
+ debian-*)
+ for cross in aarch64 armv6l armv7l i686 mips mips64el mipsel ppc64le s390x
+ do
+ if test "$host-cross-$cross" = "debian-9-cross-i686" ||
+ test "$host-cross-$cross" = "debian-sid-cross-mips"
+ then
+ continue
+ fi
+ $LCITOOL dockerfile $host libnbd --cross $cross > $host-cross-$cross.Dockerfile
+ done
+ ;;
+ esac
+
+ $LCITOOL dockerfile $host libnbd > $host.Dockerfile
+done
diff --git a/ci/containers/ubuntu-1804.Dockerfile b/ci/containers/ubuntu-1804.Dockerfile
new file mode 100644
index 000000000000..3df4fbe6b5df
--- /dev/null
+++ b/ci/containers/ubuntu-1804.Dockerfile
@@ -0,0 +1,50 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile ubuntu-1804 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/ubuntu:18.04
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libc6-dev \
+ libfuse-dev \
+ libgnutls28-dev \
+ libtool-bin \
+ libxml2-dev \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
diff --git a/ci/containers/ubuntu-2004.Dockerfile b/ci/containers/ubuntu-2004.Dockerfile
new file mode 100644
index 000000000000..6361b945c5b6
--- /dev/null
+++ b/ci/containers/ubuntu-2004.Dockerfile
@@ -0,0 +1,50 @@
+# THIS FILE WAS AUTO-GENERATED
+#
+# $ lcitool dockerfile ubuntu-2004 libnbd
+#
+# https://gitlab.com/libvirt/libvirt-ci/-/commit/ea3fb1a9a5976a2c70b85e4621dc…
+
+FROM docker.io/library/ubuntu:20.04
+
+RUN export DEBIAN_FRONTEND=noninteractive && \
+ apt-get update && \
+ apt-get install -y eatmydata && \
+ eatmydata apt-get dist-upgrade -y && \
+ eatmydata apt-get install --no-install-recommends -y \
+ autoconf \
+ automake \
+ bash-completion \
+ ca-certificates \
+ ccache \
+ clang \
+ coreutils \
+ diffutils \
+ gcc \
+ git \
+ golang \
+ libc6-dev \
+ libfuse-dev \
+ libgnutls28-dev \
+ libtool-bin \
+ libxml2-dev \
+ locales \
+ make \
+ ocaml \
+ ocaml-findlib \
+ perl \
+ pkgconf \
+ python3-dev \
+ qemu-utils \
+ sed && \
+ eatmydata apt-get autoremove -y && \
+ eatmydata apt-get autoclean -y && \
+ sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
+ dpkg-reconfigure locales && \
+ dpkg-query --showformat '${Package}_${Version}_${Architecture}\n' --show > /packages.txt && \
+ mkdir -p /usr/libexec/ccache-wrappers && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \
+ ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc)
+
+ENV LANG "en_US.UTF-8"
+ENV MAKE "/usr/bin/make"
+ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
--
2.31.1
2
12
14 Apr '21
Qemu 6.0 commit 0da9856851 (nbd: server: Report holes for faw images)
intentionally changed how holes are reported, not only for raw images,
but for known-zero portions of qcow2 files. As the point of our
dirty-bitmap test is more about reading multiple contexts from a
single qemu-nbd process, it is okay to accept both behaviors for
base:allocation reporting on a block of zeros.
---
interop/dirty-bitmap.c | 40 +++++++++++++++++++++++++++++-----------
1 file changed, 29 insertions(+), 11 deletions(-)
diff --git a/interop/dirty-bitmap.c b/interop/dirty-bitmap.c
index 5f9fa12f..ed445712 100644
--- a/interop/dirty-bitmap.c
+++ b/interop/dirty-bitmap.c
@@ -1,5 +1,5 @@
/* NBD client library in userspace
- * Copyright (C) 2013-2019 Red Hat Inc.
+ * Copyright (C) 2013-2021 Red Hat Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -48,7 +48,10 @@ cb (void *opaque, const char *metacontext, uint64_t offset,
/* libnbd does not actually verify that a server is fully compliant
* to the spec; the asserts marked [qemu-nbd] are thus dependent on
- * the fact that qemu-nbd is compliant.
+ * the fact that qemu-nbd is compliant. Furthermore, qemu 5.2 and
+ * 6.0 disagree on whether base:allocation includes the hole bit for
+ * the zeroes at 512k (both answers are compliant); but we care more
+ * that the zeroes show up in the dirty bitmap
*/
assert (offset == 0);
assert (!*error || (data->fail && data->count == 1 && *error == EPROTO));
@@ -57,19 +60,34 @@ cb (void *opaque, const char *metacontext, uint64_t offset,
if (strcmp (metacontext, LIBNBD_CONTEXT_BASE_ALLOCATION) == 0) {
assert (!data->seen_base); /* [qemu-nbd] */
data->seen_base = true;
- assert (len == (data->req_one ? 2 : 8)); /* [qemu-nbd] */
+ if (data->req_one)
+ assert (len == 2); /* [qemu-nbd] */
+ else
+ assert ((len & 1) == 0 && len > 2); /* [qemu-nbd] */
/* Data block offset 0 size 128k */
assert (entries[0] == 131072); assert (entries[1] == 0);
if (!data->req_one) {
- /* hole|zero offset 128k size 384k */
- assert (entries[2] == 393216); assert (entries[3] == (LIBNBD_STATE_HOLE|
- LIBNBD_STATE_ZERO));
- /* allocated zero offset 512k size 64k */
- assert (entries[4] == 65536); assert (entries[5] == LIBNBD_STATE_ZERO);
- /* hole|zero offset 576k size 448k */
- assert (entries[6] == 458752); assert (entries[7] == (LIBNBD_STATE_HOLE|
- LIBNBD_STATE_ZERO));
+ if (len == 4) {
+ /* hole|zero offset 128k size 896k */
+ assert (entries[2] == 917504);
+ assert (entries[3] == (LIBNBD_STATE_HOLE|
+ LIBNBD_STATE_ZERO));
+ }
+ else {
+ assert (len == 8);
+ /* hole|zero offset 128k size 384k */
+ assert (entries[2] == 393216);
+ assert (entries[3] == (LIBNBD_STATE_HOLE|
+ LIBNBD_STATE_ZERO));
+ /* allocated zero offset 512k size 64k */
+ assert (entries[4] == 65536);
+ assert (entries[5] == LIBNBD_STATE_ZERO);
+ /* hole|zero offset 576k size 448k */
+ assert (entries[6] == 458752);
+ assert (entries[7] == (LIBNBD_STATE_HOLE|
+ LIBNBD_STATE_ZERO));
+ }
}
}
else if (strcmp (metacontext, bitmap) == 0) {
--
2.31.1
3
4
Greetings everyone! I am Abhay a 3rd-year student at the
National Institute of Technology, Hamirpur, Bharat(India).
I am interested in utilizing the recently introduced feature
io_uring of the Linux kernel to speed up libnbd async I/O.
I have been in contact with Richard regarding this and
thanks to his guidance I have some ideas and approaches.
The rough approaches I can think of are:
1. Replacing the poll mechanism(nbd_poll) with the io_uring one.
2. A socket wrapper using io_uring
The latter requires less work as far as I can see and is easily
reusable. Though I have only recently read about the socket
wrapper method so can't tell for sure. I will try making a
wrapper to check feasibility.
A general suggestion for io_uring is to not use it, directly:)
But use a convenient wrapper liburing instead.
The doubts I have regarding this are:
1.
Should I create a new API or replace the old aio API.
On one end I see no problem in doing so but I am
not familiar with uses
2.
For testing wouldn't libnbd limited by nbdkit if try
to test on my pc and would be only marginally better
unless nbdkit is ported too.
As the task is not too difficult once I get my head around
the code base, I might be able to port nbdkit too(incase of socket wrapper)
and write some tests in the 180-200hr period of GSoC.
Thanks!
--
Humble Regards,
Abhay
(rathod-sahaab)
3
7
On Mon, Apr 05, 2021 at 05:49:17PM +0300, Sam Eiderman wrote:
> Yes, attached below (it's quite long)
Thanks - just looking at the lines where the /dev/rhel/swap
device appears or its various synonyms:
> 2021-03-07 10:58:46 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60 Mar 7 10:58 rhel
[...]
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - /dev/mapper:
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - total 0
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - crw------- 1 0 0 10, 236 Mar
> 7 10:58 control
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7 Mar
> 7 10:58 rhel-root -> ../dm-2
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7 Mar
> 7 10:58 rhel-swap -> ../dm-1
This is fairly early on during appliance boot where the init script is
listing out /dev/ recursively
(https://github.com/libguestfs/libguestfs/blob/b18ac489db76a700f2168ae6eb64e…)
This is also after we did udevadm settle in the init script. It's
interesting that at this point /dev/mapper/rhel-swap exists correctly,
but /dev/rhel/ is an empty directory.
That's very much not expected ...
A bit later in the init script we list out PVs/VGs/LVs and everything
looks normal:
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - + lvm pvs
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - PV VG Fmt
> Attr PSize PFree
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - /dev/sda2 rhel lvm2
> a-- <15.00g 0
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - /dev/sdb vg_myvg lvm2
> a-- 496.00m 0
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - + lvm vgs
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - VG #PV #LV #SN Attr
> VSize VFree
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - rhel 1 2 0 wz--n-
> <15.00g 0
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - vg_myvg 1 1 0 wz--n-
> 496.00m 0
> 2021-03-07 10:58:47 T libguestfs - 0 - appliance - + lvm lvs
> 2021-03-07 10:58:48 T libguestfs - 0 - appliance - LV VG Attr
> LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
> 2021-03-07 10:58:48 T libguestfs - 0 - appliance - root rhel -wi-a-----
> 13.39g
> 2021-03-07 10:58:48 T libguestfs - 0 - appliance - swap rhel -wi-a-----
> 1.60g
> 2021-03-07 10:58:48 T libguestfs - 0 - appliance - lv_var vg_myvg -wi-a-----
> 496.00m
A little bit further on while we're executing the guestfs_inspect_os()
API call, we have this snippet:
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: lvm 'lvs' '-o'
> 'vg_name,lv_name' '-S' 'lv_role=public && lv_skip_activation!=yes'
> '--noheadings' '--separator' '/'
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: lvm returned 0
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: lvm: stdout:
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - rhel/root
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - rhel/swap
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - vg_myvg/lv_var
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid '-c' '/dev/
> null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/root'
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid returned 0
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid: stdout:
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - xfs
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid '-c' '/dev/
> null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/swap'
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid returned 2
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid '-c' '/dev/
> null' '-o' 'value' '-s' 'TYPE' '/dev/vg_myvg/lv_var'
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid returned 0
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - command: blkid: stdout:
> 2021-03-07 10:58:49 T libguestfs - 0 - appliance - xfs
If you look closely it's clear that /dev/rhel/root has been created,
/dev/vg_myvg/lv_var has been created (that was also an empty directory
earlier on), but /dev/rhel/swap has *not* been created--notice how the
blkid command exits with code 2.
And obviously by the time we get down here ...
> 2021-03-07 10:58:53 T libguestfs - 0 - appliance - rhel/root
> 2021-03-07 10:58:53 T libguestfs - 0 - appliance - rhel/swap
> 2021-03-07 10:58:53 T libguestfs - 0 - appliance - vg_myvg/lv_var
> 2021-03-07 10:58:53 T libguestfs - 0 - appliance - guestfsd: error: stat: /dev/
> rhel/swap: No such file or directory
... it still doesn't exist.
We ran a udevadm --debug settle command before this, so if it wasn't
going to be created because of a delayed udev event then I'd expect it
should have done.
I'm not much closer to understanding why the /dev/VG/LV nodes are
created so much later/delayed than the /dev/mapper/VG-LV nodes. As
far as I can tell they should be created by udev
(/usr/lib/udev/rules.d/11-dm-lvm.rules in Fedora).
Would suggest enabling udevadm debugging (uncomment #--debug in
appliance/init).
It would also be good to have some more concrete reproducer: you might
have appliance/init kill PID 1 if /dev/rhel/swap does not exist, then
repeatedly run g.launch() to see if you can make it fail, all the time
while trying to capture the log of the failure with udev debugging
turned on.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
2
15
Re: [Libguestfs] [libguestfs/libguestfs] can't build with golang-1.16 (#65)
by Richard W.M. Jones 09 Apr '21
by Richard W.M. Jones 09 Apr '21
09 Apr '21
On Thu, Apr 08, 2021 at 08:37:25AM -0700, Gianfranco Costamagna wrote:
> my build seems to go ok but fails due to an incomprensible failure
> https://launchpadlibrarian.net/532489876/
> buildlog_ubuntu-hirsute-ppc64el.libguestfs_1%3A1.44.1-1ubuntu1ppa2_BUILDING.txt.gz
> gcc: fatal error: Killed signal terminated program lto1
>
> maybe I have to disable -flto in the new gcc...
I couldn't follow that link, but if GCC is crashing in lto1 then it
would probably be caused by LTO, so disabling it is the only way to
proceed.
We have also disabled LTO in Fedora builds of libguestfs, because
there's a bug in handling mixed C/OCaml files, see:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org…
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
1
0
Slightly more evolved version of this patch series from yesterday:
https://listman.redhat.com/archives/libguestfs/2021-April/msg00015.html
In v2:
- I've split up the patch some more
- made it possible to reverse AF_INET/AF_INET6 from a call to
nbd_aio_connect (which takes a raw sockaddr)
- catch the Unix domain socket abstract namespace case (not supported)
- added more testing
Rich.
2
8
[PATCH libnbd 1/2] lib: New API nbd_get_uri to get an NBD URI for a connection.
by Richard W.M. Jones 07 Apr '21
by Richard W.M. Jones 07 Apr '21
07 Apr '21
This will make a best-effort attempt to construct an NBD URI for
connecting back to the current server. In many cases this is not
really possible (eg. if we were connected with nbd_connect_socket),
and it's not guaranteed to be correct.
---
generator/API.ml | 31 ++++++++++-
generator/C.ml | 8 +--
lib/uri.c | 129 +++++++++++++++++++++++++++++++++++++++++++
tests/connect-tcp.c | 20 +++++++
tests/connect-unix.c | 20 +++++++
tests/connect-uri.c | 17 ++++++
6 files changed, 218 insertions(+), 7 deletions(-)
diff --git a/generator/API.ml b/generator/API.ml
index dd66fdb..2f1baa8 100644
--- a/generator/API.ml
+++ b/generator/API.ml
@@ -1383,7 +1383,7 @@ compiled with gnutls; you can test whether this is the case
with L<nbd_supports_tls(3)>.";
see_also = [URLLink "https://github.com/NetworkBlockDevice/nbd/blob/master/doc/uri.md";
Link "set_export_name"; Link "set_tls";
- Link "set_opt_mode"];
+ Link "set_opt_mode"; Link "get_uri"];
};
"connect_unix", {
@@ -2875,7 +2875,30 @@ to support TLS encryption, or false if not.";
longdesc = "\
Returns true if libnbd was compiled with libxml2 which is required
to support NBD URIs, or false if not.";
- see_also = [Link "connect_uri"; Link "aio_connect_uri"];
+ see_also = [Link "connect_uri"; Link "aio_connect_uri";
+ Link "get_uri"];
+ };
+
+ "get_uri", {
+ default_call with
+ args = []; ret = RString;
+ permitted_states = [ Connecting; Negotiating; Connected; Closed; Dead ];
+ shortdesc = "construct an NBD URI for a connection";
+ longdesc = "\
+This makes a best effort attempt to construct an NBD URI which
+could be used to connect to this NBD server (eg. using
+L<nbd_connect_uri(3)>).
+
+The URI returned is not guaranteed to work, and in some cases
+(eg. if connected with L<nbd_connect_socket(3)>) it is not possible
+at all. Even if a URI is returned it may not be optimal.
+
+On error, L<nbd_get_errno(3)> will be set to C<ENOTSUP> if the
+library was compiled without support for URIs. In other error
+cases, L<nbd_get_errno(3)> and L<nbd_get_error(3)> should contain
+information about why constructing a URI was not possible.";
+ see_also = [Link "connect_uri"; Link "aio_connect_uri";
+ Link "supports_uri"];
};
]
@@ -3009,6 +3032,7 @@ let first_version = [
(* Added in 1.7.x development cycle, will be stable and supported in 1.8. *)
"set_private_data", (1, 8);
"get_private_data", (1, 8);
+ "get_uri", (1, 8);
(* These calls are proposed for a future version of libnbd, but
* have not been added to any released version so far.
@@ -3045,7 +3069,8 @@ let pod_of_link = function
let verify_link =
let pages = List.map fst handle_calls in
function
- | Link "create" | Link "close" -> ()
+ | Link "create" | Link "close"
+ | Link "get_error" | Link "get_errno" -> ()
| Link page ->
if not (List.mem page pages) then
failwithf "verify_link: page nbd_%s does not exist" page
diff --git a/generator/C.ml b/generator/C.ml
index fe8eafc..3e9975f 100644
--- a/generator/C.ml
+++ b/generator/C.ml
@@ -416,10 +416,10 @@ let generate_lib_unlocked_h () =
pr "\n";
pr "#endif /* LIBNBD_UNLOCKED_H */\n"
-let permitted_state_text permitted_states =
+let permitted_state_text ?(fold=false) permitted_states =
assert (permitted_states <> []);
- String.concat
- ", or "
+ let sep = if fold then ", or\n" else ", or " in
+ String.concat sep
(List.map (
function
| Created -> "newly created"
@@ -913,7 +913,7 @@ let generate_docs_nbd_pod name { args; optargs; ret;
pr "=head1 HANDLE STATE\n";
pr "\n";
pr "The handle must be\n";
- pr "%s,\n" (permitted_state_text permitted_states);
+ pr "%s,\n" (permitted_state_text ~fold:true permitted_states);
pr "otherwise this call will return an error.\n";
pr "\n"
);
diff --git a/lib/uri.c b/lib/uri.c
index 9f5a290..e75b04f 100644
--- a/lib/uri.c
+++ b/lib/uri.c
@@ -25,6 +25,13 @@
#include <string.h>
#include <errno.h>
#include <assert.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+
+#ifdef HAVE_LINUX_VM_SOCKETS_H
+#include <linux/vm_sockets.h>
+#endif
#include "internal.h"
#include "vector.h"
@@ -335,6 +342,121 @@ cleanup:
return ret;
}
+static int
+append_query_params (char **query_params, const char *key, const char *value)
+{
+ char *old_query_params = *query_params;
+
+ if (asprintf (query_params, "%s%s%s=%s",
+ old_query_params ? : "",
+ old_query_params ? "&" : "",
+ key, value) == -1)
+ return -1;
+ free (old_query_params);
+ return 0;
+}
+
+/* This is best effort. If we didn't save enough information when
+ * connecting then return NULL but try to set errno and the error
+ * string to something useful.
+ */
+char *
+nbd_unlocked_get_uri (struct nbd_handle *h)
+{
+ xmlURI uri = { 0 };
+ bool using_tls;
+ char *server = NULL;
+ char *query_params = NULL;
+ char *path = NULL;
+ char *ret = NULL;
+
+ if (h->tls == 2) /* TLS == require */
+ using_tls = true;
+ else if (h->tls_negotiated)
+ using_tls = true;
+ else
+ using_tls = false;
+
+ /* Set scheme, server or socket. */
+ if (h->hostname && h->port) {
+ uri.scheme = using_tls ? "nbds" : "nbd";
+ if (asprintf (&server, "%s:%s", h->hostname, h->port) == -1) {
+ set_error (errno, "asprintf");
+ goto out;
+ }
+ uri.server = server;
+ }
+ else if (h->connaddrlen > 0) {
+ switch (h->connaddr.ss_family) {
+ case AF_UNIX: {
+ struct sockaddr_un *sun = (struct sockaddr_un *) &h->connaddr;
+
+ uri.scheme = using_tls ? "nbds+unix" : "nbd+unix";
+ if (append_query_params (&query_params, "socket", sun->sun_path) == -1) {
+ set_error (errno, "asprintf");
+ goto out;
+ }
+ /* You have to set this otherwise xmlSaveUri generates bogus
+ * URIs "nbd+unix:/?socket=..."
+ */
+ uri.server = "";
+ break;
+ }
+#ifdef AF_VSOCK
+ case AF_VSOCK: {
+ struct sockaddr_vm *svm = (struct sockaddr_vm *) &h->connaddr;
+
+ uri.scheme = using_tls ? "nbds+vsock" : "nbd+vsock";
+ if (asprintf (&server, "%u:%u", svm->svm_cid, svm->svm_port) == -1) {
+ set_error (errno, "asprintf");
+ goto out;
+ }
+ uri.server = server;
+ break;
+ }
+#endif
+ default:
+ set_error (EAFNOSUPPORT,
+ "address family %d not supported", h->connaddr.ss_family);
+ goto out;
+ }
+ }
+ else {
+ set_error (EINVAL, "cannot construct a URI for this connection type");
+ goto out;
+ }
+
+ /* Set other fields. */
+ if (h->tls_username)
+ uri.user = h->tls_username;
+ if (h->export_name) {
+ if (asprintf (&path, "/%s", h->export_name) == -1) {
+ set_error (errno, "asprintf");
+ goto out;
+ }
+ uri.path = path;
+ }
+ if (h->tls_psk_file) {
+ if (append_query_params (&query_params,
+ "tls-psk-file", h->tls_psk_file) == -1) {
+ set_error (errno, "asprintf");
+ goto out;
+ }
+ }
+
+ uri.query_raw = query_params;
+
+ /* Construct the final URI and return it. */
+ ret = (char *) xmlSaveUri (&uri);
+ if (ret == NULL)
+ set_error (errno, "xmlSaveUri failed");
+ out:
+ free (server);
+ free (query_params);
+ free (path);
+ return ret;
+}
+
#else /* !HAVE_LIBXML2 */
#define NOT_SUPPORTED_ERROR \
@@ -354,4 +476,11 @@ nbd_unlocked_aio_connect_uri (struct nbd_handle *h, const char *raw_uri)
return -1;
}
+char *
+nbd_unlocked_get_uri (struct nbd_handle *h)
+{
+ set_error (ENOTSUP, NOT_SUPPORTED_ERROR);
+ return NULL;
+}
+
#endif /* !HAVE_LIBXML2 */
diff --git a/tests/connect-tcp.c b/tests/connect-tcp.c
index d7a36e4..e96b1ec 100644
--- a/tests/connect-tcp.c
+++ b/tests/connect-tcp.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
@@ -38,6 +39,7 @@ main (int argc, char *argv[])
char port_str[16];
pid_t pid;
size_t i;
+ char *actual_uri, *expected_uri;
unlink (PIDFILE);
@@ -79,6 +81,24 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
+ /* libnbd should be able to construct a URI for this connection. */
+ if (asprintf (&expected_uri, "nbd://localhost:%s/", port_str) == -1) {
+ perror ("asprintf");
+ exit (EXIT_FAILURE);
+ }
+ actual_uri = nbd_get_uri (nbd);
+ if (actual_uri == NULL) {
+ fprintf (stderr, "%s\n", nbd_get_error ());
+ exit (EXIT_FAILURE);
+ }
+ if (strcmp (actual_uri, expected_uri) != 0) {
+ fprintf (stderr, "%s: actual URI %s != expected URI %s\n",
+ argv[0], actual_uri, expected_uri);
+ exit (EXIT_FAILURE);
+ }
+ free (actual_uri);
+ free (expected_uri);
+
if (nbd_shutdown (nbd, 0) == -1) {
fprintf (stderr, "%s\n", nbd_get_error ());
exit (EXIT_FAILURE);
diff --git a/tests/connect-unix.c b/tests/connect-unix.c
index 8c18166..0000b98 100644
--- a/tests/connect-unix.c
+++ b/tests/connect-unix.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <unistd.h>
@@ -36,6 +37,7 @@ main (int argc, char *argv[])
struct nbd_handle *nbd;
pid_t pid;
size_t i;
+ char *actual_uri, *expected_uri;
if (mkstemp (socket) == -1) {
perror (socket);
@@ -77,6 +79,24 @@ main (int argc, char *argv[])
exit (EXIT_FAILURE);
}
+ /* libnbd should be able to construct a URI for this connection. */
+ if (asprintf (&expected_uri, "nbd+unix:///?socket=%s", socket) == -1) {
+ perror ("asprintf");
+ exit (EXIT_FAILURE);
+ }
+ actual_uri = nbd_get_uri (nbd);
+ if (actual_uri == NULL) {
+ fprintf (stderr, "%s\n", nbd_get_error ());
+ exit (EXIT_FAILURE);
+ }
+ if (strcmp (actual_uri, expected_uri) != 0) {
+ fprintf (stderr, "%s: actual URI %s != expected URI %s\n",
+ argv[0], actual_uri, expected_uri);
+ exit (EXIT_FAILURE);
+ }
+ free (actual_uri);
+ free (expected_uri);
+
if (nbd_shutdown (nbd, 0) == -1) {
fprintf (stderr, "%s\n", nbd_get_error ());
exit (EXIT_FAILURE);
diff --git a/tests/connect-uri.c b/tests/connect-uri.c
index 6e7d168..9093247 100644
--- a/tests/connect-uri.c
+++ b/tests/connect-uri.c
@@ -35,6 +35,7 @@ main (int argc, char *argv[])
struct nbd_handle *nbd;
pid_t pid;
size_t i;
+ char *get_uri;
#ifdef SOCKET
unlink (SOCKET);
@@ -89,6 +90,22 @@ main (int argc, char *argv[])
}
}
+ /* Usually the URI returned by nbd_get_uri should be the same as the
+ * one passed to nbd_connect_uri, or at least it will be in our test
+ * cases.
+ */
+ get_uri = nbd_get_uri (nbd);
+ if (get_uri == NULL) {
+ fprintf (stderr, "%s\n", nbd_get_error ());
+ exit (EXIT_FAILURE);
+ }
+ if (strcmp (URI, get_uri) != 0) {
+ fprintf (stderr, "%s: connect URI %s != get URI %s\n",
+ argv[0], URI, get_uri);
+ exit (EXIT_FAILURE);
+ }
+ free (get_uri);
+
if (nbd_shutdown (nbd, 0) == -1) {
fprintf (stderr, "%s\n", nbd_get_error ());
exit (EXIT_FAILURE);
--
2.29.0.rc2
1
1
Hi,
We are experiencing very rare LVM failures - 2 failures so far, in
different OSs, in different libguestfs functions.
The first failure is inspect_os() not finding the root operating
system on rhel7.4.
LVM volumes are returned by lvm command but files under /dev do not exist (yet?)
Second failure is in is_lv() - is_lv() successfully enumerates all lvm
volumes but then internal stat() command fails again on /dev file
since it does not exist (yet?) (rhel8.0)
All of our tests run in parallel, 1 guestfs instance per core on a 32
core machine and they run on GCP (nested virtualization).
What we think that is happening here is that libguestfs' appliance is
booting very somewhat slower than usual and that the links to some
devices do not appear yet (even after multiple seconds).
We found this old issue that might be connected to this behavior (in
some way): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616689
Environment:
-----------------------
Our libguestfs is built in a debian 10 docker from source version "tags/v1.42.0"
-----------------------
Short first failure logs (inspect_os() only))
2021-02-14 16:17:29 T libguestfs - 0 - enter - inspect_os
2021-02-14 16:17:29 T libguestfs - 0 - appliance - guestfsd: <=
inspect_os (0x1e0) request length 40 bytes
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls '-1v'
'/dev/disk/by-path'
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls returned 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls: stdout:
2021-02-14 16:17:29 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:0:0
2021-02-14 16:17:29 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part1
2021-02-14 16:17:29 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part2
2021-02-14 16:17:29 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:1:0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sda
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sdb
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls '-1v'
'/dev/disk/by-path'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:0:0
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part1
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part2
2021-02-14 16:17:30 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:1:0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sda
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sdb
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk '--help'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Usage:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sfdisk [options]
<dev> [[-N] <part>]
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sfdisk [options] <command>
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Display or
manipulate a disk partition table.
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Commands:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -A, --activate
<dev> [<part> ...] list or set bootable (P)MBR partitions
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -d, --dump <dev>
dump partition table (usable for later input)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -J, --json <dev>
dump partition table in JSON format
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -g,
--show-geometry [<dev> ...] list geometry of all or specified
devices
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -l, --list [<dev>
...] list partitions of each device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -F, --list-free
[<dev> ...] list unpartitioned free areas of each device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -r, --reorder
<dev> fix partitions order (by start offset)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -s, --show-size
[<dev> ...] list sizes of all or specified devices
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -T, --list-types
print the recognized types (see -X)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -V, --verify
[<dev> ...] test whether partitions seem correct
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --delete <dev>
[<part> ...] delete all or specified partitions
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-label <dev>
<part> [<str>] print or change partition label
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-type <dev>
<part> [<type>] print or change partition type
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-uuid <dev>
<part> [<uuid>] print or change partition uuid
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-attrs <dev>
<part> [<str>] print or change partition attributes
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <dev>
device (usually disk) path
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <part>
partition number
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <type>
partition type, GUID for GPT, hex for MBR
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Options:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -a, --append
append partitions to existing partition table
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -b, --backup
backup partition table sectors (see -O)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --bytes
print SIZE in bytes rather than in human readable format
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
--move-data[=<typescript>] move partition data after relocation
(requires -N)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -f, --force
disable all consistency checking
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
--color[=<when>] colorize output (auto, always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
colors are enabled by default
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -N, --partno <num>
specify partition number
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -n, --no-act
do everything except write to device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --no-reread
do not check whether the device is in use
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
--no-tell-kernel do not tell kernel about changes
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -O, --backup-file
<path> override default backup file name
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -o, --output
<list> output columns
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -q, --quiet
suppress extra info messages
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -w, --wipe <mode>
wipe signatures (auto, always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -W,
--wipe-partitions <mode> wipe signatures from new partitions (auto,
always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -X, --label <name>
specify label type (dos, gpt, ...)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -Y, --label-nested
<name> specify nested label type (dos, bsd)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -G,
--show-pt-geometry deprecated, alias to --show-geometry
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -L, --Linux
deprecated, only for backward compatibility
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -u, --unit S
deprecated, only sector unit is supported
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -h, --help
display this help
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -v, --version
display version
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Available output columns:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - gpt: Device Start
End Sectors Size Type Type-UUID Attrs Name UUID
2021-02-14 16:17:30 T libguestfs - 0 - appliance - dos: Device Start
End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Start-C/H/S
2021-02-14 16:17:30 T libguestfs - 0 - appliance - bsd: Slice Start
End Sectors Cylinders Size Type Bsize Cpg Fsize
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sgi: Device Start
End Sectors Cylinders Size Type Id Attrs
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sun: Device Start
End Sectors Cylinders Size Type Id Flags
2021-02-14 16:17:30 T libguestfs - 0 - appliance - For more details
see sfdisk(8).
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk
'--part-type' '/dev/sda' '1'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - 83
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command:
fold-stdout-on-stderr sgdisk '/dev/sda' '-i' '1'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sgdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sgdisk: stderr:
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Found invalid GPT
and valid MBR; converting MBR to GPT format
2021-02-14 16:17:30 T libguestfs - 0 - appliance - in memory.
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Warning! Secondary
partition table overlaps the last partition by
2021-02-14 16:17:30 T libguestfs - 0 - appliance - 33 blocks!
2021-02-14 16:17:31 T libguestfs - 0 - appliance - You will need to
delete this partition or resize it in another utility.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition GUID
code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition unique
GUID: 9E4C4F03-BC30-4D49-BF79-AAD0509A3EB7
2021-02-14 16:17:31 T libguestfs - 0 - appliance - First sector: 2048
(at 1024.0 KiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Last sector:
2099199 (at 1025.0 MiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition size:
2097152 sectors (1024.0 MiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Attribute flags:
0000000000000000
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition name:
'Linux filesystem'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk
'--part-type' '/dev/sda' '2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - 8e
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command:
fold-stdout-on-stderr sgdisk '/dev/sda' '-i' '2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sgdisk returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sgdisk: stderr:
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Found invalid GPT
and valid MBR; converting MBR to GPT format
2021-02-14 16:17:31 T libguestfs - 0 - appliance - in memory.
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Warning! Secondary
partition table overlaps the last partition by
2021-02-14 16:17:31 T libguestfs - 0 - appliance - 33 blocks!
2021-02-14 16:17:31 T libguestfs - 0 - appliance - You will need to
delete this partition or resize it in another utility.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition GUID
code: E6D6D379-F507-44C2-A23C-238F2A3DF928 (Linux LVM)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition unique
GUID: 773262AE-7176-49FC-81DF-CE5D0F5E0795
2021-02-14 16:17:31 T libguestfs - 0 - appliance - First sector:
2099200 (at 1.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Last sector:
33554431 (at 16.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition size:
31455232 sectors (15.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Attribute flags:
0000000000000000
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition name: 'Linux LVM'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda1'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - xfs
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - LVM2_member
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm 'lvs' '--help'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - lvs - Display
information about logical volumes
2021-02-14 16:17:31 T libguestfs - 0 - appliance - lvs
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -H|--history ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -a|--all ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -o|--options String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -S|--select String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -O|--sort String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --segments ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --aligned ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --binary ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --configreport
log|vg|lv|pv|pvseg|seg ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --foreign ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --ignorelockingfailure ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --logonly ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nameprefixes ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --noheadings ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nosuffix ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --readonly ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --reportformat
basic|json ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --rows ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --separator String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --shared ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --trustcache ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --unbuffered ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --units
r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --unquoted ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ COMMON_OPTIONS ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ VG|LV|Tag ... ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Common options for lvm:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -d|--debug ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -h|--help ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -q|--quiet ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -v|--verbose ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -y|--yes ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -t|--test ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [
--commandprofile String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --config String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --driverloaded y|n ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nolocking ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --lockopt String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --longhelp ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --profile String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --version ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Use --longhelp to
show all options and advanced commands.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm 'lvs'
'-o' 'vg_name,lv_name' '-S' 'lv_role=public &&
lv_skip_activation!=yes' '--noheadings' '--separator' '/'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - rhel/root
2021-02-14 16:17:31 T libguestfs - 0 - appliance - rhel/swap
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/root'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 2
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/swap'
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:32 T libguestfs - 0 - appliance - swap
2021-02-14 16:17:32 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/sda1 (xfs)
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: mount '-o'
'ro' '/dev/sda1' '/sysroot//'
2021-02-14 16:17:32 T libguestfs - 0 - appliance - [ 10.053598] SGI
XFS with ACLs, security attributes, realtime, no debug enabled
2021-02-14 16:17:32 T libguestfs - 0 - appliance - [ 10.072495] XFS
(sda1): Mounting V5 Filesystem
2021-02-14 16:17:33 T libguestfs - 0 - appliance - [ 10.985200] XFS
(sda1): Ending clean mount
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount returned 0
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub/menu.lst'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub/grub.conf'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub2/grub.cfg'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - check_filesystem:
/dev/sda1 matched Grub /boot
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: umount '/sysroot'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - [ 11.043750] XFS
(sda1): Unmounting Filesystem
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: umount returned 0
2021-02-14 16:17:33 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/rhel/root (unknown)
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount '-o'
'ro' '/dev/rhel/root' '/sysroot//'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount returned 32
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount: stderr:
2021-02-14 16:17:33 T libguestfs - 0 - appliance - mount: /sysroot:
special device /dev/rhel/root does not exist.
2021-02-14 16:17:33 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/rhel/swap (swap)
2021-02-14 16:17:33 T libguestfs - 0 - appliance - inspect_os: fses:
2021-02-14 16:17:33 T libguestfs - 0 - appliance - fs: /dev/sda1 (xfs)
role: other
2021-02-14 16:17:33 T libguestfs - 0 - appliance - fs: /dev/rhel/swap
(swap) role: swap
2021-02-14 16:17:33 T libguestfs - 0 - appliance - inspect_get_roots: roots:
-----------------------
Short second failure logs (is_lv() only) - notice that is_lv() is
invoked on /dev/vg_myvg/lv_var but it fails due to a problem in
/dev/rhel/swap not existing)
2021-03-07 10:58:53 T libguestfs - 0 - enter - is_lv
2021-03-07 10:58:53 T libguestfs - 0 - appliance - guestfsd: =>
aug_get (0x13) took 0.00 secs
2021-03-07 10:58:53 T libguestfs - 0 - appliance - guestfsd: <= is_lv
(0x108) request length 64 bytes
2021-03-07 10:58:53 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-03-07 10:58:53 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/vg_myvg/lv_var
2021-03-07 10:58:53 T libguestfs - 0 - appliance - command: lvm 'lvs'
'-o' 'vg_name,lv_name' '-S' 'lv_role=public &&
lv_skip_activation!=yes' '--noheadings' '--separator' '/'
2021-03-07 10:58:53 T libguestfs - 0 - appliance - command: lvm returned 0
2021-03-07 10:58:53 T libguestfs - 0 - appliance - command: lvm: stdout:
2021-03-07 10:58:53 T libguestfs - 0 - appliance - rhel/root
2021-03-07 10:58:53 T libguestfs - 0 - appliance - rhel/swap
2021-03-07 10:58:53 T libguestfs - 0 - appliance - vg_myvg/lv_var
2021-03-07 10:58:53 T libguestfs - 0 - appliance - guestfsd: error:
stat: /dev/rhel/swap: No such file or directory
-----------------------
Full first failure logs:
2021-02-14 16:17:12 T libguestfs - 0 - enter - set_memsize
2021-02-14 16:17:12 T libguestfs - 0 - enter - config
2021-02-14 16:17:12 T libguestfs - 0 - enter - config
2021-02-14 16:17:12 T libguestfs - 0 - enter - add_drive
2021-02-14 16:17:12 T libguestfs - 0 - enter - launch
2021-02-14 16:17:12 T libguestfs - 0 - enter - max_disks
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_tmpdir
2021-02-14 16:17:12 T libguestfs - 0 - enter - version
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_backend
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: program=v2v
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: version=1.42.0
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: backend
registered: unix
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: backend registered: uml
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: backend
registered: libvirt
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: backend
registered: direct
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: backend=direct
2021-02-14 16:17:12 T libguestfs - 0 - library - launch:
tmpdir=/tmp/libguestfsDDZqc1
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: umask=0022
2021-02-14 16:17:12 T libguestfs - 0 - library - launch: euid=0
2021-02-14 16:17:12 T libguestfs - 0 - library - begin testing qemu features
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_cachedir
2021-02-14 16:17:12 T libguestfs - 0 - library - checking for
previously cached test results of /usr/bin/kvm, in /var/tmp/.guestfs-0
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: /usr/bin/kvm
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \ -display none
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \ -help
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: /usr/bin/kvm
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \ -display none
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \
-machine accel=kvm:tcg
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \ -device ?
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: echo '{
"execute": "qmp_capabilities" }' '{ "execute": "query-qmp-schema" }'
'{ "execute": "quit" }' | QEMU_AUDIO_DRV=none "/usr/bin/kvm" -display
none -machine "accel=kvm:tcg" -qmp stdio
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: echo '{
"execute": "qmp_capabilities" }' '{ "execute": "query-kvm" }' '{
"execute": "quit" }' | QEMU_AUDIO_DRV=none "/usr/bin/kvm" -display
none -machine "accel=kvm:tcg" -qmp stdio
2021-02-14 16:17:12 T libguestfs - 0 - library - saving test results
2021-02-14 16:17:12 T libguestfs - 0 - library - qemu version: 3.1
2021-02-14 16:17:12 T libguestfs - 0 - library - qemu mandatory locking: yes
2021-02-14 16:17:12 T libguestfs - 0 - library - qemu KVM: enabled
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_backend_setting
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_sockdir
2021-02-14 16:17:12 T libguestfs - 0 - library - finished testing qemu features
2021-02-14 16:17:12 T libguestfs - 0 - enter - get_backend_setting
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: file
2021-02-14 16:17:12 T libguestfs - 0 - library - command: run: \ --
/appliance/root
2021-02-14 16:17:12 T libguestfs - 0 - appliance - /usr/bin/kvm \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -global
virtio-blk-pci.scsi=off \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -no-user-config \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -enable-fips \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -nodefaults \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -display none \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -machine accel=kvm:tcg \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -cpu host \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -m 2048 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -no-reboot \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -rtc driftfix=slew \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -no-hpet \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -global
kvm-pit.lost_tick_policy=discard \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -kernel /appliance/kernel \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -initrd /appliance/initrd \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -object
rng-random,filename=/dev/urandom,id=rng0 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device
virtio-rng-pci,rng=rng0 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device
virtio-scsi-pci,id=scsi \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -drive
file=/tmp/grh-0r3s4604.qcow2,cache=writeback,format=qcow2,id=hd0,if=none
\
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device scsi-hd,drive=hd0 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -drive
file=/appliance/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw
\
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device
scsi-hd,drive=appliance \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device virtio-serial-pci \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -serial stdio \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device sga \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -chardev
socket,path=/tmp/libguestfsg6ppUQ/guestfsd.sock,id=channel0 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device
virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -append "panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate" \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -device
virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=packages \
2021-02-14 16:17:12 T libguestfs - 0 - appliance - -fsdev
local,security_model=none,id=fsdev0,path=/packages,readonly
2021-02-14 16:17:20 T libguestfs - 0 - appliance - ^[[1;256r^[[256;256H^[[6n
2021-02-14 16:17:20 T libguestfs - 0 - appliance - Google, Inc.
2021-02-14 16:17:20 T libguestfs - 0 - appliance - Serial Graphics
Adapter 03/05/17
2021-02-14 16:17:20 T libguestfs - 0 - appliance - SGABIOS $Id:
sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (generic@generic) Sun, 05
Mar 2017 16:09:17 +0100
2021-02-14 16:17:20 T libguestfs - 0 - appliance - Term: 80x24
2021-02-14 16:17:20 T libguestfs - 0 - appliance - 4 0
2021-02-14 16:17:20 T libguestfs - 0 - appliance - ^[[2J
2021-02-14 16:17:20 T libguestfs - 0 - appliance - SeaBIOS (version 1.12.0-1)
2021-02-14 16:17:20 T libguestfs - 0 - appliance - Booting from ROM...
2021-02-14 16:17:21 T libguestfs - 0 - appliance - ^[[2J[ 0.000000]
Linux version 4.19.0-14-amd64 (debian-kernel(a)lists.debian.org) (gcc
version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.171-2 (2021-01-30)
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000] Command
line: panic=1 console=ttyS0 edd=off udevtimeout=6000
udev.event-timeout=6000 no_timer_check printk.time=1
cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable
8250.nr_uarts=1 root=UUID=21213664-7faf-4b76-9e58-fadf375543d9
selinux=0 guestfs_verbose=1 TERM=linux vsyscall=emulate
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point
registers'
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using
'standard' format.
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-provided physical RAM map:
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
2021-02-14 16:17:21 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x0000000000100000-0x000000007ffddfff] usable
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x000000007ffde000-0x000000007fffffff] reserved
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000] NX
(Execute Disable) protection: active
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000] SMBIOS
2.8 present.
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000] DMI:
QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
Hypervisor detected: KVM
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000000]
kvm-clock: Using msrs 4b564d01 and 4b564d00
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000001]
kvm-clock: cpu 0, msr 4dfec001, primary cpu clock
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000001]
kvm-clock: using sched offset of 8673165740 cycles
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000005]
clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles:
0x1cd42e4dffb, max_idle_ns: 881590591483 ns
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.000009] tsc:
Detected 2199.998 MHz processor
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.010335]
last_pfn = 0x7ffde max_arch_pfn = 0x400000000
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.011490]
x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.021392] found
SMP MP-table at [mem 0x000f5a80-0x000f5a8f]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.026028]
RAMDISK: [mem 0x7fb0a000-0x7ffcffff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.028814] ACPI:
Early table checksum verification disabled
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032011] ACPI:
RSDP 0x00000000000F58B0 000014 (v00 BOCHS )
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032018] ACPI:
RSDT 0x000000007FFE1510 00002C (v01 BOCHS BXPCRSDT 00000001 BXPC
00000001)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032026] ACPI:
FACP 0x000000007FFE1424 000074 (v01 BOCHS BXPCFACP 00000001 BXPC
00000001)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032033] ACPI:
DSDT 0x000000007FFE0040 0013E4 (v01 BOCHS BXPCDSDT 00000001 BXPC
00000001)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032038] ACPI:
FACS 0x000000007FFE0000 000040
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.032042] ACPI:
APIC 0x000000007FFE1498 000078 (v01 BOCHS BXPCAPIC 00000001 BXPC
00000001)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.036866] No NUMA
configuration found
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.037139] Faking
a node at [mem 0x0000000000000000-0x000000007ffddfff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.037192]
NODE_DATA(0) allocated [mem 0x7ffd9000-0x7ffddfff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041501] Zone ranges:
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041521] DMA
[mem 0x0000000000001000-0x0000000000ffffff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041524] DMA32
[mem 0x0000000001000000-0x000000007ffddfff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041525] Normal empty
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041527] Device empty
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041528] Movable
zone start for each node
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041529] Early
memory node ranges
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041531] node 0:
[mem 0x0000000000001000-0x000000000009efff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.041533] node 0:
[mem 0x0000000000100000-0x000000007ffddfff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.047295] Zeroed
struct page in unavailable ranges: 132 pages
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.047431] Initmem
setup node 0 [mem 0x0000000000001000-0x000000007ffddfff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.109902] ACPI:
PM-Timer IO Port: 0x608
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.109977] ACPI:
LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111108]
IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111114] ACPI:
INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111116] ACPI:
INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111118] ACPI:
INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111120] ACPI:
INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111122] ACPI:
INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111130] Using
ACPI (MADT) for SMP configuration information
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111133] TSC
deadline timer available
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111221]
smpboot: Allowing 1 CPUs, 0 hotplug CPUs
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111468] PM:
Registered nosave memory: [mem 0x00000000-0x00000fff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111471] PM:
Registered nosave memory: [mem 0x0009f000-0x0009ffff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111472] PM:
Registered nosave memory: [mem 0x000a0000-0x000effff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111474] PM:
Registered nosave memory: [mem 0x000f0000-0x000fffff]
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111477] [mem
0x80000000-0xfeffbfff] available for PCI devices
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111478] Booting
paravirtualized kernel on KVM
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.111483]
clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645519600211568 ns
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.249320] random:
get_random_bytes called from start_kernel+0x93/0x52a with crng_init=0
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.249341]
setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1
nr_node_ids:1
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251566] percpu:
Embedded 45 pages/cpu s144536 r8192 d31592 u2097152
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251788] KVM
setup async PF for cpu 0
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251884]
kvm-stealtime: cpu 0, msr 7d6161c0
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251965] Built 1
zonelists, mobility grouping on. Total pages: 515943
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251967] Policy
zone: DMA32
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.251971] Kernel
command line: panic=1 console=ttyS0 edd=off udevtimeout=6000
udev.event-timeout=6000 no_timer_check printk.time=1
cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable
8250.nr_uarts=1 root=UUID=21213664-7faf-4b76-9e58-fadf375543d9
selinux=0 guestfs_verbose=1 TERM=linux vsyscall=emulate
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.261927] Memory:
2033004K/2096624K available (10252K kernel code, 1242K rwdata, 3324K
rodata, 1600K init, 2260K bss, 63620K reserved, 0K cma-reserved)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.263924] SLUB:
HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.263933]
Kernel/User page tables isolation: enabled
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.264073] ftrace:
allocating 31973 entries in 125 pages
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.283810] rcu:
Hierarchical RCU implementation.
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.283819] rcu:
RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=1.
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.283824] rcu:
Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.287957]
NR_IRQS: 33024, nr_irqs: 256, preallocated irqs: 16
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 0.289573]
Console: colour *CGA 80x25
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.157039] console
[ttyS0] enabled
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.162533] ACPI:
Core revision 20180810
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.169428] APIC:
Switch to symmetric I/O mode setup
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.181571] x2apic enabled
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.189965]
Switched APIC routing to physical x2apic.
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.197687] KVM setup pv IPIs
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.220322]
..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.230181]
clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles:
0x1fb63109b96, max_idle_ns: 440795265316 ns
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.245684]
Calibrating delay loop (skipped) preset value.. 4399.99 BogoMIPS
(lpj=8799992)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.249658]
pid_max: default: 32768 minimum: 301
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.253711]
Security Framework initialized
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.257658] Yama:
disabled by default; enable with sysctl kernel.yama.*
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.261692]
AppArmor: AppArmor initialized
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.270007] Dentry
cache hash table entries: 262144 (order: 9, 2097152 bytes)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.275754]
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.277684]
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.281668]
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.287135]
Disabling memory control group subsystem
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.295137]
x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP)
CPU feature
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.299358] Last
level iTLB entries: 4KB 0, 2MB 0, 4MB 0
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.301656] Last
level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.305689] Spectre
V1 : Mitigation: usercopy/swapgs barriers and __user pointer
sanitization
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.309656] Spectre
V2 : Mitigation: Full generic retpoline
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.313654] Spectre
V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.317654] Spectre
V2 : Enabling Restricted Speculation for firmware calls
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.321672] Spectre
V2 : mitigation: Enabling conditional Indirect Branch Prediction
Barrier
2021-02-14 16:17:22 T libguestfs - 0 - appliance - [ 1.325660]
Speculative Store Bypass: Mitigation: Speculative Store Bypass
disabled via prctl and seccomp
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.329713] TAA:
Mitigation: Clear CPU buffers
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.333655] MDS:
Mitigation: Clear CPU buffers
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.353128] Freeing
SMP alternatives memory: 24K
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.359160]
smpboot: CPU0: Intel(R) Xeon(R) CPU @ 2.20GHz (family: 0x6, model:
0x4f, stepping: 0x0)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.361898]
Performance Events: unsupported p6 CPU model 79 no PMU driver,
software events only.
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.366095] rcu:
Hierarchical SRCU implementation.
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.370498] random:
crng done (trusting CPU's manufacturer)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.373743] NMI
watchdog: Perf NMI watchdog permanently disabled
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.377743] smp:
Bringing up secondary CPUs ...
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.381725] smp:
Brought up 1 node, 1 CPU
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.385690]
smpboot: Max logical packages: 1
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.389687]
smpboot: Total of 1 processors activated (4399.99 BogoMIPS)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.395367]
devtmpfs: initialized
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.397779] x86/mm:
Memory block size: 128MB
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.402522]
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 7645041785100000 ns
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.405731] futex
hash table entries: 256 (order: 2, 16384 bytes)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.410022] pinctrl
core: initialized pinctrl subsystem
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.413908] NET:
Registered protocol family 16
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.417851] audit:
initializing netlink subsys (disabled)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.421887]
cpuidle: using governor ladder
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.425698] audit:
type=2000 audit(1613319442.044:1): state=initialized audit_enabled=0
res=1
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.429698]
cpuidle: using governor menu
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.433905] KVM
setup pv remote TLB flush
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.437690] ACPI:
bus type PCI registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.441691]
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.446608] PCI:
Using configuration type 1 for base access
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.451201] HugeTLB
registered 2.00 MiB page size, pre-allocated 0 pages
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.454028] ACPI:
Added _OSI(Module Device)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.457733] ACPI:
Added _OSI(Processor Device)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.461692] ACPI:
Added _OSI(3.0 _SCP Extensions)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.465689] ACPI:
Added _OSI(Processor Aggregator Device)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.469952] ACPI:
Added _OSI(Linux-Dell-Video)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.473722] ACPI:
Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.478847] ACPI: 1
ACPI AML tables successfully acquired and loaded
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.485290] ACPI:
Interpreter enabled
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.485756] ACPI:
(supports S0 S3 S4 S5)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.489688] ACPI:
Using IOAPIC for interrupt routing
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.493725] PCI:
Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and
report a bug
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.498141] ACPI:
Enabled 2 GPEs in block 00 to 0F
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.507865] ACPI:
PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.509978] acpi
PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.513706] acpi
PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.517709] acpi
PNP0A03:00: fail to add MMCONFIG information, can't access extended
PCI configuration space under this bridge.
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.523378]
acpiphp: Slot [2] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.526058]
acpiphp: Slot [3] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.530046]
acpiphp: Slot [4] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.534046]
acpiphp: Slot [5] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.538040]
acpiphp: Slot [6] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.542041]
acpiphp: Slot [7] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.546057]
acpiphp: Slot [8] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.550035]
acpiphp: Slot [9] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.554096]
acpiphp: Slot [10] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.558040]
acpiphp: Slot [11] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.562042]
acpiphp: Slot [12] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.566238]
acpiphp: Slot [13] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.570049]
acpiphp: Slot [14] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.574307]
acpiphp: Slot [15] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.578041]
acpiphp: Slot [16] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.582312]
acpiphp: Slot [17] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.586037]
acpiphp: Slot [18] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.590302]
acpiphp: Slot [19] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.594061]
acpiphp: Slot [20] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.598242]
acpiphp: Slot [21] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.602045]
acpiphp: Slot [22] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.606302]
acpiphp: Slot [23] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.610051]
acpiphp: Slot [24] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.614285]
acpiphp: Slot [25] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.618040]
acpiphp: Slot [26] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.622241]
acpiphp: Slot [27] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.626056]
acpiphp: Slot [28] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.630402]
acpiphp: Slot [29] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.634039]
acpiphp: Slot [30] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.638291]
acpiphp: Slot [31] registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.641813] PCI
host bridge to bus 0000:00
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.645690] pci_bus
0000:00: root bus resource [io 0x0000-0x0cf7 window]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.649937] pci_bus
0000:00: root bus resource [io 0x0d00-0xffff window]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.653690] pci_bus
0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.657695] pci_bus
0000:00: root bus resource [mem 0x80000000-0xfebfffff window]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.661695] pci_bus
0000:00: root bus resource [mem 0x100000000-0x17fffffff window]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.665695] pci_bus
0000:00: root bus resource [bus 00-ff]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.695751] pci
0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.697694] pci
0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.701692] pci
0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.705694] pci
0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.718040] pci
0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.721804] pci
0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.833978] ACPI:
PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.838282] ACPI:
PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.842265] ACPI:
PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.846540] ACPI:
PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.849975] ACPI:
PCI Interrupt Link [LNKS] (IRQs *9)
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.854186] vgaarb: loaded
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.857795]
pps_core: LinuxPPS API ver. 1 registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.861690]
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti
<giometti(a)linux.it>
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.865710] PTP
clock support registered
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.869975] EDAC
MC: Ver: 3.0.0
2021-02-14 16:17:23 T libguestfs - 0 - appliance - [ 1.875493] PCI:
Using ACPI for IRQ routing
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.880534]
clocksource: Switched to clocksource kvm-clock
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.907374] VFS:
Disk quotas dquot_6.6.0
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.913829] VFS:
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.924417]
AppArmor: AppArmor Filesystem Enabled
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.932239] pnp:
PnP ACPI init
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.938894] pnp:
PnP ACPI: found 5 devices
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.952892]
clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff,
max_idle_ns: 2085701024 ns
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.966484] NET:
Registered protocol family 2
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.973828]
tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384
bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.985830] TCP
established hash table entries: 16384 (order: 5, 131072 bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 1.997177] TCP
bind hash table entries: 16384 (order: 6, 262144 bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.006319] TCP:
Hash tables configured (established 16384 bind 16384)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.016121] UDP
hash table entries: 1024 (order: 3, 32768 bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.025384]
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.033487] NET:
Registered protocol family 1
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.039081] NET:
Registered protocol family 44
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.044961] pci
0000:00:01.0: PIIX3: Enabling Passive Release
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.052733] pci
0000:00:00.0: Limiting direct PCI/PCI transfers
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.060611] pci
0000:00:01.0: Activating ISA DMA hang workarounds
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.069153]
Unpacking initramfs...
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.086884] Freeing
initrd memory: 4888K
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.092274]
clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fb63109b96,
max_idle_ns: 440795265316 ns
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.105524]
Initialise system trusted keyrings
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.110982] Key
type blacklist registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.116088]
workingset: timestamp_bits=40 max_order=19 bucket_order=0
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.125776] zbud: loaded
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.129534] alg:
self-tests disabled
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.134729] Key
type asymmetric registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.139858]
Asymmetric key parser 'x509' registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.145964] Block
layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.155610] io
scheduler noop registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.160425] io
scheduler deadline registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.165398] io
scheduler cfq registered (default)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.171442] io
scheduler mq-deadline registered
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.177277] shpchp:
Standard Hot Plug PCI Controller Driver version: 0.4
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.184977] Serial:
8250/16550 driver, 1 ports, IRQ sharing enabled
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.235229] 00:04:
ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.244104] Linux
agpgart interface v0.103
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.249463] AMD
IOMMUv2 driver by Joerg Roedel <jroedel(a)suse.de>
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.256972] AMD
IOMMUv2 functionality not available on this system
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.264903] i8042:
PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.280016] serio:
i8042 KBD port at 0x60,0x64 irq 1
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.285720] serio:
i8042 AUX port at 0x60,0x64 irq 12
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.291617]
mousedev: PS/2 mouse device common for all mice
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.299889] input:
AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.309885]
rtc_cmos 00:00: RTC can wake from S4
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.320154]
rtc_cmos 00:00: registered as rtc0
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.325775]
rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.333713]
ledtrig-cpu: registered to indicate activity on CPUs
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.341279] NET:
Registered protocol family 10
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.347156] Segment
Routing with IPv6
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.352518] mip6: Mobile IPv6
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.357207] NET:
Registered protocol family 17
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.364216]
mpls_gso: MPLS GSO support
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.370964] mce:
Using 10 MCE banks
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.376565]
registered taskstats version 1
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.383266] Loading
compiled-in X.509 certificates
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.391057] Loaded
X.509 cert 'Debian Secure Boot CA:
6ccece7e4c6c0d1f6149f3dd27dfcc5cbb419ea1'
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.404666] Loaded
X.509 cert 'Debian Secure Boot Signer 2020: 00b55eb3b9'
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.415079] zswap:
loaded using pool lzo/zbud
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.421994]
AppArmor: AppArmor sha1 policy hashing enabled
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.432106]
rtc_cmos 00:00: setting system clock to 2021-02-14 16:17:23 UTC
(1613319443)
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.444201]
Unstable clock detected, switching default tracing clock to "global"
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.444201] If you
want to keep using the local clock, then add:
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.444201]
"trace_clock=local"
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.444201] on the
kernel command line
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.477589] Freeing
unused kernel image memory: 1600K
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.489792] Write
protecting the kernel read-only data: 16384k
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.499102] Freeing
unused kernel image memory: 2028K
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.506329] Freeing
unused kernel image memory: 772K
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.527350] x86/mm:
Checked W+X mappings: passed, no W+X pages found.
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.536136] x86/mm:
Checking user space page tables
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.556366] x86/mm:
Checked W+X mappings: passed, no W+X pages found.
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.566286] Run
/init as init process
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: mounting /proc
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: ext2 mini
initrd starting up: 5.2.0 glibc
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: cmdline:
panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: uptime: 1.68 0.14
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: mounting /sys
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod crc32-pclmul.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod crc32c-intel.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod crct10dif-pclmul.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod crc32_generic.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod crc32c_generic.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod libnvdimm.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod nfit.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod scsi_mod.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.686544] SCSI
subsystem initialized
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod libata.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - supermin: internal
insmod ata_piix.ko
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.722373] scsi
host0: ata_piix
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.727385] scsi
host1: ata_piix
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.732191] ata1:
PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0e0 irq 14
2021-02-14 16:17:24 T libguestfs - 0 - appliance - [ 2.739904] ata2:
PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0e8 irq 15
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_ring.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_blk.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod rng-core.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio-rng.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_console.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crypto_engine.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_crypto.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod failover.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod net_failover.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_net.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod nd_btt.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod nd_pmem.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod sd_mod.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_scsi.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_balloon.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_input.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_mmio.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod virtio_pci.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.031883] PCI
Interrupt Link [LNKB] enabled at IRQ 10
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.070095] PCI
Interrupt Link [LNKC] enabled at IRQ 11
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.095482] scsi
host2: Virtio SCSI HBA
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.103371] scsi
2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.124237] scsi
2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.146390] PCI
Interrupt Link [LNKD] enabled at IRQ 11
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.389145] sd
2:0:0:0: Power-on or device reset occurred
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.397485] sd
2:0:1:0: Power-on or device reset occurred
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.406847] PCI
Interrupt Link [LNKA] enabled at IRQ 10
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.423712] sd
2:0:0:0: [sda] 33554432 512-byte logical blocks: (17.2 GB/16.0 GiB)
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.434389] sd
2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.446680] sd
2:0:0:0: [sda] Write Protect is off
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.453362] sd
2:0:1:0: [sdb] Write Protect is off
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.460221] sd
2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.472881] sd
2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.494600] sda: sda1 sda2
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.501417] sd
2:0:1:0: [sdb] Attached SCSI disk
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.508763] sd
2:0:0:0: [sda] Attached SCSI disk
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod fscrypto.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod jbd2.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod mbcache.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc16.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod ext4.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc-ccitt.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc-itu-t.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc64.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc7.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod crc8.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: internal
insmod libcrc32c.ko
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: picked
8:16 as root device
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: creating
/dev/root as block special 8:16
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: mounting
new root on /root
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.644706] EXT4-fs
(sdb): mounting ext2 file system using the ext4 subsystem
2021-02-14 16:17:25 T libguestfs - 0 - appliance - [ 3.663830] EXT4-fs
(sdb): mounted filesystem without journal. Opts:
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: deleting
initramfs files
2021-02-14 16:17:25 T libguestfs - 0 - appliance - supermin: chroot
2021-02-14 16:17:25 T libguestfs - 0 - appliance - Starting /init script ...
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + [[ panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate == *guestfs_network=1*
]]
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + [[ panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate == *guestfs_rescue=1* ]]
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + [[ panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate == *guestfs_noreboot=1*
]]
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + [[ panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate ==
*guestfs_boot_analysis=1* ]]
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + '[' '!' -d /sys ']'
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + mkdir -p /sys
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + mount -t sysfs /sys /sys
2021-02-14 16:17:25 T libguestfs - 0 - appliance - + mkdir -p /run
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mount -t tmpfs -o
nosuid,size=20%,mode=0755 tmpfs /run
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mkdir -p /run/lock
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + ln -s ../run/lock /var/lock
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + test -e /etc/mtab
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + ln -s
/proc/mounts /etc/mtab
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mount -t devtmpfs /dev /dev
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mkdir -p /dev/pts
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mount -t devpts
/dev/pts /dev/pts
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mkdir -p /dev/shm
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mount -t tmpfs -o
mode=1777 shmfs /dev/shm
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + [[ panic=1
console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000
no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb
cryptomgr.notests tsc=reliable 8250.nr_uarts=1
root=UUID=21213664-7faf-4b76-9e58-fadf375543d9 selinux=0
guestfs_verbose=1 TERM=linux vsyscall=emulate == *selinux=1* ]]
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mkdir -p /run/tmpfiles.d
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + kmod static-nodes
--format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
2021-02-14 16:17:26 T libguestfs - 0 - appliance - ++ od -x -A n
2021-02-14 16:17:26 T libguestfs - 0 - appliance - ++ dd
if=/dev/urandom bs=16 count=1 status=none
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + machine_id=' 2933
4906 24aa 1592 bab1 9cf5 28e1 c9c3'
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + echo
2933490624aa1592bab19cf528e1c9c3
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + systemd-tmpfiles
--prefix=/dev --prefix=/run --prefix=/var/run --create --boot
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance -
[/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"d:group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"group:adm:r--": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"d:group::r-x,d:group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"group::r-x,group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"d:group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"group:adm:r-x": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Failed to parse ACL
"group:adm:r--": No such file or directory. Ignoring
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + for f in
/lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd
/lib/udev/udevd /usr/lib/udev/udevd
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + '[' -x
/lib/systemd/systemd-udevd ']'
2021-02-14 16:17:26 T libguestfs - 0 - appliance - +
UDEVD=/lib/systemd/systemd-udevd
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + break
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + '[' -z
/lib/systemd/systemd-udevd ']'
2021-02-14 16:17:26 T libguestfs - 0 - appliance - +
/lib/systemd/systemd-udevd --daemon
2021-02-14 16:17:26 T libguestfs - 0 - appliance - Starting version 241
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + udevadm trigger
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + udevadm settle
--timeout=600
2021-02-14 16:17:26 T libguestfs - 0 - appliance - [ 4.431380] sd
2:0:0:0: Attached scsi generic sg0 type 0
2021-02-14 16:17:26 T libguestfs - 0 - appliance - [ 4.475401] sd
2:0:1:0: Attached scsi generic sg1 type 0
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + shopt -s nullglob
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + for f in
/sys/block/sd*/device/timeout
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + echo 300
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + for f in
/sys/block/sd*/device/timeout
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + echo 300
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + for f in
/sys/block/{h,s,ub,v}d*/queue/scheduler
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + echo noop
2021-02-14 16:17:26 T libguestfs - 0 - appliance - /init: line 116:
echo: write error: Invalid argument
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + for f in
/sys/block/{h,s,ub,v}d*/queue/scheduler
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + echo noop
2021-02-14 16:17:26 T libguestfs - 0 - appliance - /init: line 116:
echo: write error: Invalid argument
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + shopt -u nullglob
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + ip addr add
127.0.0.1/8 brd + dev lo scope host
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + ip link set dev lo up
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + test '' = 1
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mdadm -As
--auto=yes --no-degraded
2021-02-14 16:17:26 T libguestfs - 0 - appliance - mdadm: No arrays
found in config file or automatically
2021-02-14 16:17:26 T libguestfs - 0 - appliance - + mkdir -p /tmp/lvm
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + touch /tmp/lvm/lvm.conf
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + LVM_SYSTEM_DIR=/tmp/lvm
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + export LVM_SYSTEM_DIR
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + lvmetad
2021-02-14 16:17:27 T libguestfs - 0 - appliance - /init: line 144:
lvmetad: command not found
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + modprobe dm_mod
2021-02-14 16:17:27 T libguestfs - 0 - appliance - [ 4.922287]
device-mapper: uevent: version 1.0.3
2021-02-14 16:17:27 T libguestfs - 0 - appliance - [ 4.930110]
device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised:
dm-devel(a)redhat.com
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + lvm pvscan
--cache --activate ay
2021-02-14 16:17:27 T libguestfs - 0 - appliance - 2 logical volume(s)
in volume group "rhel" now active
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + mdadm -As --auto=yes --run
2021-02-14 16:17:27 T libguestfs - 0 - appliance - mdadm: No arrays
found in config file or automatically
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + ldmtool create all
2021-02-14 16:17:27 T libguestfs - 0 - appliance - [
2021-02-14 16:17:27 T libguestfs - 0 - appliance - ]
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + test 1 = 1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + test '' '!=' 1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + uname -a
2021-02-14 16:17:27 T libguestfs - 0 - appliance - Linux (none)
4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux
2021-02-14 16:17:27 T libguestfs - 0 - appliance - + ls -lR /dev
2021-02-14 16:17:27 T libguestfs - 0 - appliance - /dev:
2021-02-14 16:17:27 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 235 Feb 14 16:17 autofs
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
160 Feb 14 16:17 block
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 80
Feb 14 16:17 bsg
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 234 Feb 14 16:17 btrfs-control
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
2020 Feb 14 16:17 char
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 5,
1 Feb 14 16:17 console
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 11
Feb 14 16:17 core -> /proc/kcore
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 62 Feb 14 16:17 cpu_dma_latency
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 203 Feb 14 16:17 cuse
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 6 0 0
120 Feb 14 16:17 disk
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0
253, 0 Feb 14 16:17 dm-0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0
253, 1 Feb 14 16:17 dm-1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 13
Feb 14 16:17 fd -> /proc/self/fd
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 1,
7 Feb 14 16:17 full
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0
10, 229 Feb 14 16:17 fuse
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 228 Feb 14 16:17 hpet
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 183 Feb 14 16:17 hwrng
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60
Feb 14 16:17 input
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-r--r-- 1 0 0 1,
11 Feb 14 16:17 kmsg
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 237 Feb 14 16:17 loop-control
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
100 Feb 14 16:17 mapper
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 1,
1 Feb 14 16:17 mem
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 59 Feb 14 16:17 memory_bandwidth
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60
Feb 14 16:17 net
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 61 Feb 14 16:17 network_latency
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 60 Feb 14 16:17 network_throughput
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 1,
3 Feb 14 16:17 null
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 1,
4 Feb 14 16:17 port
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
108, 0 Feb 14 16:17 ppp
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 1 Feb 14 16:17 psaux
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 5,
2 Feb 14 16:17 ptmx
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 0
Feb 14 16:17 pts
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 1,
8 Feb 14 16:17 random
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 242 Feb 14 16:17 rfkill
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60
Feb 14 16:17 rhel
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 4
Feb 14 16:17 rtc -> rtc0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
252, 0 Feb 14 16:17 rtc0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0 8,
0 Feb 14 16:17 sda
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0 8,
1 Feb 14 16:17 sda1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0 8,
2 Feb 14 16:17 sda2
2021-02-14 16:17:27 T libguestfs - 0 - appliance - brw------- 1 0 0 8,
16 Feb 14 16:17 sdb
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
21, 0 Feb 14 16:17 sg0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
21, 1 Feb 14 16:17 sg1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxrwxrwt 2 0 0 40
Feb 14 16:17 shm
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 231 Feb 14 16:17 snapshot
2021-02-14 16:17:27 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 80
Feb 14 16:17 snd
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 15
Feb 14 16:17 stderr -> /proc/self/fd/2
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 15
Feb 14 16:17 stdin -> /proc/self/fd/0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 15
Feb 14 16:17 stdout -> /proc/self/fd/1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 5,
0 Feb 14 16:17 tty
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
0 Feb 14 16:17 tty0
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
1 Feb 14 16:17 tty1
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
10 Feb 14 16:17 tty10
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
11 Feb 14 16:17 tty11
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
12 Feb 14 16:17 tty12
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
13 Feb 14 16:17 tty13
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
14 Feb 14 16:17 tty14
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
15 Feb 14 16:17 tty15
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
16 Feb 14 16:17 tty16
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
17 Feb 14 16:17 tty17
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
18 Feb 14 16:17 tty18
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
19 Feb 14 16:17 tty19
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
2 Feb 14 16:17 tty2
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
20 Feb 14 16:17 tty20
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
21 Feb 14 16:17 tty21
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
22 Feb 14 16:17 tty22
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
23 Feb 14 16:17 tty23
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
24 Feb 14 16:17 tty24
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
25 Feb 14 16:17 tty25
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
26 Feb 14 16:17 tty26
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
27 Feb 14 16:17 tty27
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
28 Feb 14 16:17 tty28
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
29 Feb 14 16:17 tty29
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
3 Feb 14 16:17 tty3
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
30 Feb 14 16:17 tty30
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
31 Feb 14 16:17 tty31
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
32 Feb 14 16:17 tty32
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
33 Feb 14 16:17 tty33
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
34 Feb 14 16:17 tty34
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
35 Feb 14 16:17 tty35
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
36 Feb 14 16:17 tty36
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
37 Feb 14 16:17 tty37
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
38 Feb 14 16:17 tty38
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
39 Feb 14 16:17 tty39
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
4 Feb 14 16:17 tty4
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
40 Feb 14 16:17 tty40
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
41 Feb 14 16:17 tty41
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
42 Feb 14 16:17 tty42
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
43 Feb 14 16:17 tty43
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
44 Feb 14 16:17 tty44
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
45 Feb 14 16:17 tty45
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
46 Feb 14 16:17 tty46
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
47 Feb 14 16:17 tty47
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
48 Feb 14 16:17 tty48
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
49 Feb 14 16:17 tty49
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
5 Feb 14 16:17 tty5
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
50 Feb 14 16:17 tty50
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
51 Feb 14 16:17 tty51
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
52 Feb 14 16:17 tty52
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
53 Feb 14 16:17 tty53
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
54 Feb 14 16:17 tty54
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
55 Feb 14 16:17 tty55
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
56 Feb 14 16:17 tty56
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
57 Feb 14 16:17 tty57
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
58 Feb 14 16:17 tty58
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
59 Feb 14 16:17 tty59
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
6 Feb 14 16:17 tty6
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
60 Feb 14 16:17 tty60
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
61 Feb 14 16:17 tty61
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
62 Feb 14 16:17 tty62
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
63 Feb 14 16:17 tty63
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
7 Feb 14 16:17 tty7
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
8 Feb 14 16:17 tty8
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
9 Feb 14 16:17 tty9
2021-02-14 16:17:27 T libguestfs - 0 - appliance - crw------- 1 0 0 4,
64 Feb 14 16:17 ttyS0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 239 Feb 14 16:17 uhid
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 223 Feb 14 16:17 uinput
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 1,
9 Feb 14 16:17 urandom
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
0 Feb 14 16:17 vcs
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
1 Feb 14 16:17 vcs1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
128 Feb 14 16:17 vcsa
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
129 Feb 14 16:17 vcsa1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
64 Feb 14 16:17 vcsu
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0 7,
65 Feb 14 16:17 vcsu1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60
Feb 14 16:17 vfio
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 63 Feb 14 16:17 vga_arbiter
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 137 Feb 14 16:17 vhci
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 238 Feb 14 16:17 vhost-net
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 241 Feb 14 16:17 vhost-vsock
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 60
Feb 14 16:17 virtio-ports
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
244, 1 Feb 14 16:17 vport2p1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0 1,
5 Feb 14 16:17 zero
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/block:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 253:0 -> ../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 253:1 -> ../dm-1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 8:0 -> ../sda
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 8:1 -> ../sda1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 8:16 -> ../sdb
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 8:2 -> ../sda2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/bsg:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
247, 0 Feb 14 16:17 2:0:0:0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
247, 1 Feb 14 16:17 2:0:1:0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/char:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 10:1 -> ../psaux
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 10:183 -> ../hwrng
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 10:228 -> ../hpet
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 11
Feb 14 16:17 10:231 -> ../snapshot
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 17
Feb 14 16:17 10:236 -> ../mapper/control
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 19
Feb 14 16:17 10:59 -> ../memory_bandwidth
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 21
Feb 14 16:17 10:60 -> ../network_throughput
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 18
Feb 14 16:17 10:61 -> ../network_latency
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 18
Feb 14 16:17 10:62 -> ../cpu_dma_latency
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 14
Feb 14 16:17 10:63 -> ../vga_arbiter
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 13
Feb 14 16:17 13:63 -> ../input/mice
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 1:1 -> ../mem
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 1:11 -> ../kmsg
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 1:3 -> ../null
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 1:4 -> ../port
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 1:5 -> ../zero
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 1:7 -> ../full
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 1:8 -> ../random
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 1:9 -> ../urandom
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 21:0 -> ../sg0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 21:1 -> ../sg1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 11
Feb 14 16:17 244:1 -> ../vport2p1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 14
Feb 14 16:17 247:0 -> ../bsg/2:0:0:0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 14
Feb 14 16:17 247:1 -> ../bsg/2:0:1:0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 252:0 -> ../rtc0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:0 -> ../tty0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:1 -> ../tty1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:10 -> ../tty10
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:11 -> ../tty11
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:12 -> ../tty12
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:13 -> ../tty13
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:14 -> ../tty14
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:15 -> ../tty15
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:16 -> ../tty16
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:17 -> ../tty17
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:18 -> ../tty18
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:19 -> ../tty19
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:2 -> ../tty2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:20 -> ../tty20
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:21 -> ../tty21
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:22 -> ../tty22
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:23 -> ../tty23
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:24 -> ../tty24
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:25 -> ../tty25
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:26 -> ../tty26
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:27 -> ../tty27
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:28 -> ../tty28
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:29 -> ../tty29
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:3 -> ../tty3
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:30 -> ../tty30
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:31 -> ../tty31
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:32 -> ../tty32
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:33 -> ../tty33
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:34 -> ../tty34
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:35 -> ../tty35
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:36 -> ../tty36
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:37 -> ../tty37
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:38 -> ../tty38
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:39 -> ../tty39
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:4 -> ../tty4
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:40 -> ../tty40
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:41 -> ../tty41
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:42 -> ../tty42
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:43 -> ../tty43
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:44 -> ../tty44
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:45 -> ../tty45
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:46 -> ../tty46
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:47 -> ../tty47
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:48 -> ../tty48
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:49 -> ../tty49
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:5 -> ../tty5
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:50 -> ../tty50
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:51 -> ../tty51
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:52 -> ../tty52
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:53 -> ../tty53
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:54 -> ../tty54
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:55 -> ../tty55
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:56 -> ../tty56
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:57 -> ../tty57
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:58 -> ../tty58
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:59 -> ../tty59
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:6 -> ../tty6
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:60 -> ../tty60
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:61 -> ../tty61
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:62 -> ../tty62
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:63 -> ../tty63
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 4:64 -> ../ttyS0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:7 -> ../tty7
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:8 -> ../tty8
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 4:9 -> ../tty9
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 5:0 -> ../tty
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 5:1 -> ../console
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 5:2 -> ../ptmx
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 6
Feb 14 16:17 7:0 -> ../vcs
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 7:1 -> ../vcs1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 7:128 -> ../vcsa
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 7:129 -> ../vcsa1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 7:64 -> ../vcsu
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 8
Feb 14 16:17 7:65 -> ../vcsu1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/disk:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
180 Feb 14 16:17 by-id
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0 80
Feb 14 16:17 by-partuuid
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
120 Feb 14 16:17 by-path
2021-02-14 16:17:28 T libguestfs - 0 - appliance - drwxr-xr-x 2 0 0
100 Feb 14 16:17 by-uuid
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/disk/by-id:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 dm-name-rhel-swap -> ../../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 dm-uuid-LVM-x06hRU2yvmTSN0lIa6z1DKEgd9r51XboEVgg8YdhPyNGooshjsJZFwDraGqJBAAp
-> ../../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 lvm-pv-uuid-BkFQcR-tGdm-0mfJ-mmwW-mYRN-jLMx-4eIAQm ->
../../sda2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 scsi-0QEMU_QEMU_HARDDISK_appliance -> ../../sdb
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 scsi-0QEMU_QEMU_HARDDISK_hd0 -> ../../sda
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 scsi-0QEMU_QEMU_HARDDISK_hd0-part1 -> ../../sda1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 scsi-0QEMU_QEMU_HARDDISK_hd0-part2 -> ../../sda2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/disk/by-partuuid:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 000ba8af-01 -> ../../sda1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 000ba8af-02 -> ../../sda2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/disk/by-path:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 pci-0000:00:03.0-scsi-0:0:0:0 -> ../../sda
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 pci-0000:00:03.0-scsi-0:0:0:0-part1 -> ../../sda1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 pci-0000:00:03.0-scsi-0:0:0:0-part2 -> ../../sda2
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 pci-0000:00:03.0-scsi-0:0:1:0 -> ../../sdb
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/disk/by-uuid:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 9
Feb 14 16:17 21213664-7faf-4b76-9e58-fadf375543d9 -> ../../sdb
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 6365d0a8-a1bb-437b-9c23-eee1399f9505 -> ../../sda1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 10
Feb 14 16:17 7ed3e932-edd1-4d73-9272-5a7c05ba84d5 -> ../../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/input:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
13, 63 Feb 14 16:17 mice
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/mapper:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 236 Feb 14 16:17 control
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 rhel-root -> ../dm-1
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 rhel-swap -> ../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/net:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw-rw-rw- 1 0 0
10, 200 Feb 14 16:17 tun
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/pts:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - c--------- 1 0 0 5,
2 Feb 14 16:17 ptmx
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/rhel:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 7
Feb 14 16:17 swap -> ../dm-0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/shm:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - /dev/snd:
2021-02-14 16:17:28 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:28 T libguestfs - 0 - appliance - crw------- 1 0 0
116, 1 Feb 14 16:17 seq
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crw------- 1 0 0
116, 33 Feb 14 16:17 timer
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev/vfio:
2021-02-14 16:17:29 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crw------- 1 0 0
10, 196 Feb 14 16:17 vfio
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev/virtio-ports:
2021-02-14 16:17:29 T libguestfs - 0 - appliance - total 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - lrwxrwxrwx 1 0 0 11
Feb 14 16:17 org.libguestfs.channel.0 -> ../vport2p1
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + cat /proc/mounts
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev/root / ext2
rw,noatime 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /proc /proc proc
rw,relatime 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /sys /sys sysfs
rw,relatime 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - tmpfs /run tmpfs
rw,nosuid,relatime,size=408464k,mode=755 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev /dev devtmpfs
rw,relatime,size=1016512k,nr_inodes=254128,mode=755 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev/pts /dev/pts
devpts rw,relatime,mode=600,ptmxmode=000 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - shmfs /dev/shm
tmpfs rw,relatime 0 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + cat /proc/mdstat
2021-02-14 16:17:29 T libguestfs - 0 - appliance - cat: /proc/mdstat:
No such file or directory
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + lvm config
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + lvm pvs
2021-02-14 16:17:29 T libguestfs - 0 - appliance - PV VG Fmt Attr PSize PFree
2021-02-14 16:17:29 T libguestfs - 0 - appliance - /dev/sda2 rhel lvm2
a-- <15.00g 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + lvm vgs
2021-02-14 16:17:29 T libguestfs - 0 - appliance - VG #PV #LV #SN Attr
VSize VFree
2021-02-14 16:17:29 T libguestfs - 0 - appliance - rhel 1 2 0 wz--n- <15.00g 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + lvm lvs
2021-02-14 16:17:29 T libguestfs - 0 - appliance - LV VG Attr LSize
Pool Origin Data% Meta% Move Log Cpy%Sync Convert
2021-02-14 16:17:29 T libguestfs - 0 - appliance - root rhel -wi-a----- 13.39g
2021-02-14 16:17:29 T libguestfs - 0 - appliance - swap rhel -wi-a----- 1.60g
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + ip a
2021-02-14 16:17:29 T libguestfs - 0 - appliance - 1: lo:
<LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
2021-02-14 16:17:29 T libguestfs - 0 - appliance - link/loopback
00:00:00:00:00:00 brd 00:00:00:00:00:00
2021-02-14 16:17:29 T libguestfs - 0 - appliance - inet 127.0.0.1/8
brd 127.255.255.255 scope host lo
2021-02-14 16:17:29 T libguestfs - 0 - appliance - valid_lft forever
preferred_lft forever
2021-02-14 16:17:29 T libguestfs - 0 - appliance - inet6 ::1/128 scope host
2021-02-14 16:17:29 T libguestfs - 0 - appliance - valid_lft forever
preferred_lft forever
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + ip r
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + cat /etc/resolv.conf
2021-02-14 16:17:29 T libguestfs - 0 - appliance - cat:
/etc/resolv.conf: No such file or directory
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + lsmod
2021-02-14 16:17:29 T libguestfs - 0 - appliance - Module Size Used by
2021-02-14 16:17:29 T libguestfs - 0 - appliance - dm_mod 155648 4
2021-02-14 16:17:29 T libguestfs - 0 - appliance - sg 36864 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - libcrc32c 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc8 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc7 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc64 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc_itu_t 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc_ccitt 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - ext4 745472 1
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc16 16384 1 ext4
2021-02-14 16:17:29 T libguestfs - 0 - appliance - mbcache 16384 1 ext4
2021-02-14 16:17:29 T libguestfs - 0 - appliance - jbd2 122880 1 ext4
2021-02-14 16:17:29 T libguestfs - 0 - appliance - fscrypto 32768 1 ext4
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_pci 28672 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_mmio 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_input 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_balloon 20480 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_scsi 20480 2
2021-02-14 16:17:29 T libguestfs - 0 - appliance - sd_mod 61440 3
2021-02-14 16:17:29 T libguestfs - 0 - appliance - nd_pmem 20480 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - nd_btt 24576 1 nd_pmem
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_net 53248 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - net_failover 20480
1 virtio_net
2021-02-14 16:17:29 T libguestfs - 0 - appliance - failover 16384 1 net_failover
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_crypto 24576 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crypto_engine 16384
1 virtio_crypto
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_console 32768 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_rng 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - rng_core 16384 1 virtio_rng
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_blk 20480 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio_ring 28672
10 virtio_rng,virtio_mmio,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net
2021-02-14 16:17:29 T libguestfs - 0 - appliance - virtio 16384 10
virtio_rng,virtio_mmio,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net
2021-02-14 16:17:29 T libguestfs - 0 - appliance - ata_piix 36864 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - libata 270336 1 ata_piix
2021-02-14 16:17:29 T libguestfs - 0 - appliance - scsi_mod 249856 4
virtio_scsi,sd_mod,libata,sg
2021-02-14 16:17:29 T libguestfs - 0 - appliance - nfit 61440 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - libnvdimm 172032 3
nd_btt,nd_pmem,nfit
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc32c_generic 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc32_generic 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crct10dif_pclmul 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc32c_intel 24576 2
2021-02-14 16:17:29 T libguestfs - 0 - appliance - crc32_pclmul 16384 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + date
2021-02-14 16:17:29 T libguestfs - 0 - appliance - Sun Feb 14 16:17:28 UTC 2021
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + echo -n 'clocksource: '
2021-02-14 16:17:29 T libguestfs - 0 - appliance - clocksource: + cat
/sys/devices/system/clocksource/clocksource0/current_clocksource
2021-02-14 16:17:29 T libguestfs - 0 - appliance - kvm-clock
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + echo -n 'uptime: '
2021-02-14 16:17:29 T libguestfs - 0 - appliance - uptime: + cat /proc/uptime
2021-02-14 16:17:29 T libguestfs - 0 - appliance - 6.53 0.54
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + cmd=guestfsd
2021-02-14 16:17:29 T libguestfs - 0 - appliance - ++ grep -Eo
'guestfs_channel=[^[:space:]]+' /proc/cmdline
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + eval
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + test x '!=' x
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + test 1 = 1
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + cmd='guestfsd --verbose'
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + test '' = 1
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + false
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + test '' = 1
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + echo guestfsd --verbose
2021-02-14 16:17:29 T libguestfs - 0 - appliance - guestfsd --verbose
2021-02-14 16:17:29 T libguestfs - 0 - appliance - + guestfsd --verbose
2021-02-14 16:17:29 T libguestfs - 0 - appliance - lvm_system_dir = /tmp/lvm
2021-02-14 16:17:29 T libguestfs - 0 - appliance - OCaml daemon loaded
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=y stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: ls -1v
/dev/disk/by-path
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sda
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sdb
2021-02-14 16:17:29 T libguestfs - 0 - appliance - trying to open
virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:29 T libguestfs - 0 - launch_done
2021-02-14 16:17:29 T libguestfs - 0 - library - recv_from_daemon:
received GUESTFS_LAUNCH_FLAG
2021-02-14 16:17:29 T libguestfs - 0 - library - appliance is up
2021-02-14 16:17:29 T libguestfs - 0 - progress - [0, 0, 12, 12]
2021-02-14 16:17:29 I root - Searching for root filesystem devices
2021-02-14 16:17:29 T libguestfs - 0 - enter - inspect_os
2021-02-14 16:17:29 T libguestfs - 0 - appliance - guestfsd: <=
inspect_os (0x1e0) request length 40 bytes
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls '-1v'
'/dev/disk/by-path'
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls returned 0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - command: ls: stdout:
2021-02-14 16:17:29 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:0:0
2021-02-14 16:17:29 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part1
2021-02-14 16:17:29 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part2
2021-02-14 16:17:29 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:1:0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sda
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:29 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sdb
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls '-1v'
'/dev/disk/by-path'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: ls: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:0:0
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part1
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
pci-0000:00:03.0-scsi-0:0:0:0-part2
2021-02-14 16:17:30 T libguestfs - 0 - appliance - pci-0000:00:03.0-scsi-0:0:1:0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sda
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle -E /dev/sdb
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk '--help'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Usage:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sfdisk [options]
<dev> [[-N] <part>]
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sfdisk [options] <command>
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Display or
manipulate a disk partition table.
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Commands:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -A, --activate
<dev> [<part> ...] list or set bootable (P)MBR partitions
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -d, --dump <dev>
dump partition table (usable for later input)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -J, --json <dev>
dump partition table in JSON format
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -g, --show-geometry
[<dev> ...] list geometry of all or specified devices
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -l, --list [<dev>
...] list partitions of each device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -F, --list-free
[<dev> ...] list unpartitioned free areas of each device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -r, --reorder <dev>
fix partitions order (by start offset)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -s, --show-size
[<dev> ...] list sizes of all or specified devices
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -T, --list-types
print the recognized types (see -X)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -V, --verify [<dev>
...] test whether partitions seem correct
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --delete <dev>
[<part> ...] delete all or specified partitions
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-label <dev>
<part> [<str>] print or change partition label
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-type <dev>
<part> [<type>] print or change partition type
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-uuid <dev>
<part> [<uuid>] print or change partition uuid
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --part-attrs <dev>
<part> [<str>] print or change partition attributes
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <dev> device
(usually disk) path
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <part> partition number
2021-02-14 16:17:30 T libguestfs - 0 - appliance - <type> partition
type, GUID for GPT, hex for MBR
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Options:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -a, --append append
partitions to existing partition table
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -b, --backup backup
partition table sectors (see -O)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --bytes print SIZE
in bytes rather than in human readable format
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
--move-data[=<typescript>] move partition data after relocation
(requires -N)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -f, --force disable
all consistency checking
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --color[=<when>]
colorize output (auto, always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - colors are enabled by default
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -N, --partno <num>
specify partition number
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -n, --no-act do
everything except write to device
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --no-reread do not
check whether the device is in use
2021-02-14 16:17:30 T libguestfs - 0 - appliance - --no-tell-kernel do
not tell kernel about changes
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -O, --backup-file
<path> override default backup file name
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -o, --output <list>
output columns
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -q, --quiet
suppress extra info messages
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -w, --wipe <mode>
wipe signatures (auto, always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -W,
--wipe-partitions <mode> wipe signatures from new partitions (auto,
always or never)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -X, --label <name>
specify label type (dos, gpt, ...)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -Y, --label-nested
<name> specify nested label type (dos, bsd)
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -G,
--show-pt-geometry deprecated, alias to --show-geometry
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -L, --Linux
deprecated, only for backward compatibility
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -u, --unit S
deprecated, only sector unit is supported
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -h, --help display this help
2021-02-14 16:17:30 T libguestfs - 0 - appliance - -v, --version display version
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Available output columns:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - gpt: Device Start
End Sectors Size Type Type-UUID Attrs Name UUID
2021-02-14 16:17:30 T libguestfs - 0 - appliance - dos: Device Start
End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Start-C/H/S
2021-02-14 16:17:30 T libguestfs - 0 - appliance - bsd: Slice Start
End Sectors Cylinders Size Type Bsize Cpg Fsize
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sgi: Device Start
End Sectors Cylinders Size Type Id Attrs
2021-02-14 16:17:30 T libguestfs - 0 - appliance - sun: Device Start
End Sectors Cylinders Size Type Id Flags
2021-02-14 16:17:30 T libguestfs - 0 - appliance - For more details
see sfdisk(8).
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk
'--part-type' '/dev/sda' '1'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:30 T libguestfs - 0 - appliance - 83
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command:
fold-stdout-on-stderr sgdisk '/dev/sda' '-i' '1'
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sgdisk returned 0
2021-02-14 16:17:30 T libguestfs - 0 - appliance - command: sgdisk: stderr:
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Found invalid GPT
and valid MBR; converting MBR to GPT format
2021-02-14 16:17:30 T libguestfs - 0 - appliance - in memory.
2021-02-14 16:17:30 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:30 T libguestfs - 0 - appliance - Warning! Secondary
partition table overlaps the last partition by
2021-02-14 16:17:30 T libguestfs - 0 - appliance - 33 blocks!
2021-02-14 16:17:31 T libguestfs - 0 - appliance - You will need to
delete this partition or resize it in another utility.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition GUID
code: 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (Linux filesystem)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition unique
GUID: 9E4C4F03-BC30-4D49-BF79-AAD0509A3EB7
2021-02-14 16:17:31 T libguestfs - 0 - appliance - First sector: 2048
(at 1024.0 KiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Last sector:
2099199 (at 1025.0 MiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition size:
2097152 sectors (1024.0 MiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Attribute flags:
0000000000000000
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition name:
'Linux filesystem'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted
'-m' '-s' '--' '/dev/sda' 'unit' 'b' 'print'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: parted: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - BYT;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
/dev/sda:17179869184B:scsi:512:512:msdos:QEMU QEMU HARDDISK:;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
1:1048576B:1074790399B:1073741824B:xfs::boot;
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
2:1074790400B:17179869183B:16105078784B:::lvm;
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk
'--part-type' '/dev/sda' '2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sfdisk: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - 8e
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command:
fold-stdout-on-stderr sgdisk '/dev/sda' '-i' '2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sgdisk returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: sgdisk: stderr:
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Found invalid GPT
and valid MBR; converting MBR to GPT format
2021-02-14 16:17:31 T libguestfs - 0 - appliance - in memory.
2021-02-14 16:17:31 T libguestfs - 0 - appliance -
***************************************************************
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Warning! Secondary
partition table overlaps the last partition by
2021-02-14 16:17:31 T libguestfs - 0 - appliance - 33 blocks!
2021-02-14 16:17:31 T libguestfs - 0 - appliance - You will need to
delete this partition or resize it in another utility.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition GUID
code: E6D6D379-F507-44C2-A23C-238F2A3DF928 (Linux LVM)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition unique
GUID: 773262AE-7176-49FC-81DF-CE5D0F5E0795
2021-02-14 16:17:31 T libguestfs - 0 - appliance - First sector:
2099200 (at 1.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Last sector:
33554431 (at 16.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition size:
31455232 sectors (15.0 GiB)
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Attribute flags:
0000000000000000
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Partition name: 'Linux LVM'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf:
stdout=n stderr=y flags=0x0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - commandrvf: udevadm
--debug settle
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda1'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - xfs
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda2'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - LVM2_member
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm 'lvs' '--help'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - lvs - Display
information about logical volumes
2021-02-14 16:17:31 T libguestfs - 0 - appliance - lvs
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -H|--history ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -a|--all ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -o|--options String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -S|--select String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -O|--sort String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --segments ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --aligned ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --binary ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --configreport
log|vg|lv|pv|pvseg|seg ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --foreign ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --ignorelockingfailure ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --logonly ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nameprefixes ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --noheadings ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nosuffix ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --readonly ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --reportformat basic|json ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --rows ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --separator String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --shared ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --trustcache ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --unbuffered ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --units
r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --unquoted ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ COMMON_OPTIONS ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ VG|LV|Tag ... ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Common options for lvm:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -d|--debug ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -h|--help ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -q|--quiet ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -v|--verbose ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -y|--yes ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ -t|--test ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --commandprofile String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --config String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --driverloaded y|n ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --nolocking ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --lockopt String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --longhelp ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --profile String ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - [ --version ]
2021-02-14 16:17:31 T libguestfs - 0 - appliance - Use --longhelp to
show all options and advanced commands.
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm 'lvs'
'-o' 'vg_name,lv_name' '-S' 'lv_role=public &&
lv_skip_activation!=yes' '--noheadings' '--separator' '/'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm returned 0
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: lvm: stdout:
2021-02-14 16:17:31 T libguestfs - 0 - appliance - rhel/root
2021-02-14 16:17:31 T libguestfs - 0 - appliance - rhel/swap
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/root'
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid returned 2
2021-02-14 16:17:31 T libguestfs - 0 - appliance - command: blkid '-c'
'/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/rhel/swap'
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: blkid returned 0
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: blkid: stdout:
2021-02-14 16:17:32 T libguestfs - 0 - appliance - swap
2021-02-14 16:17:32 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/sda1 (xfs)
2021-02-14 16:17:32 T libguestfs - 0 - appliance - command: mount '-o'
'ro' '/dev/sda1' '/sysroot//'
2021-02-14 16:17:32 T libguestfs - 0 - appliance - [ 10.053598] SGI
XFS with ACLs, security attributes, realtime, no debug enabled
2021-02-14 16:17:32 T libguestfs - 0 - appliance - [ 10.072495] XFS
(sda1): Mounting V5 Filesystem
2021-02-14 16:17:33 T libguestfs - 0 - appliance - [ 10.985200] XFS
(sda1): Ending clean mount
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount returned 0
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub/menu.lst'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub/grub.conf'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - chroot: /sysroot:
running 'is_file: /grub2/grub.cfg'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - check_filesystem:
/dev/sda1 matched Grub /boot
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: umount '/sysroot'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - [ 11.043750] XFS
(sda1): Unmounting Filesystem
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: umount returned 0
2021-02-14 16:17:33 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/rhel/root (unknown)
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount '-o'
'ro' '/dev/rhel/root' '/sysroot//'
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount returned 32
2021-02-14 16:17:33 T libguestfs - 0 - appliance - command: mount: stderr:
2021-02-14 16:17:33 T libguestfs - 0 - appliance - mount: /sysroot:
special device /dev/rhel/root does not exist.
2021-02-14 16:17:33 T libguestfs - 0 - appliance -
check_for_filesystem_on: /dev/rhel/swap (swap)
2021-02-14 16:17:33 T libguestfs - 0 - appliance - inspect_os: fses:
2021-02-14 16:17:33 T libguestfs - 0 - appliance - fs: /dev/sda1 (xfs)
role: other
2021-02-14 16:17:33 T libguestfs - 0 - appliance - fs: /dev/rhel/swap
(swap) role: swap
2021-02-14 16:17:33 T libguestfs - 0 - appliance - inspect_get_roots: roots:
2021-02-14 16:17:33 E root - No root filesystems were found
Thanks,
Sam
2
3
Hello,
I am using Archlinux current with:
- kernel 5.10.27-1-lts
- virt-builder 1.42.0
- QEMU emulator version 5.2.0
Everything was working fine like 3 days ago. As you can see last time I updated my kernel:
[2021-03-31T09:10:53+0200] [ALPM] upgraded linux-lts (5.10.26-1 -> 5.10.27-1)
When I am trying to build ubuntu 18.04 image with virt-builder I am getting the following error now (with export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1):
[ 1.3] Downloading: http://builder.libguestfs.org/ubuntu-18.04.xz
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x563eb1046ad0, program = virt-builder
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
[ 1.8] Planning how to build this image
[ 1.8] Uncompressing
[ 10.4] Resizing (using virt-resize) to expand the disk to 64.0G
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x563eb1015550, program = virt-builder
libguestfs: trace: disk_create "k8smaster1.qcow2" "qcow2" 68719476736 "preallocation:metadata"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o preallocation=metadata
libguestfs: command: run: \ ./k8smaster1.qcow2
libguestfs: command: run: \ 68719476736
Formatting './k8smaster1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off preallocation=metadata compression_type=zlib size=68719476736 lazy_refcounts=off refcount_bits=16
libguestfs: trace: disk_create = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x558510868410, program = virt-resize
libguestfs: trace: add_drive "/var/tmp/vb99ac3c.img" "readonly:true" "format:raw" "protocol:file"
libguestfs: creating COW overlay to protect original drive content
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: disk_create "/tmp/libguestfsfW3FUV/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/vb99ac3c.img" "backingformat:raw"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/vb99ac3c.img,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsfW3FUV/overlay1.qcow2
Formatting '/tmp/libguestfsfW3FUV/overlay1.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=6442450944 backing_file=/var/tmp/vb99ac3c.img backing_fmt=raw lazy_refcounts=off refcount_bits=16
libguestfs: trace: disk_create = 0
libguestfs: trace: add_drive = 0
libguestfs: trace: add_drive "k8smaster1.qcow2" "readonly:false" "format:qcow2" "protocol:file" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: max_disks
libguestfs: trace: max_disks = 255
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 42, release: 0, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=virt-resize
libguestfs: launch: version=1.42.0
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsfW3FUV
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: version: 5.2.0
supermin: package handler: arch/pacman
supermin: acquiring lock on /var/tmp/.guestfs-0/lock
supermin: if-newer: output does not need rebuilding
libguestfs: finished building supermin appliance
libguestfs: begin testing qemu features
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: checking for previously cached test results of /usr/bin/qemu-system-x86_64, in /var/tmp/.guestfs-0
libguestfs: loading previously cached test results
libguestfs: qemu version: 5.2
libguestfs: qemu mandatory locking: yes
libguestfs: qemu KVM: enabled
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_sockdir
libguestfs: trace: get_sockdir = "/tmp"
libguestfs: finished testing qemu features
libguestfs: trace: get_backend_setting "gdb"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: command: run: file
libguestfs: command: run: \ -- /var/tmp/.guestfs-0/appliance.d/root
/usr/bin/qemu-system-x86_64 \
-global virtio-blk-pci.scsi=off \
-no-user-config \
-enable-fips \
-nodefaults \
-display none \
-machine accel=kvm:tcg \
-cpu host \
-m 768 \
-no-reboot \
-rtc driftfix=slew \
-no-hpet \
-global kvm-pit.lost_tick_policy=discard \
-kernel /var/tmp/.guestfs-0/appliance.d/kernel \
-initrd /var/tmp/.guestfs-0/appliance.d/initrd \
-object rng-random,filename=/dev/urandom,id=rng0 \
-device virtio-rng-pci,rng=rng0 \
-device virtio-scsi-pci,id=scsi \
-drive file.file.filename=/tmp/libguestfsfW3FUV/overlay1.qcow2,file.driver=qcow2,file.backing.file.locking=off,cache=unsafe,id=hd0,if=none \
-device scsi-hd,drive=hd0 \
-drive file=/tmp/k8smaster1.qcow2,cache=unsafe,format=qcow2,id=hd1,if=none \
-device scsi-hd,drive=hd1 \
-drive file=/var/tmp/.guestfs-0/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
-device scsi-hd,drive=appliance \
-device virtio-serial-pci \
-serial stdio \
-device sga \
-chardev socket,path=/tmp/libguestfsxcJzEf/guestfsd.sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=852582a6-3f81-41e9-ffffa900-b62fa2d50325 selinux=0 guestfs_verbose=1 TERM=xterm-256color"
WARNING: Image format was not specified for '/tmp/libguestfsfW3FUV/overlay1.qcow2' and probing guessed raw.
Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
Specify the 'raw' format explicitly to remove the restrictions.
libguestfs: responding to serial console Device Status Report
\x1b[1;256r\x1b[256;256H\x1b[6n
Google, Inc.
Serial Graphics Adapter 04/27/17
SGABIOS $Id$ (pbonzini@donizetti) gio 27 apr 2017, 08.36.57, UTC
Term: 80x24
4 0
SeaBIOS (version ArchLinux 1.14.0-1)
Booting from ROM...
\x1b[2J[ 0.094817] usbserial: usb_serial_init - registering generic driver failed
[ 0.095591] usbserial: usb_serial_init - returning with error -19
supermin: mounting /proc
supermin: ext2 mini initrd starting up: 5.2.0 glibc
supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=UUID=852582a6-3f81-41e9-ffffa900-b62fa2d50325 selinux=0 guestfs_verbose=1 TERM=xterm-256color
supermin: uptime: 0.15 0.02
supermin: mounting /sys
supermin: internal insmod crc32-pclmul.ko
supermin: internal insmod crc32c-intel.ko
supermin: internal insmod crct10dif-pclmul.ko
supermin: internal insmod crc32_generic.ko
supermin: internal insmod crc32c_generic.ko
supermin: internal insmod nfit.ko
supermin: internal insmod ata_piix.ko
^H^H^Hsupermin: internal insmod virtio_blk.ko
supermin: internal insmod rng-core.ko
supermin: internal insmod virtio-rng.ko
supermin: internal insmod virtio_console.ko
supermin: internal insmod crypto_engine.ko
supermin: internal insmod virtio_crypto.ko
supermin: internal insmod failover.ko
supermin: internal insmod net_failover.ko
supermin: internal insmod virtio_net.ko
supermin: internal insmod nd_btt.ko
supermin: internal insmod nd_pmem.ko
supermin: internal insmod nd_virtio.ko
supermin: internal insmod virtio_pmem.ko
supermin: internal insmod rpmsg_core.ko
supermin: internal insmod virtio_rpmsg_bus.ko
supermin: internal insmod virtio_scsi.ko
supermin: internal insmod virtio_balloon.ko
supermin: internal insmod virtio_dma_buf.ko
supermin: internal insmod virtio_input.ko
supermin: internal insmod virtio_mem.ko
supermin: internal insmod virtio_mmio.ko
supermin: internal insmod virtio_pci.ko
supermin: internal insmod vdpa.ko
supermin: internal insmod virtio_vdpa.ko
supermin: internal insmod jbd2.ko
supermin: internal insmod mbcache.ko
supermin: internal insmod crc16.ko
supermin: internal insmod ext4.ko
supermin: internal insmod fuse.ko
supermin: internal insmod virtiofs.ko
supermin: internal insmod crc-itu-t.ko
supermin: internal insmod crc4.ko
supermin: internal insmod crc64.ko
supermin: internal insmod crc7.ko
supermin: internal insmod crc8.ko
supermin: internal insmod libcrc32c.ko
supermin: root UUID is longer than 16 bytes
[ 0.555625] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 0.556423] CPU: 0 PID: 1 Comm: init Not tainted 5.10.27-1-lts #1
[ 0.557065] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ArchLinux 1.14.0-1 04/01/2014
[ 0.558070] Call Trace:
[ 0.558339] dump_stack+0x6b/0x83
[ 0.558694] panic+0x10b/0x2e1
[ 0.559023] do_exit.cold+0x57/0xb3
[ 0.559396] ? vfs_write+0x153/0x280
[ 0.559781] do_group_exit+0x33/0xa0
[ 0.560165] __x64_sys_exit_group+0x14/0x20
[ 0.560608] do_syscall_64+0x33/0x40
[ 0.560988] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 0.561520] RIP: 0033:0x441221
[ 0.561845] Code: c0 ff ff ff be e7 00 00 00 ba 3c 00 00 00 eb 16 66 0f 1f 84 00 00 00 00 00 89 d0 0f 05 48 3d 00 f0 ff ff 77 1c f4 89 f0 0f 05 <48> 3d 00 f0 ff ff 76 e7 f7 d8 64 41 89 00 eb df 0f 1f 80 00 00 00
[ 0.563775] RSP: 002b:00007ffd98dcca78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 0.564576] RAX: ffffffffffffffda RBX: 00000000004b3230 RCX: 0000000000441221
[ 0.565319] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
[ 0.566053] RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000000000000000
[ 0.566785] R10: 0000000000441fb7 R11: 0000000000000246 R12: 00000000004b3230
[ 0.567547] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
[ 0.568320] Kernel Offset: 0xec00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[ 0.569419] Rebooting in 1 seconds..
libguestfs: child_cleanup: 0x558510868410: child process died
libguestfs: sending SIGTERM to process 11801
libguestfs: qemu maxrss 175888K
libguestfs: trace: launch = -1 (error)
virt-resize: error: libguestfs error: guestfs_launch failed, see earlier
error messages
If reporting bugs, run virt-resize with debugging enabled and include the
complete output:
virt-resize -v -x [...]
libguestfs: trace: close
libguestfs: closing guestfs handle 0x558510868410 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsfW3FUV
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsxcJzEf
libguestfs: trace: close
libguestfs: closing guestfs handle 0x563eb1015550 (state 0)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x563eb1046ad0 (state 0)
Let me know what you think
2
1
01 Apr '21
golang 1.16 defaults to this, and 1.17 will require it:
https://blog.golang.org/go116-module-changes
Fixes: https://aur.archlinux.org/packages/nbdkit/
Thanks: Svenne Krap
---
plugins/golang/Makefile.am | 9 +++++----
plugins/golang/examples/disk/go.mod | 4 ++++
plugins/golang/examples/dump-plugin/go.mod | 4 ++++
plugins/golang/examples/minimal/go.mod | 4 ++++
plugins/golang/examples/ramdisk/go.mod | 4 ++++
plugins/golang/src/libguestfs.org/nbdkit/go.mod | 4 ++++
6 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/plugins/golang/Makefile.am b/plugins/golang/Makefile.am
index 192c2ec4..6fc4f8b4 100644
--- a/plugins/golang/Makefile.am
+++ b/plugins/golang/Makefile.am
@@ -32,6 +32,7 @@
include $(top_srcdir)/common-rules.mk
plugin_sources = \
+ src/libguestfs.org/nbdkit/go.mod \
src/libguestfs.org/nbdkit/nbdkit.go \
src/libguestfs.org/nbdkit/utils.go \
src/libguestfs.org/nbdkit/wrappers.go \
@@ -43,9 +44,13 @@ EXTRA_DIST = \
config-test.go \
dump-plugin-examples.sh \
examples/disk/disk.go \
+ examples/disk/go.mod \
examples/dump-plugin/dumpplugin.go \
+ examples/dump-plugin/go.mod \
examples/minimal/minimal.go \
+ examples/minimal/go.mod \
examples/ramdisk/ramdisk.go \
+ examples/ramdisk/go.mod \
nbdkit-golang-plugin.pod \
$(NULL)
@@ -67,28 +72,24 @@ examples/disk/nbdkit-godisk-plugin.so: \
$(plugin_sources) examples/disk/disk.go
cd examples/disk && \
PKG_CONFIG_PATH="$(abs_top_builddir)/server/local$${PKG_CONFIG_PATH:+:$$PKG_CONFIG_PATH}" \
- GOPATH="$(abs_builddir)" \
$(GOLANG) build -o nbdkit-godisk-plugin.so -buildmode=c-shared
examples/dump-plugin/nbdkit-godump-plugin.so: \
$(plugin_sources) examples/dump-plugin/dumpplugin.go
cd examples/dump-plugin && \
PKG_CONFIG_PATH="$(abs_top_builddir)/server/local$${PKG_CONFIG_PATH:+:$$PKG_CONFIG_PATH}" \
- GOPATH="$(abs_builddir)" \
$(GOLANG) build -o nbdkit-godump-plugin.so -buildmode=c-shared
examples/minimal/nbdkit-gominimal-plugin.so: \
$(plugin_sources) examples/minimal/minimal.go
cd examples/minimal && \
PKG_CONFIG_PATH="$(abs_top_builddir)/server/local$${PKG_CONFIG_PATH:+:$$PKG_CONFIG_PATH}" \
- GOPATH="$(abs_builddir)" \
$(GOLANG) build -o nbdkit-gominimal-plugin.so -buildmode=c-shared
examples/ramdisk/nbdkit-goramdisk-plugin.so: \
$(plugin_sources) examples/ramdisk/ramdisk.go
cd examples/ramdisk && \
PKG_CONFIG_PATH="$(abs_top_builddir)/server/local$${PKG_CONFIG_PATH:+:$$PKG_CONFIG_PATH}" \
- GOPATH="$(abs_builddir)" \
$(GOLANG) build -o nbdkit-goramdisk-plugin.so -buildmode=c-shared
# Tests.
diff --git a/plugins/golang/examples/disk/go.mod b/plugins/golang/examples/disk/go.mod
new file mode 100644
index 00000000..b55533c8
--- /dev/null
+++ b/plugins/golang/examples/disk/go.mod
@@ -0,0 +1,4 @@
+module main
+
+replace libguestfs.org/nbdkit => ../../src/libguestfs.org/nbdkit
+require libguestfs.org/nbdkit v1.0.0
diff --git a/plugins/golang/examples/dump-plugin/go.mod b/plugins/golang/examples/dump-plugin/go.mod
new file mode 100644
index 00000000..b55533c8
--- /dev/null
+++ b/plugins/golang/examples/dump-plugin/go.mod
@@ -0,0 +1,4 @@
+module main
+
+replace libguestfs.org/nbdkit => ../../src/libguestfs.org/nbdkit
+require libguestfs.org/nbdkit v1.0.0
diff --git a/plugins/golang/examples/minimal/go.mod b/plugins/golang/examples/minimal/go.mod
new file mode 100644
index 00000000..b55533c8
--- /dev/null
+++ b/plugins/golang/examples/minimal/go.mod
@@ -0,0 +1,4 @@
+module main
+
+replace libguestfs.org/nbdkit => ../../src/libguestfs.org/nbdkit
+require libguestfs.org/nbdkit v1.0.0
diff --git a/plugins/golang/examples/ramdisk/go.mod b/plugins/golang/examples/ramdisk/go.mod
new file mode 100644
index 00000000..b55533c8
--- /dev/null
+++ b/plugins/golang/examples/ramdisk/go.mod
@@ -0,0 +1,4 @@
+module main
+
+replace libguestfs.org/nbdkit => ../../src/libguestfs.org/nbdkit
+require libguestfs.org/nbdkit v1.0.0
diff --git a/plugins/golang/src/libguestfs.org/nbdkit/go.mod b/plugins/golang/src/libguestfs.org/nbdkit/go.mod
new file mode 100644
index 00000000..6ba51bd5
--- /dev/null
+++ b/plugins/golang/src/libguestfs.org/nbdkit/go.mod
@@ -0,0 +1,4 @@
+module libguestfs.org/nbdkit
+
+// First version of golang with working module support.
+go 1.13
--
2.29.0.rc2
2
1