]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
parallels: return only success from PCS event handler
authorNikolay Shirokovskiy <nshirokovskiy@parallels.com>
Fri, 5 Jun 2015 13:47:58 +0000 (16:47 +0300)
committerDmitry Guryanov <dguryanov@parallels.com>
Mon, 8 Jun 2015 17:13:33 +0000 (20:13 +0300)
commit65a0b334f96fd0a24fa4e3cf9709594994ab42d5
treef3f63c420f6f315187ae86c888cad20ac91c7964
parentc71f5f8cee3fe4078c3ab8aa7c46de7210b468c6
parallels: return only success from PCS event handler

2 reasons to to this.
1. PCS SDK really don't care of handler return value.
2. It hard to imagine how notifier can handle
subscriber failures. Even if there are some situations
we probably will use some special error codes and
not just throw error codes we get from SDK itself.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@parallels.com>
src/parallels/parallels_sdk.c