[Bug 260178] bhyve: passthru makes ahci-hd boot fail

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Dec 2021 19:24:14 UTC

            Bug ID: 260178
           Summary: bhyve: passthru makes ahci-hd boot fail
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: bhyve
          Severity: Affects Only Me
          Priority: ---
         Component: bhyve
          Assignee: virtualization@FreeBSD.org
          Reporter: bz@FreeBSD.org

Next funny problem with passthru;  I am booting from a raw disk which works

        -S \
        -s 0,hostbridge \
        -s 3,ahci-hd,/dev/da0,sectorsize=512 \
        -s 10,virtio-net,tap1 \
        -s 31,lpc \

Now I added a passthru device to the same bhyve config (-S was there already)
and the boot starts to fail:

        -s 11,passthru,2/0/0 \

BdsDxe: failed to load Boot0001 "UEFI BHYVE SATA DISK BHYVE-9E55-9829-EEEE"
from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0): Not Found

Removing the passthru device from this config and the virtual machine boots
just fine again.

Anyone suggestions where to start before I dive in?

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