Skip to content

Configuring nEMU

Boris Stepanenko edited this page Aug 20, 2021 · 6 revisions

nEMU config file

  • location - $HOME/.nemu.cfg

Syntax

[section_1]
# Comment
parameter_1 = value_1
parameter_2 = value_2
[section_2]
parameter_3 = value_3
...

Parameters

[main]

  • vmdir - path for virtual machines storage directory
  • db - path to database file
  • debug_path - path to debug log file
  • hl_color - highlight color of running VM's (from xterm-256 colors in HEX)
  • cursor_style - change cursor style for nemu

[viewer]

  • spice_default - remote viewer default protocol (1 - spice, 0 - vnc)
  • vnc_bin - vnc client path
  • vnc_args - vnc client args (%t - title, %p - port)
  • spice_bin - spice client path.
  • spice_args - spice client args (%t - title, %p - port)
  • listen_any - listen for vnc|spice connections (0 - only localhost, 1 - any address)

[qemu]

  • qemu_bin_path - path to directory, where QEMU binary can be found
  • targets - comma separated QEMU system targets installed (e.g. x86_64)
  • enable_log - log last QEMU command (0 - disabled, 1 - enabled)
  • log_cmd - log path
  • snapshot_timeout - QMP snapshot command timeout (s)

[nemu-monitor]

  • autostart - Auto start monitoring daemon (0 - disabled, 1 - enabled)
  • sleep - daemon sleep interval (ms) (default: 1000)
  • pid - monitoring daemon pid file path
  • dbus_enabled - enables D-Bus feature (0 - disabled, 1 - enabled)
  • remote_control - enable remote control via nemu-droid (default: disabled)
  • remote_port - remote control port (default: 20509)
  • remote_tls_cert - path to remote control public certificate
  • remote_tls_key - path to remote control private key
  • remote_salt - remote control password salt
  • remote_hash - remote control "password+salt" sha256 hash
Clone this wiki locally