Desktop tool for managing virtual machines via libvirt
Go to file
Cole Robinson 8560138cf2 cli: Add --xml xpath option for virt-install and virt-xml
The --xml option allows users to request raw XML edits to virt-install
or virt-xml generated XML. This gives users a bit of a workaround
incase we don't have proper support for some XML property. The --xml
option can gain more features in the future if it makes sense, like
setting XML namespaces for example.

Basic usage is like: virt-install --xml ./@foo=bar ...

Which will change the generated <domain> XML to have

<domain foo='bar' ...

virt-xml works similarly. It can only be combined with --edit currently.
This only works with xpaths rooted against the entire document.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2020-09-11 15:04:37 -04:00
.github/workflows CI: Add ci.yml 2020-07-18 19:28:04 -04:00
data console: Add option to disable autoconnect 2020-09-09 19:59:31 -04:00
man cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
po Translated using Weblate (Dutch) 2020-07-20 13:05:50 -04:00
tests cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
ui console: Add option to disable autoconnect 2020-09-09 19:59:31 -04:00
virtinst cli: Add --xml xpath option for virt-install and virt-xml 2020-09-11 15:04:37 -04:00
virtManager uitests: details: use treeview search to speed up hardware selection 2020-09-11 12:22:25 -04:00
.coveragerc xmlutil: Centralize all 'programming error' exceptions 2020-07-17 19:08:27 -04:00
.gitignore Add the translation catalog 2020-07-11 14:59:56 -04:00
.gitpublish git: add a git publish configuration file 2018-04-30 13:35:32 -04:00
.mailmap Add .mailmap 2013-04-03 18:13:25 -04:00
.pylintrc Rename pylintrc -> .pylintrc 2020-07-17 16:00:32 -04:00
CONTRIBUTING.md CONTRIBUTING: Fix uitests test name 2020-07-24 19:23:29 +02:00
COPYING Refresh GPL text with latest FSF address & fix spec file license tag 2007-11-20 11:12:20 -05:00
DESIGN.md DESIGN.md: Mention existing VM name search support 2020-09-11 11:12:20 -04:00
INSTALL.md spec: Move virt-manager.spec.in -> virt-manager.spec 2020-07-17 16:00:32 -04:00
MANIFEST.in Add DESIGN.md 2020-01-26 12:14:18 -05:00
NEWS.md Prep for release 2.2.1 2019-07-03 20:25:19 -04:00
README.md Remove virt-convert 2020-01-24 17:04:29 -05:00
setup.cfg setup: Add --tb=native to pytest options 2020-08-26 15:20:06 -04:00
setup.py Rename pylintrc -> .pylintrc 2020-07-17 16:00:32 -04:00
virt-clone Move virt-* code into their modules 2020-01-26 18:27:20 -05:00
virt-install Move virt-* code into their modules 2020-01-26 18:27:20 -05:00
virt-manager Move virt-* code into their modules 2020-01-26 18:27:20 -05:00
virt-manager.spec spec: Move virt-manager.spec.in -> virt-manager.spec 2020-07-17 16:00:32 -04:00
virt-xml Move virt-* code into their modules 2020-01-26 18:27:20 -05:00

Virtual Machine Manager

virt-manager is a graphical tool for managing virtual machines via libvirt. Most usage is with QEMU/KVM virtual machines, but Xen and libvirt LXC containers are well supported. Common operations for any libvirt driver should work.

Several command line tools are also provided:

  • virt-install: Create new libvirt virtual machines
  • virt-clone: Duplicate existing libvirt virtual machines
  • virt-xml: Edit existing libvirt virtual machines/manipulate libvirt XML

For dependency info and installation instructions, see the INSTALL.md file. If you just want to quickly test the code from a git checkout, you can launch any of the commands like:

./virt-manager --debug ...

Contact