On 09/06/2012 05:29 PM, Doug Goldstein wrote:
> On Thu, Sep 6, 2012 at 10:09 AM, Jiri Denemark <jdene...@redhat.com> wrote:
>> PM{Suspend,Wakeup} event callbacks were designed with a reason parameter
>> which could be used in the future. However, we do not transfer the
>> reason over RPC and thus we can never use it in the future. Make it
>> explicit in the docs.
>> ---
>>  include/libvirt/libvirt.h.in | 6 ++----
>>  1 file changed, 2 insertions(+), 4 deletions(-)

Why can't we create a new RPC that _does_ pass reason, then when the
event fires, we call the appropriate RPC based on the capabilities of
the receiving end?  That is, I don't think we are locked into never
being able to pass a useful reason.

-- 
Eric Blake   ebl...@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to