Product SiteDocumentation Site

libvirt 0.8.7

Virsh Command Reference

Edition 0

Justin Clift

Red Hat, Inc. Emerging Technologies - Virtualization

Nikunj A. Dadhania

Graciously provided the content for the memtune page 
Linux Developer
IBM Corporation

Legal Notice

Copyright © 2011 Red Hat, Inc.
Copyright © 2009-2010 Red Hat, Inc. and others.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. The original authors of this document, and Red Hat, designate the libvirt Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
All other trademarks are the property of their respective owners.
Abstract
This book is a work in progress (recently begun), to comprehensively document each command available in virsh, the libvirt command shell.

Preface
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. We Need Feedback!
1. Commands listed by group
2. Index of commands
2.1. attach-device
2.2. attach-disk
2.3. attach-interface
2.4. autostart
2.5. capabilities
2.6. cd
2.7. connect
2.8. console
2.9. cpu-baseline
2.10. cpu-compare
2.11. create
2.12. define
2.13. destroy
2.14. detach-device
2.15. detach-disk
2.16. detach-interface
2.17. domblkinfo
2.18. domblkstat
2.19. domid
2.20. domifstat
2.21. dominfo
2.22. domjobabort
2.23. domjobinfo
2.24. dommemstat
2.25. domname
2.26. domstate
2.27. domuuid
2.28. domxml-from-native
2.29. domxml-to-native
2.30. dump
2.31. dumpxml
2.32. echo
2.33. edit
2.34. exit
2.35. find-storage-pool-sources-as
2.36. find-storage-pool-sources
2.37. freecell
2.38. help
2.39. hostname
2.40. iface-define
2.41. iface-destroy
2.42. iface-dumpxml
2.43. iface-edit
2.44. iface-list
2.45. iface-mac
2.46. iface-name
2.47. iface-start
2.48. iface-undefine
2.49. list
2.50. managedsave-remove
2.51. managedsave
2.52. maxvcpus
2.53. memtune
2.54. migrate-setmaxdowntime
2.55. migrate
2.56. net-autostart
2.57. net-create
2.58. net-define
2.59. net-destroy
2.60. net-dumpxml
2.61. net-edit
2.62. net-info
2.63. net-list
2.64. net-name
2.65. net-start
2.66. net-undefine
2.67. net-uuid
2.68. nodedev-create
2.69. nodedev-destroy
2.70. nodedev-dettach
2.71. nodedev-dumpxml
2.72. nodedev-list
2.73. nodedev-reattach
2.74. nodedev-reset
2.75. nodeinfo
2.76. nwfilter-define
2.77. nwfilter-dumpxml
2.78. nwfilter-edit
2.79. nwfilter-list
2.80. nwfilter-undefine
2.81. pool-autostart
2.82. pool-build
2.83. pool-create-as
2.84. pool-create
2.85. pool-define-as
2.86. pool-define
2.87. pool-delete
2.88. pool-destroy
2.89. pool-dumpxml
2.90. pool-edit
2.91. pool-info
2.92. pool-list
2.93. pool-name
2.94. pool-refresh
2.95. pool-start
2.96. pool-undefine
2.97. pool-uuid
2.98. pwd
2.99. qemu-monitor-command
2.100. quit
2.101. reboot
2.102. restore
2.103. resume
2.104. save
2.105. schedinfo
2.106. secret-define
2.107. secret-dumpxml
2.108. secret-get-value
2.109. secret-list
2.110. secret-set-value
2.111. secret-undefine
2.112. setmaxmem
2.113. setmem
2.114. setvcpus
2.115. shutdown
2.116. snapshot-create
2.117. snapshot-current
2.118. snapshot-delete
2.119. snapshot-dumpxml
2.120. snapshot-list
2.121. snapshot-revert
2.122. start
2.123. suspend
2.124. ttyconsole
2.125. undefine
2.126. update-device
2.127. uri
2.128. vcpucount
2.129. vcpuinfo
2.130. vcpupin
2.131. version
2.132. vncdisplay
2.133. vol-clone
2.134. vol-create-as
2.135. vol-create-from
2.136. vol-create
2.137. vol-delete
2.138. vol-dumpxml
2.139. vol-info
2.140. vol-key
2.141. vol-list
2.142. vol-name
2.143. vol-path
2.144. vol-pool
2.145. vol-wipe
A. Revision History
Index