|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 3/3] libxl: ocaml: use 'for_app_registration' in osevent callbacks
On 13 Dec 2013, at 18:21, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
> Rob Hoes writes ("Re: [PATCH v2 3/3] libxl: ocaml: use 'for_app_registration'
> in osevent callbacks"):
>> On 13 Dec 2013, at 17:24, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote:
>>> Doesn't this have the effect of throwing away the exception
>>> information ? Perhaps it should be logged somewhere.
>>
>> That’s true.
>>
>> What would be the best way to do that? Can we get the logger from the
>> context in these stubs? If not, it’s going to be a little more
>> complicated... If we can, then still we need to add the ctx to the “user”
>> value that is passed around.
>
> No, you can't read the logger handle out of libxl. But you can keep a
> copy yourself.
That’s going to be a larger change to the bindings than I was hoping. At this
point, I’d prefer to postpone this, and do it as a improvement later on.
Cheers,
Rob
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |