#!/bin/sh
# DF-3913 hardware-gate probe: documents that the audited QEMU guest cannot
# reach intel_sdvo_init() (no Intel GPU => i915 never attaches => SDVO
# sideband code never runs). Run as root on the guest.
set -x
uname -a
kldstat | grep -i -E 'drm|i915' || echo "no drm modules loaded"
ls /boot/kernel/i915.ko 2>/dev/null || echo "no i915.ko"
pciconf -l | grep -E 'vgapci|0300' || echo "no PCI display device"
echo "gate: only a QEMU Bochs VGA (chip 0x1234:1111) is present; i915/SDVO unreachable"
