LPI
305-300 · Question #48
Which command within virsh lists the virtual machines that are available on the current host?
The correct answer is A. list-all. The virsh command used to list all virtual machines, including both running and stopped domains, is virsh list --all. The option list-all directly corresponds to this functionality. The plain list command only shows running domains.
Virtualization
Question
Which command within virsh lists the virtual machines that are available on the current host?
Options
- Alist-all
- Blist
- Clist-vm
- Dshow
- Eview
How the community answered
(34 responses)- A85% (29)
- B6% (2)
- C3% (1)
- E6% (2)
Explanation
The virsh command used to list all virtual machines, including both running and stopped domains, is virsh list --all. The option list-all directly corresponds to this functionality. The plain list command only shows running domains.
Topics
#virsh#list-all#virtual machine management#KVM
Community Discussion
No community discussion yet for this question.