Red Hat Bugzilla – Bug 247755
Virt-manager calls virDomainSuspend twice
Last modified: 2008-01-22 10:38:34 EST
Description of problem:
When the Pause button above the console on a domain is pressed,
virt-manager appears to call the underlying virDomainSuspend
function twice in a row.
The same thing may also be causing QEMU driver to fail:
Version-Release number of selected component (if applicable):
virt-manager (apparently 0.4.0-2.fc7)
I instrumented libvirt.py so that it printed out when suspend and resume
were being called. In the main list-of-domains window, right clicking and
selecting "Pause" from the context menu calls the underlying virDomainSuspend
once. Selecting "Resume" from the context menu calls virDomainResume once.
However, in the Details or Console windows, clicking the "Pause" toolbar
button calls virDomainSuspend _twice_, clicking again calls virDomainResume
I posted a patch upstream which fixes this:
Fixed in 0.5.0 or later.
virt-manager-0.5.3-1.fc7, gtk-vnc-0.3.2-1.fc7, python-virtinst-0.300.2-1.fc7, virt-viewer-0.0.2-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update virt-manager gtk-vnc python-virtinst virt-viewer'
virt-manager-0.5.3-1.fc7, gtk-vnc-0.3.2-1.fc7, python-virtinst-0.300.2-1.fc7, virt-viewer-0.0.2-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.