]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: fix regression in event deregistration
authorZhou Yimin <zhouyimin@huawei.com>
Thu, 17 Oct 2013 07:59:21 +0000 (15:59 +0800)
committerEric Blake <eblake@redhat.com>
Fri, 18 Oct 2013 13:56:22 +0000 (07:56 -0600)
commit30e8839812362ad8e8df0b0509c5d67785094e86
tree5bd56e5145d82c9067d1f7db8a567460d604874c
parent692474e6085d05a49c6b842de99f453c54c71902
remote: fix regression in event deregistration

Introduced by 7b87a3
When I quit the process which only register VIR_DOMAIN_EVENT_ID_REBOOT,
I got error like:
"libvirt: XML-RPC error : internal error: domain event 0 not registered".
Then I add the following code, it fixed.

Signed-off-by: Zhou Yimin <zhouyimin@huawei.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 9712c2510ec87a87578576a407768380e250a6a4)
src/remote/remote_driver.c