virt-manager/virtManager
Richard W.M. Jones 006fcd3856 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.
2013-12-16 12:55:33 -05:00
..
__init__.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
about.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
addhardware.py show read-only check button when add fs for lxc container 2013-11-26 10:08:56 -05:00
asyncjob.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
autodrawer.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
baseclass.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
choosecd.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
clone.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
config.py guestfs: As virt-manager is multithreaded, don't use an atexit handler. 2013-12-16 12:55:33 -05:00
connect.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
connectauth.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
connection.py Misc improvements to some debug messages 2013-11-09 18:17:29 -05:00
console.py serialcon: Release the text console when the VM window is closed (bz 1016445) 2013-11-09 17:54:47 -05:00
create.py create: Fix default qemu-ga setup (bz 1016613) 2013-11-09 18:52:05 -05:00
createinterface.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
createnet.py network: Add install() command, remove function from vmmConnection 2013-09-30 15:38:34 -04:00
createpool.py virt-manager: correctly initialize the create pool wizard page number 2013-12-02 10:45:12 +01:00
createvol.py virt-manager: Default to qcow2 on kvm 2013-10-02 15:34:34 -04:00
delete.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
details.py add button to remove cpu feature 2013-12-04 18:34:53 -05:00
domain.py Allow unsafe migrations in virt-manager 2013-12-14 12:23:37 -05:00
engine.py engine: Fix started libvirt daemon requirement 2013-10-29 11:24:52 +01:00
error.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
graphwidgets.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
host.py host: Print iscsi volume key as well in volume list 2013-12-05 09:17:29 -05:00
inspection.py guestfs: As virt-manager is multithreaded, don't use an atexit handler. 2013-12-16 12:55:33 -05:00
interface.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
keyring.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
libvirtobject.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
manager.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
mediadev.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
migrate.py Allow unsafe migrations in virt-manager 2013-12-14 12:23:37 -05:00
module_trace.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
netdev.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
network.py Streamline support checks 2013-10-06 10:08:04 -04:00
nodedev.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
packageutils.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
preferences.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
serialcon.py serialcon: Release the text console when the VM window is closed (bz 1016445) 2013-11-09 17:54:47 -05:00
snapshots.py snapshots: Another s/State/VM State/ change 2013-11-10 11:17:12 -05:00
storagebrowse.py storage: Merge duplicate vol list populating 2013-12-04 19:01:52 -05:00
storagepool.py host: Print iscsi volume key as well in volume list 2013-12-05 09:17:29 -05:00
systray.py headers: update "Red Hat, Inc." copyright for the year 2013 2013-10-28 17:22:26 +01:00
uihelpers.py virtManager: when present, prefer the user specified in capabilities 2013-11-18 09:05:22 +01:00