Pcornel
Virtualization · VM Hardware › Storage Controllers

SATA

Cheat sheet · https://pcornel.dk/topic.php?topic=3465

Back to the Topic

Answer

SATA/AHCI provides a familiar modern commodity storage interface with broad guest support. It remains a virtual protocol presentation independent of the physical host storage medium.

Remember

  • Virtual SATA is a guest-facing interface, not proof of physical SATA storage.
  • AHCI driver support is typically guest-side.
  • Hot-plug and boot behavior vary by virtual platform/firmware.
  • Performance is bounded by both virtual controller overhead and backing storage.

First checks

  • qm config <vmid> | grep sata — SATA devices
  • virsh dumpxml <vm> | grep "bus='sata'" — libvirt SATA (q35)
  • lsblk -o NAME,TRAN — guest transport

Verify in this order

guest → AHCI emulation → backend

Where it usually breaks

First mismatch in host capability/IOMMU/NUMA → hypervisor allocation/mapping → virtual hardware model → guest driver/enumeration → workload use; preserve identity/native error/pre-state before mutation.

VM Hardware → Storage Controllers → SATA reference map

BoundaryMeaningEvidence limit
ControllerAHCI/SATA-styleGuest interface
DeviceDisk/optical attachmentPort-based
DriverGuest AHCI/SATARequired for OS use
BackingHost storage backendIndependent

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3465

Confirmation

Confirm action

Continue?