[Bug 288886] bhyve fails to start Fedora guest

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Aug 2025 18:24:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288886

            Bug ID: 288886
           Summary: bhyve fails to start Fedora guest
           Product: Base System
           Version: 14.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: dwmw2@infradead.org

Running FreeBSD-14.3 on an Amazon EC2 c6i.metal instance I used a Fedora Cloud
image based
https://download.fedoraproject.org/pub/fedora/linux/releases/42/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-42-1.1.x86_64.qcow2
and converted it to a raw image with qemu-img

It doesn't work. First time I try, this happens:

root@freebsd:/home/ec2-user # bhyve -c 2 -m 2048 -A -H -P -s 0:0,hostbridge -s
1:0,virtio-net,tap0 -s 2:0,ahci-hd,Fedora-Cloud-Base-Generic-42-1.1.x86_64.raw
-s 31,lpc -l com1,stdio vm0
virtual machine cannot be booted


Second attempt (immediately after the first, repeating the same command):

root@freebsd:/home/ec2-user # bhyve -c 2 -m 2048 -A -H -P -s 0:0,hostbridge -s
1:0,virtio-net,tap0 -s 2:0,ahci-hd,Fedora-Cloud-Base-Generic-42-1.1.x86_64.raw
-s 31,lpc -l com1,stdio vm0
vm exit[0]
        reason          VMX
        rip             0x0000000000000000
        inst_length     0
        status          0
        exit_reason     33 (VM-entry failure due to invalid guest state)
        qualification   0x0000000000000000
        inst_type               0
        inst_error              0
Abort trap
          root@freebsd:/home/ec2-user # sh: turning off NDELAY mode

-- 
You are receiving this mail because:
You are the assignee for the bug.