Skip to navigationSkip to content
libvirtd docs
Commands

Manual nav

Search `/` or jump with `g` / `G`.

Portal

  • Home manual
  • Command explorer
Foundations6 sections
  • Overview1
  • Installation2
  • Platform1
  • Concepts5
  • Domains2
  • Domain XML2
Subsystems9 sections
  • Identity1
  • Automation2
  • Daemons3
  • virsh3
  • Networking5
  • Storage4
  • Security3
  • Observability2
  • Remote Access1
Operations6 sections
  • Migration2
  • Backup2
  • Performance3
  • Recovery1
  • Troubleshooting2
  • References2

/ search · g top · G quickstart

mandomainsReviewed July 15, 2026

Consoles, graphics, and the QEMU guest agent

Serial consoles, graphical consoles, and the guest agent solve different problems. Configure at least one recovery path that does not depend on guest networking. Serial console The guest kernel and init system must also

consolespicevncqemu-guest-agent

Serial consoles, graphical consoles, and the guest agent solve different problems. Configure at least one recovery path that does not depend on guest networking.

Serial console

BASH
virsh console guest01
virsh ttyconsole guest01

The guest kernel and init system must also expose a serial terminal, commonly ttyS0.

Graphics endpoint

BASH
virsh domdisplay guest01
virsh vncdisplay guest01

Bind graphical listeners conservatively. A wildcard VNC listener without transport protection exposes a sensitive console boundary.

Guest agent evidence

BASH
virsh qemu-agent-command guest01 '{"execute":"guest-ping"}'
virsh domifaddr guest01 --source agent
virsh domfsinfo guest01

The agent enables better shutdown, address discovery, filesystem quiescing, and introspection. It does not replace host-side monitoring.

Related

  • Domain lifecycle and state transitions
  • CPU, memory, and device model
  • Remote TLS, TCP, and auth basics

On this page

  • Serial console
  • Graphics endpoint
  • Guest agent evidence