From: "Alex Bennée" <alex.bennee@linaro.org>
To: Itaru Kitayama <itaru.kitayama@linux.dev>
Cc: qemu-devel@nongnu.org,
Jean-Philippe Brucker <jean-philippe@linaro.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>
Subject: Re: QEMU unexpectedly closed the monitor
Date: Tue, 30 Jul 2024 14:25:25 +0100 [thread overview]
Message-ID: <87le1jc8qi.fsf@draig.linaro.org> (raw)
In-Reply-To: <8AFDCC22-C476-45EF-9119-2E3C9A2A91C3@linux.dev> (Itaru Kitayama's message of "Mon, 29 Jul 2024 15:33:02 +0900")
Itaru Kitayama <itaru.kitayama@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.
>
> 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
next prev parent reply other threads:[~2024-07-30 14:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 6:33 QEMU unexpectedly closed the monitor Itaru Kitayama
2024-07-30 13:25 ` Alex Bennée [this message]
2024-07-30 23:04 ` Itaru Kitayama
2024-07-31 9:52 ` Alex Bennée
2024-07-31 10:29 ` Peter Maydell
2024-07-31 10:34 ` Daniel P. Berrangé
2024-08-01 7:20 ` Itaru Kitayama
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87le1jc8qi.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=itaru.kitayama@linux.dev \
--cc=jean-philippe@linaro.org \
--cc=mathieu.poirier@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.