Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Virtual Devices

Direct answer

Virtual devices include removable media, USB, serial interfaces, TPMs and display/GPU devices. Each has a presentation layer, a guest driver/consumer and usually a host-side backing or state object.

When to use this

Use it when diagnosing device presence versus usability and when deciding whether the device is emulated, virtualized, mediated or passed through.

First 30 seconds

1. Add only needed devices.

2. Remove ISO after install.

3. USB/GPU passthrough pins the VM.

4. TPM needs UEFI and storage for state.

5. Serial console helps troubleshooting.

Operational verification

device config → guest drivers

Evidence · next step

Inspect the next unproven device/backing/guest boundary and test the original function.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show migration compatibility, alternate backing paths or security guarantees beyond the examined configuration.

Next check: Inspect the next unproven device/backing/guest boundary and test the original function.

Platform / version applicability
virtualization-hardware
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-hardware
Scope / prerequisiteUse it when diagnosing device presence versus usability and when deciding whether the device is emulated, virtualized, …
What next?3 suggested next steps
Child topics (this level)6
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM device config → hypervisor device instance → host backing/state → guest driver → guest consumer/workload

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • Device listed in VM configuration is not proof it is active or usable in the guest.
  • Emulated/paravirtual devices differ from passthrough ownership.
  • Guest drivers and host backing/state are independent boundaries.
  • Some devices constrain live migration, snapshots or security handling.
Key checks
  • virsh dumpxml <vm> | grep -E 'disk device|usb|serial|tpm|video' — devices (libvirt)
  • qm config <vmid> — Proxmox devices
  • Get-VMDvdDrive,Get-VMKeyProtector — Hyper-V devices
ReferenceWhat it is1 section · depth on demand

Common virtual devices

DeviceUseCaution
CD/DVD with ISOInstallationDisconnect after use (blocks migration if ISO is local)
USBLicence dongles, tokensTies VM to a host
SerialConsole for network appliances/LinuxLog output
vTPMBitLocker, Windows 11Needs key provider/backup
GPUVDI, AI workloadsPassthrough/vGPU limits migration

Remove unused devices (floppy, serial, USB) to reduce attack surface.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Device presence shows inventory only, but it does not show backing availability, driver correctness or application use.

Deep passthrough belongs to PCI & Device Passthrough; networking/storage-specific virtual devices belong to their branches.

In depth

Other virtual devices round out a VM: optical drives, USB controllers, serial/parallel ports, display adapters, sound, watchdog, RNG and TPM. Remove what the VM does not need — every device is attack surface and some (floppy, serial, USB) are common in security hardening guides.

qm config 120
virsh dumpxml vm1 | grep -E '<(controller|input|sound|video|serial|watchdog|rng|tpm)'

A virtio-rng device feeds entropy to guests, helping early-boot crypto on headless VMs.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-hardware current

Authoritative/upstream documentation reviewed for bounded claims in VM Hardware → Virtual Devices. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
virtual devices vmvm peripheralsguest virtual hardware devices
Embedded reference data

Quick lookup tables

VM Hardware → Virtual Devices reference map

Fast VM-hardware boundaries for VM Hardware → Virtual Devices.

BoundaryMeaningEvidence limit
Config objectDevice declared for VMControl plane
Runtime deviceHypervisor presents itRuntime boundary
Guest driverOS recognizes/operates deviceGuest boundary
Backing/stateHost resource/media/keysSeparate health/security
Confirmation

Confirm action

Continue?