Desktop tool for managing virtual machines via libvirt
Go to file
Giuseppe Scrivano 5120b90fc3 osdict: lazy load data from libosinfo
I've noticed that virt-manager took more time to startup after we
started reading OSes data from libosinfo.

Now the libosinfo data is loaded the first time it is accessed,
without pre-loading it.

This could be further improved by not loading completely an _OsVariant
object but only the data that is requested.

With the lazy load optimization (best of 10 attempts):

$ echo yes | time ./virt-xml --connect __virtinst_test__test:////home/gscrivano/src/virt-manager/tests/testdriver.xml,predictable --confirm test --edit --cpu host-passthrough > /dev/null
0.13user 0.02system 0:00.22elapsed 74%CPU (0avgtext+0avgdata 26756maxresident)k

Without (best of 10 attempts):

$ echo yes | time ./virt-xml --connect __virtinst_test__test:////home/gscrivano/src/virt-manager/tests/testdriver.xml,predictable --confirm test --edit --cpu host-passthrough > /dev/null
1.26user 0.04system 0:01.36elapsed 95%CPU (0avgtext+0avgdata 57996maxresident)k
0inputs+16outputs (0major+17499minor)pagefaults 0swaps

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2014-03-29 21:28:50 +01:00
.tx Prep for release 0.10.0 2013-06-19 18:37:21 -04:00
data Add a gsetting key to disable keyboard grabbing 2014-03-10 14:54:58 -04:00
man virt-install: Drop support for --os-variant list 2014-03-24 12:40:42 +01:00
po Prep for release 1.0.1 2014-03-22 18:38:44 -04:00
tests addhw: add CharDevice.source_channel 2014-03-25 17:42:57 -04:00
ui virt-manager: update copyright years in the About box 2014-03-26 16:12:13 +01:00
virtcli Prep for release 1.0.1 2014-03-22 18:38:44 -04:00
virtconv formats: make sure 'unar' is existed 2014-03-06 09:22:03 +08:00
virtinst osdict: lazy load data from libosinfo 2014-03-29 21:28:50 +01:00
virtManager createinterface: set right ip address for ipv6 2014-03-27 22:01:21 +08:00
.gitignore virt-xml: Initial commit, basic set of tests 2014-01-25 17:20:29 -05:00
.mailmap Add .mailmap 2013-04-03 18:13:25 -04:00
autobuild.sh make autobuild.sh work 2013-04-10 17:49:18 -04:00
COPYING Refresh GPL text with latest FSF address & fix spec file license tag 2007-11-20 11:12:20 -05:00
HACKING tests: Add test_initrd_inject command 2013-09-28 16:50:08 -04:00
INSTALL INSTALL: Fix typo in RPM generation command 2013-05-08 14:22:26 -04:00
MANIFEST.in Remove AUTHORS 2013-04-21 14:05:06 -04:00
NEWS Prep for release 1.0.1 2014-03-22 18:38:44 -04:00
README libosinfo: give special emphasis in README 2014-03-25 22:17:41 +08:00
setup.py Use proper python version 2014-02-12 21:55:32 +01:00
virt-clone Use proper python version 2014-02-12 21:55:32 +01:00
virt-convert Use proper python version 2014-02-12 21:55:32 +01:00
virt-image Use proper python version 2014-02-12 21:55:32 +01:00
virt-install virt-install: Drop support for --os-variant list 2014-03-24 12:40:42 +01:00
virt-manager Use proper python version 2014-02-12 21:55:32 +01:00
virt-manager.spec.in virt-manager: add dependency to libosinfo 2014-03-24 12:40:42 +01:00
virt-xml Use proper python version 2014-02-12 21:55:32 +01:00

  Virtual Machine Manager
  =======================

This application provides a graphical tool for managing virtual machines
via the libvirt library.

The front end of the application uses the GTK / Glade libraries for
all user interaction components. The back end uses libvirt for managing
Qemu/KVM and Xen virtual machines, as well as LXC containers. The UI is
primarily tested with KVM, but is intended to be reasonably portable to any
virtualization backend libvirt supports.


  Pre-requisite software
  ======================

virt-manager was ported to GTK3 at the beginning of 2013. Older GTK3
or pygobject3 versions likely will not work for running virt-manager.

Earliest tested versions of major components:

  python >= 2.6
  gtk3 >= 3.6
  libvirt-python >= 0.4.0
  pygobject3 >= 3.4
  libosinfo >= 0.2.10

A more detailed dependency list can be found in virt-manager.spec.in.


  Contact
  =======

All comments / suggestions / patches should be directed to the virt-tools-list
mailing list:

  http://www.redhat.com/mailman/listinfo/virt-tools-list

For IRC we use #virt on OFTC.

For bug reporting info, see:

  http://virt-manager.org/page/BugReporting

There are further project details on the website:

  http://virt-manager.org/

See the HACKING file for info about submitting patches or contributing
translations.