[Libvir] Double call to domainSuspend callback
Daniel P. Berrange
berrange at redhat.com
Tue Jul 10 20:14:10 UTC 2007
On Tue, Jul 10, 2007 at 02:04:49PM -0600, Bruce.Evans at Sun.COM wrote:
> Hi,
>
> I have implemented the 'domainSuspend' callback in
> libvirt for my hypervisor (see test.c or qemu_internal.c for reference)
>
> When using the Red Hat Virtual Manager (after connecting
> to my hypervisor), clicking on a domain row,
> then clicking the 'open' button at the botton right of the
> window, I get a new window where I can click the 'Pause'
> button for instance.
>
> When I do this, the 'domainSuspend' callback is entered
> twice as shown in my debug code below.
That's very interesting you noticed this - it could very likely explain
why I've been getting reports of domainSuspend failing for QEMU driver
too.
> Why is this happening? Is it a bug?
Sounds like its probably a bug in virt-manager. I'll see if there's
anything obvious wrong with it.
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the libvir-list
mailing list