Skip to navigationSkip to content
libvirtd docs
InteractiveCommands

Manual nav

Search `/` · tty `~` · g top · G bottom

Portal

  • Manual index
  • Interactive lab
  • Command explorer
Foundations5 sections
  • libvirtd Overview1
  • Host & Installation2
  • Architecture & Concepts6
  • Domains2
  • Domain XML2
Subsystems6 sections
  • Daemons3
  • virsh3
  • Virtual Networking5
  • Virtual Storage4
  • Virtualization Security3
  • Remote libvirt1
Operations5 sections
  • Migration2
  • Snapshots & Backup2
  • Performance3
  • Troubleshooting2
  • Reference2
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 modern daemon model
  • 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