[Bug 286280] diskinfo does not fill 'Attachment' field for virtio-blk (VirtIO Block Adapter) devices

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Apr 2025 07:38:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286280

            Bug ID: 286280
           Summary: diskinfo does not fill 'Attachment' field for
                    virtio-blk (VirtIO Block Adapter) devices
           Product: Base System
           Version: 14.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: olevole@ya.ru

virtio_blk(4)-based disks don't show parent through diskinfo(8), 'Attachment'
field is empty:

```
diskinfo -v vtbd1
vtbd1
        512             # sectorsize
        21474967552     # mediasize in bytes (20G)
        41943296        # mediasize in sectors
        4096            # stripesize
        0               # stripeoffset
                        # Disk descr.
        BHYVE-94F4-0BD5-A167    # Disk ident.
                        # Attachment
        Yes             # TRIM/UNMAP support
        Unknown         # Rotation rate in RPM

```

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