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

mandaemonsReviewed March 21, 2026

libvirtd command-line options

These are the libvirtd command line switches operators still run into on classic deployments, compatibility wrappers, and older automation. Listen mode Use listen only when the host is intentionally exposing traditional

libvirtdoptionsdaemon flagslisten

These are the libvirtd command-line switches operators still run into on classic deployments, compatibility wrappers, and older automation.

Listen mode

BASH
libvirtd --listen

Use --listen only when the host is intentionally exposing traditional daemon listeners. On modern systemd hosts, prefer the socket-activated listeners and proxy units instead of forcing the daemon to own the sockets itself.

Verbose logging

BASH
libvirtd --verbose

--verbose increases daemon logging detail and is mainly useful during foreground debugging or when reproducing a startup problem.

Idle timeout

BASH
libvirtd --timeout 120

--timeout lets the daemon exit after a period of inactivity. It is most relevant in compatibility scenarios where you want daemon-style behavior without leaving the process resident forever.

Custom config path

BASH
libvirtd --config /etc/libvirt/libvirtd.conf

Use --config when you need to point libvirtd at a non-default configuration file during controlled testing or staging.

Local help

BASH
libvirtd --help

Use --help for a local flag summary. It does not replace understanding whether the host should run the compatibility daemon at all.

Related

  • libvirtd overview and the compatibility daemon
  • Socket activation versus traditional daemon mode
  • Remote TLS, TCP, and auth basics

On this page

  • Listen mode
  • Verbose logging
  • Idle timeout
  • Custom config path
  • Local help