Hey folks,

I'm running libvirt 10.1.0/qemu-system-x86-core-9.0.1-1.fc40.x86_64 on Fedora
40. I'm trying to boot an Ubuntu image in UEFI mode, like this:

    virt-install -r 2048 -n ubuntu.virt --os-variant ubuntu24.04 \
      --disk 
pool=default,size=10,backing_store=mantic-server-cloudimg-amd64.img,backing_format=qcow2
\
      --cloud-init root-ssh-key=$HOME/.ssh/id_ed25519.pub \
      --boot uefi

This results in the domain booting up and then immediately resetting:

    BdsDxe: loading Boot0001 "UEFI Misc Device" from
PciRoot(0x0)/Pci(0x2,0x3)/Pci(0x0,0x0)
    BdsDxe: starting Boot0001 "UEFI Misc Device" from
PciRoot(0x0)/Pci(0x2,0x3)/Pci(0x0,0x0)
    Reset System

    Domain creation completed.

At this point, the machine is actually powered down and needs to be
restarted manually:

    virsh start ubuntu.virt

This works fine, and the domain boots successfully, but now the cloud-init
metadata provided by the `--cloud-init` option to `virt-install` is no longer
available (because this is no longer the initial, virt-install managed boot of
the domain).

What is causing the firmware to reset the system when it first boots?

--
Lars Kellogg-Stedman <l...@redhat.com>

Reply via email to