← 返回命令列表

Linux command

virsh-domblklist 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List domain block devices

virsh domblklist [domain]

Show with details

virsh domblklist [domain] --details

说明

virsh domblklist lists block devices attached to a VM. Shows device targets and source paths. Useful for identifying disk images and CD-ROMs attached to VMs.

参数

--details
Include type and device info.
--inactive
Show inactive config.

FAQ

What is the virsh-domblklist command used for?

virsh domblklist lists block devices attached to a VM. Shows device targets and source paths. Useful for identifying disk images and CD-ROMs attached to VMs.

How do I run a basic virsh-domblklist example?

Run `virsh domblklist [domain]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --details do in virsh-domblklist?

Include type and device info.