Domain management virsh commandsEdit online Use the domain management virsh commands to manage KVM virtual servers. For related XML elements, see Domain configuration-XML. Other virsh commands Network management virsh commands Node-device management virsh commands Storage pool management virsh commands Volume management virsh commands attach-deviceAttaches a device to a defined virtual server.change-mediaRemoves a currently provided ISO image from a virtual SCSI-attached CD/DVD drive, or provides a different ISO image.consoleDisplays the console of a virtual server.defineCreates a persistent virtual server definition.destroyImmediately terminates a virtual server and releases any used resources.detach-deviceDetaches a device from a defined virtual server.domblklistDisplays information about the virtual block devices of a virtual server.domblkstatDisplays status information about a virtual block device.domcapabilitiesPrints an XML document that describes the hypervisor capabilities.domiflistDisplays network interface information for a running virtual server.domifstatDisplays network interface statistics for a running virtual server.dominfoDisplays information about a virtual server.domjobabortAborts the currently running virsh command related to the specified virtual server.domstateDisplays the state of a virtual server.dumpCreates a virtual server dump on the host. dumpxmlDisplays the current libvirt-internal configuration of a defined virtual server.editEdits the libvirt-internal configuration of a virtual server.hypervisor-cpu-baselineDerives a baseline CPU model with features that are a subset of all CPU descriptions in a specified XML file.hypervisor-cpu-compareCompares a CPU description in an XML file with the CPU model that the hypervisor can provide on the host.inject-nmiCauses a restart interrupt for a virtual server including a dump on the virtual server, if it is configured respectively.iothreadaddProvides an additional I/O thread for a virtual server.iothreaddelRemoves an I/O thread from a virtual server.iothreadinfoDisplays information about the I/O threads of a virtual server.listBrowses defined virtual servers.managedsaveSaves the system image of a running or a paused virtual server and terminates it thereafter. When the virtual server is started again, the saved system image is resumed.memtuneSpecifies a soft limit for the physical host memory requirements of the virtual server memory.migrateMigrates a virtual server to a different host.migrate-getspeedDisplays the maximum migration bandwidth for a virtual server in MiB/s.migrate-setmaxdowntimeSpecifies a tolerable downtime for the virtual server during the migration, which is used to estimate the point in time when to suspend it.migrate-setspeedSets the maximum migration bandwidth for a virtual server in MiB/s.rebootReboots a guest using the current libvirt-internal configuration. resumeResumes a virtual server from the paused to the running state.schedinfoDisplays scheduling information about a virtual server, and can modify the portion of CPU time that is assigned to it.shutdownProperly shuts down a running virtual server.setvcpusChanges the number of virtual CPUs of a virtual server. startStarts a defined virtual server that is shut off or crashed.suspendTransfers a virtual server from the running to the paused state.undefineDeletes a virtual server from libvirt.vcpucountDisplays the number of virtual CPUs associated with a virtual server.Parent topic: Selected virsh commands