Pcornel
Virtualization · KVM / QEMU

virt-manager

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

Back to the Topic

Answer

The GUI submits libvirt operations and renders libvirt state; troubleshooting must separate client display/cache, connection/authorization, libvirt driver state, QEMU runtime and guest outcome.

Remember

  • virt-manager connected ≠ hypervisor healthy.
  • GUI state ≠ authoritative guest-internal state.
  • A disabled GUI action can reflect permissions/capability/state rather than a QEMU failure.
  • Closing virt-manager does not normally stop the underlying VM.

First checks

  • virt-manager --connect qemu+ssh://<host>/system — remote GUI
  • virsh -c qemu+ssh://<host>/system list — same via CLI
  • id; groups | grep libvirt — user in libvirt group

Commands

virsh

Verify in this order

virt-manager → SSH → libvirt

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

KVM / QEMU → virt-manager reference map

BoundaryWhat to verifyEvidence limit
Definition/configExpected KVM / QEMU → virt-manager definition or configuration is presentConfigured state does not prove runtime behavior
RuntimeRelevant KVM/QEMU/libvirt object or process is active without matching errorsRuntime state does not prove dependencies or guest outcome
DependencyHost CPU/memory, storage, network or device backend required by this path is healthyLocal success does not prove the next boundary
AcceptanceOriginal guest/application test succeeds after the change or observationRequired for end-to-end closure

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

Confirmation

Confirm action

Continue?