qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* QEMU unexpectedly closed the monitor
@ 2024-07-29  6:33 Itaru Kitayama
  2024-07-30 13:25 ` Alex Bennée
  0 siblings, 1 reply; 7+ messages in thread
From: Itaru Kitayama @ 2024-07-29  6:33 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jean-Philippe Brucker, Mathieu Poirier

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

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-01  7:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29  6:33 QEMU unexpectedly closed the monitor Itaru Kitayama
2024-07-30 13:25 ` Alex Bennée
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).