]> 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 12:21:29 +0000 (06:21 -0600)
commit9712c2510ec87a87578576a407768380e250a6a4
tree12aae5b090f6c06b76ab06b8f725c954b8ec1192
parent8ebd3d889296b03fc51f34b2f6f5c5d523694559
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>
src/remote/remote_driver.c