spec: Require dbus-x11 (bz 1039803)

virt-manager is one of those tools that people will often install when
no traditional desktop is present. dbus-x11 is pulled in by desktop
environments, but not by gtk3 for (presumably) legitimate reasons.
But we need it to do anything worthwhile with dbus.
Allow unsafe migrations in virt-manager

Normally, setting cache=none is required in order to ensure a consistent view
of storage between the source and destination migration hosts. However, some
configurations have that quality without resorting to the use of an O_DIRECT
open (which is what cache=none does), and hence cache=none wouldn't be
necessary.

Unfortunately, libvirt is not able to determine on it's own all the
configurations which require cache=none for migration but in the interest of
safety enforces it when it isn't otherwise able to determine migration safety.

For this reason the libvirt api has an 'unsafe' option which allows the user
to override the safety migration checks.

This patch adds a checkbox to allow unsafe migration to the 'Advanced options'
portion of the migration dialog.

Signed-off-by: Charles Arnold <carnold@suse.com>
virt-install: Drop inaccurate comment, update copyright date
guestfs: As virt-manager is multithreaded, don't use an atexit handler.

libguestfs adds an atexit handler to clean up handles on exit.  This
is convenient in single-threaded programs, but causes problems in
multithreaded programs, for example:

https://bugzilla.redhat.com/show_bug.cgi?id=1043520

Disable the atexit handler for all guestfs handles created by
virt-manager.

Note this change requires libguestfs >= 1.20.  However the change to
config.py should ensure that if an earlier version of libguestfs is
installed it should silently fall back to not using inspection.
Pull translations from transifex
Update translations from RH translators
error: Make sure labels aren't overly large
Add forgotten po files
packageutils: Let packagekit front end show the error for us (bz 1034728)
ppc64 pseries guests use vga graphics, not qxl (bz 1034693)
Disable accelerators when serial console has focus (bz 1018822)
Fix some pylint
virt-manager: use DISPLAY in the error message only when it is set

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1038496
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Add memory stats widget also to manager tree view.

(crobinso: Fix an initialization issue)
Base mem statistics on virDomainMemoryStats if available.

Attempt to query domain memory stats via virDomainMemoryStats.

(crobinso: remove the broken fallback, since it's confusing)
virt-install: Support --network source, source_mode, target

The latter two bits are needed for macvtap configuration.
docs: fix a typo in virt-install man page

s/hardisk/harddisk

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Fix toolbar toggling in details window

When refreshing the details window after it has been already
initialized, we don't change the value of the View->Toolbar item in
the menus on which then the toggle_toolbar() depends and due to the
menu keeping the old value, the toolbar might (not) be shown even if
it should not (or should) be.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1049145
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
set cov as None if python-coverage not installed

If we didn't install python-coverage, we could not
run 'python setup.py test'.
This patch fixes this little bug.

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
virtinst: add support for panic notifier device

Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>