Public bug reported: Problem was created vanilla ubuntu 19.10 kernel and release level qemu and libguestfs-tools. I tried a few different qcows and the result was the same. See attached for complete debug output.
root@linux01:~# cat /etc/os-release | grep VERSION= VERSION="19.10 (Eoan Ermine)" root@linux01:~# uname -r 5.3.0-40-generic root@linux01:~# qemu-system-s390x --version QEMU emulator version 4.0.0 (Debian 1:4.0+dfsg-0ubuntu9.4) Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers root@linux01:~# apt show libguestfs-tools Package: libguestfs-tools Version: 1:1.40.2-2ubuntu6 root@linux01:~# virt-customize --version virt-customize 1.40.2 root@linux01:~# virt-customize -a rhel-guest-image-8.1-263.s390x.qcow2 --run-command 'touch virt-hello.txt' [ 0.0] Examining the guest ... [ 1.6] Setting a random seed [ 1.6] Running: touch virt-hello.txt virt-customize: error: host cpu (x86_64) and guest arch (s390x) are not compatible, so you cannot use command line options that involve running commands in the guest. Use --firstboot scripts instead. If reporting bugs, run virt-customize with debugging enabled and include the complete output: virt-customize -v -x [...] ** Affects: linux (Ubuntu) Importance: Undecided Assignee: Skipper Bug Screeners (skipper-screen-team) Status: New ** Tags: architecture-s39064 bugnameltc-184002 severity-medium targetmilestone-inin2004 ** Tags added: architecture-s39064 bugnameltc-184002 severity-medium targetmilestone-inin2004 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1864164 Title: virt-customize fails with "host cpu (x86_64) and guest arch (s390x) are not compatible" when running on s390x host To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1864164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs