# S2 fixture (BAD): memory/memory_unit are correct, but the domain does NOT enable ACPI.
# libvirt then renders the machine `acpi=off`, and a FreeBSD/OPNsense guest PANICS at
# interrupt init ("running without device atpic requires a local APIC") and spins in ddb
# at 100% CPU while still reporting as "running". That was the SECOND half of the
# 2026-07-12 boot incident. scripts/opentofu-validate.sh S2 MUST reject this.
#
# Note this fixture PASSES S1 -- it exists to prove S2 catches its own class independently.
resource "libvirt_domain" "no_acpi" {
  name        = "s2-bad"
  memory      = 2048
  memory_unit = "MiB"
  vcpu        = 2
  type        = "kvm"
  running     = true
}
