Repository navigation
Releases
virsh-tui v0.3.1
Added
- virsh-tui is on crates.io:
cargo install --locked virsh-tui.
Fixed
- virsh-tui builds on macOS: the Linux-only ACL xattr read is skipped there.
- On macOS the log, the
:history and the wizard draft were never written,
because there is no state directory. They now go to
~/Library/Application Support/virsh-tui, next to the config. - The test helpers that drive a pty no longer hang on macOS, and CI builds and
tests on macOS too.
virsh-tui v0.3.0
Added
- Doctor:
virsh-tui --doctor,:doctorand Settings › Doctor check the
libvirt client, the connection, permissions, networks, firmware, tools,
the config files and the terminal, with a hint for each problem; fixes
that need root are printed as commands.--doctorprints the report and
exits with 1 when a check failed. - Migrate dialog (
Space M): destination from the saved URIs or typed,
live, persistent and undefine-source options, storage copy, auto-converge
and compression, with thevirsh migratecommand shown as you change
them. Shut-off domains migrate offline. :backup <domain> <folder>runs a push backup of every disk with
virsh backup-beginand waits for libvirt's job.- Snapshot diff:
=in Snapshots shows how the current configuration
differs from the one saved in the selected snapshot. - Domain tags stored in the domain's libvirt metadata:
:tag <domain> +a -b
(Space tprefills it),/#tagfilters the list, and the overview title
shows them. - New pool dialog (
Nin Storage) fordir,netfs,logicalandfs
pools, which can also build, start and autostart the pool. - Custom actions (
[[actions]]inconfig.toml): your own commands with
{name},{uuid},{ip},{uri}and{host}placeholders, run from a
key, the palette or:run, in the terminal or as a background job. They
run without a shell, so placeholders cannot inject commands. - Read-only mode (
--read-only/-r,general.read_only): virsh runs with
-r, writes are refused before any dialog opens, and a pill in the top bar
shows it. - Per-connection profiles (
[connections.profiles."<uri>"]) override
read-only, refresh interval, thread sampling and viewer for one connection
and label it in the top bar. - Job progress from libvirt: migrations, saves, dumps, snapshots and backups
show percent, size and ETA;Ctrl-calso sendsvirsh domjobabort. - Notifications (
[notifications]) when a domain crashes or a long job
finishes, throughnotify-sendor the terminal (OSC 9 / OSC 777). - Guest agent info in Detail › Overview for running domains with a qemu-ga
channel: OS, kernel, hostname, time zone, users and file systems. - Live host CPU and memory for remote connections (
qemu+ssh://) in the
dashboard, the Host view and the wizard; the top bar shows the remote
host's name. - Keybindings editor in Settings: list, change and reset bindings, with
conflict detection. It writeskeymap.tomland keeps changes made to the
file outside the app. - Configurable domain list columns (
appearance.columns, addsipand
tags), a 12-hour or hidden clock (appearance.clock) and mouse support
(appearance.mouse: click tabs and domains, double-click to open, wheel
to scroll). - New settings: start-up sort and filter, a persistent
:history
(general.history_size), the ACPI shutdown timeout, the log level, the
start-up graph window, a bulk-action confirmation threshold, and
general.key_hintsto hide the key hints.
Changed
- Status-bar hints show their keys in the bold key colour.
- Running domains show force off (
D) in their action hints and in the
palette. - Settings open on General with the category list focused, and the cursor
is highlighted on the option's own row. - Bug reports ask for the
virsh-tui --doctoroutput.
Fixed
ggandGextend the VISUAL selection, soV Gmarks down to the last
row.- Clone requires a shut-off source, because virt-clone refuses paused
domains. - The overview keeps the blank line between the domain info and its actions
on a ~35-row right column.
virsh-tui v0.2.0
Added
-
Linux packages: each release has static (musl) binaries for x86_64 and
aarch64, as.tar.gzarchives and as.deb(Debian, Ubuntu),.rpm
(Fedora, RHEL, openSUSE) and Arch Linux packages, withSHA256SUMS. The
AUR hasvirsh-tui(built from source) andvirsh-tui-bin. -
New domain wizard:
Enteron the ISO path opens an ISO picker with the
ISOs from the storage pools and your download folder (or the folders in
[wizard] iso_dirs), a filter, a per-source view and a filesystem
browser. Onqemu:///systemit warns when the emulator probably cannot
read the chosen ISO. -
Compact layouts for the hardware editor, wizard, Settings and command
palette below their full widths:F6reviews the hardware diff,Ctrl-v
the full wizard command,Ctrl-lswitches the palette's results and
reference. Confirmation previews keep every command and scroll.
Changed
- The Host, Networks and Storage views read their networks and pools in
parallel, so they load faster on hosts with many of them. - Long-running commands use background jobs so the interface can continue to
respond. Jobs report progress and support local cancellation; a remote
operation may continue after its client stops. - The dashboard shows the metrics next to the domain list from 153 columns
(it needed 162). The list gives up its spare columns first, so common
159-column terminals get the same layout as the screenshots. - The actions in the domain overview are plain key hints (orange key,
action text) in an aligned grid instead of boxed chips; the CPU graph
adapts its height to the space left.
Fixed
- Wizard domains that are only defined (or edited with
C-e) are a single
persistent phase that boots the disk first, instead of booting the install
media forever (#5). URL installs must start after creation. Space m ifrom the hardware editor reaches the ISO picker instead of
entering INSERT mode (#6).- Every cell is painted with the theme background, so terminals with a
different default background no longer show it in margins and gutters. - Palette search matches accented and upper-case queries.
- The which-key popup appears after a lone
Space(org), not only after a
second key such asSpace s, and it no longer lets the view behind it
show through. - The new-domain wizard no longer fails on hosts without KVM: it uses the
host-modelCPU when/dev/kvmis missing, because libvirt rejects
host-passthroughthere. - A failed command reports its
ERRORline, not the firstWARNINGthat
virt-install printed before it. - A single
Zno longer runs managed save immediately:ZZquits, a lone
Zasks first. - The cursor stays on the same domain when CPU or uptime re-sort the list;
uptime sorts by time. - Actions no longer target a domain left in the detail view; leaving it with
unsaved hardware edits is refused. - Sizes need a unit and reach virsh with one (a bare
8192used to mean
8 MiB); invalid or empty fields, shrinking a disk and values past the
running maximum are caught before anything runs. :attach-disksets the image format, so qcow2 images are not attached as
raw;--liveis only used on running domains.- Volumes are no longer labelled orphans from incomplete data; inactive pools
and names with spaces are listed; pool destroy always confirms. - Bulk actions run every marked domain and report failures by name; hidden
marks are not acted on; pause/resume and autostart are decided per domain. - Undefine works on UEFI domains and domains with snapshots or a managed save.
- Upper-case letters can be typed in text fields; overlays no longer pass
keys to the view behind them. Ctrl-zin the editor or console no longer freezes the terminal; a closed
terminal stops thevirshchildren; the wizard no longer reopens its
editor in a loop; editor and console failures are reported.- Snapshots show dates, kinds, details and descriptions; storage prefills use
virsh's argument order; network gateways stay inside their subnet; host
CPU % no longer counts guest time twice;:setapplies at once.
Changed
- Terminals from 40×12 to 100×30 get a single-column layout instead of a
"terminal too small" notice. :messagesopens the full history; the:line has history and editing
keys; pasted text is never executed as keys.?has a second page with the keys of each view; the which-key popup
followskeymap.toml, and invalid key names there are reported.- Remote connections show host CPU and memory facts and can open the wizard.
- Fewer
virshprocesses: the autostart list is cached, volume and interface
lists are read once per view load, and bursts of selection changes are
merged.
virsh-tui v0.1.0
First public release.
- Domains dashboard with live CPU, memory, disk and network graphs, filters,
sorting, marks and bulk lifecycle actions - Domain detail: overview, monitor with 60 s / 5 min / 1 h history, hardware
editor with XML diff, snapshots, console and XML - Host, Networks, Storage and Events views
- New domain wizard that builds and runs
virt-install :command line with Tab completion andvirshpassthrough, command
palette, which-key popup, remappable keys- Nine built-in themes, custom themes, settings screen, 256-colour fallback
--demo,--dry-run,--probeand--dump
Download virsh-tui-v0.1.0-x86_64-unknown-linux-gnu.tar.gz from the release
page, or build from source with
cargo install --locked --git https://github.com/SyscallBrain/virsh-tui --tag v0.1.0.
The user guide covers
requirements and setup.