Hi Alex, > On Jul 30, 2024, at 22:25, Alex Bennée <alex.ben...@linaro.org> wrote: > > Itaru Kitayama <itaru.kitay...@linux.dev> writes: > >> Hi, >> >> Executing virt-install with the following options: >> >> sudo virt-install --machine=virt --arch=aarch64 --name=test8 --disk >> path=/var/lib/libvirt/images/jammy.qcow2,format=qcow2,device=disk,bus=virtio,cache=none >> --memory=2048 --vcpu=1 --nographic --check all=off --features acpi=off >> --import --os-variant=ubuntu22.04 --virt-type kvm --boot >> kernel=Image-guest-cca-v4,initrd=rootfs.cpio,kernel_args='earlycon >> console=ttyAMA0 rdinit=/sbin/init rw root=/dev/vda acpi=off' --network >> none >> >> receives an error: >> >> Starting install... >> ERROR internal error: QEMU unexpectedly closed the monitor (vm='test8'): >> 2024-07-29T06:23:04.717118Z qemu-system-aarch64: could not load kernel >> '/home/realm/Image-guest-cca-v4’ >> >> I am not sure how to investigate as the kernel Image (Image-guest-cca-v4) >> can work if it is used directly with the qemu-system-aarch64, like: >> >> sudo qemu-system-aarch64 -kernel Image-guest-cca-v4 -initrd >> rootfs.cpio -cpu host -M virt,gic-version=3,acpi=off -enable-kvm -smp >> 2 -m 2048M -nographic -append 'earlycon console=ttyAMA0 >> rdinit=/sbin/init rw root=/dev/vda acpi=off' -net none > > Is there any way to get virt-install to dump its QEMU command line? > There obviously seems to be something off if it works when you build the > command line by hand.
Not in a form we wish, but structured way, see the attached log with the —debug option. Itaru.
log
Description: Binary data
> >> >> Userland is Ubuntu 24.04, and the host and guest kernels are for the >> protected VM (Realm) execution. >> Any help would be appreciated. >> >> Thanks, >> Itaru. > > -- > Alex Bennée > Virtualisation Tech Lead @ Linaro