← All commands
Topic hub Containers & Virtualization
Windows Linux Containers & Virtualization Command guide Virtual Machines

Windows Hyper-V Stop-VM equivalent in Linux

Requests a graceful shutdown of a libvirt VM.

Windows Hyper-V Stop-VM
→
Linux equivalents
Debian/Ubuntu libvirt-daemon-system
virsh shutdown VM
Fedora libvirt
virsh shutdown VM
Arch libvirt
virsh shutdown VM

Overview

What this command does

On Windows, "Hyper-V Stop-VM" is used to shutdown virtual machine. On Linux, the closest practical mapping shown here is "virsh shutdown VM". Requests a graceful shutdown of a libvirt VM. This reference is grouped under Containers & Virtualization → Virtual Machines.

Migration tip: The Linux command "virsh shutdown VM" stays consistent across the compared distributions, but the package or base component can differ. Use the Debian/Ubuntu, Fedora or Arch row that matches the system you are administering.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows Hyper-V Stop-VM maps to virsh shutdown VM for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

Practical tasks

Common use cases

Shutdown virtual machine

Requests a graceful shutdown of a libvirt VM.

virsh shutdown VM

Shutdown virtual machine

virsh --help

Show command help when supported

man virsh

Open the manual page when installed

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

virsh shutdown VM

Walkthrough

Examples with explanations

# Windows equivalent: Hyper-V Stop-VM
virsh shutdown VM

Reference

Common options and variations

Command or optionUse
virsh shutdown VMShutdown virtual machine
virsh --helpShow command help when supported
man virshOpen the manual page when installed

Distro differences

Debian/Ubuntu vs Fedora vs Arch

The command "virsh shutdown VM" is the same in all three rows, while package or base details differ: Debian/Ubuntu uses libvirt-daemon-system; Fedora uses libvirt; Arch uses libvirt.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu libvirt-daemon-system virsh shutdown VM Same command on this distribution.
Fedora libvirt virsh shutdown VM Same command on this distribution.
Arch libvirt virsh shutdown VM Same command on this distribution.

Keep learning

Related Containers & Virtualization commands