Desktop tool for managing virtual machines via libvirt
Go to file
Michael Weiser 4f8a27688d virtManager: object: domain: Refactor guest time setting
Sleeping in a loop waiting for the qemu guest agent to come online
leaves an annoying progress dialog while the domain may actually be
fully useable already. Additionally, multiple progress dialogs can
actually accumulate on screen if the user manages to suspend/resume fast
enough or the timeout is just long enough.

To avoid these, we want to defer retries into a separate thread to allow
the progress dialog to disappear immediately after the actual action
completed.

In preparation for that, add a new class _vmmDomainSetTimeThread that
will eventually manage that separate thread for guest time setting
operations. Move the current code for waiting for the qemu guest agent
into it without any semantic changes.

Make set_time() and agent_read() of vmmDomain accessible from the
outside so that _vmmDomainSetTimeThread can call back into them. Add
has_agent() to be able to find out if the domain has an agent configured
without leaking the actual agent config.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Michael Weiser <michael.weiser@gmx.de>
Suggested-by: Cole Robinson <crobinso@redhat.com>
2020-01-14 14:10:28 -05:00
data data: appstream: add keywords and translations link 2019-06-14 16:09:29 -04:00
man man: Document --autoconsole 2019-11-25 17:20:37 -05:00
po Prep for release 2.2.1 2019-07-03 20:25:19 -04:00
tests virt-install: Set default memory to appease lxc:/// 2020-01-14 13:10:03 -05:00
ui createpool: Add more coverage testing 2019-07-03 19:37:01 -04:00
virtconv Switch to more traditional logging structure 2019-06-17 00:12:31 -04:00
virtinst cli: Add --serial type= arg, with back compat alias char_type 2019-12-24 12:02:53 -05:00
virtManager virtManager: object: domain: Refactor guest time setting 2020-01-14 14:10:28 -05:00
.coveragerc virtinst: Add full test coverage for xml*.py files 2019-06-09 19:00:03 -04:00
.gitignore Move virtcli/cliconfig.py to virtinst/buildconfig.py 2019-06-14 17:12:19 -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
CONTRIBUTING.md docs: Multiple updates 2019-05-16 16:31:27 -04:00
COPYING Refresh GPL text with latest FSF address & fix spec file license tag 2007-11-20 11:12:20 -05:00
INSTALL.md INSTALL.md: We enforce python >= 3.4, not >= 3.3 2019-06-18 09:55:08 -04:00
MANIFEST.in Move virtcli/cliconfig.py to virtinst/buildconfig.py 2019-06-14 17:12:19 -04:00
NEWS.md Prep for release 2.2.1 2019-07-03 20:25:19 -04:00
pylintrc Move tests/pylint.cfg to pylintrc 2019-01-30 17:25:14 -05:00
README.md docs: Multiple updates 2019-05-16 16:31:27 -04:00
setup.cfg setup.cfg: Drop unicode, it upsets CI 2019-01-30 18:01:20 -05:00
setup.py Install the AppStream file to the canonical location 2020-01-14 12:40:44 -05:00
virt-clone Switch to more traditional logging structure 2019-06-17 00:12:31 -04:00
virt-convert cli: cloudinit: default to --autoconsole text with --cloud-init 2019-11-25 14:03:49 -05:00
virt-install virt-install: Set default memory to appease lxc:/// 2020-01-14 13:10:03 -05:00
virt-manager virtManager: Move a lot of misc files to lib/ 2019-06-17 00:12:32 -04:00
virt-manager.spec.in Install the AppStream file to the canonical location 2020-01-14 12:40:44 -05:00
virt-xml virt-xml: fix defined_xml_is_unchanged 2019-12-03 13:04:37 +01: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
  • virt-convert: Convert VMX or OVF configs to libvirt virtual machines

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