[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] virGetLastError() disagrees with virConnGetLastError()



On Tue, Feb 03, 2009 at 04:20:25PM +0000, Daniel P. Berrange wrote:

> > 11 POST operation failed: xend_post: error from xen daemon: (xend.err 'Cannot dump core for privileged domain 0')
> > virsh: error: POST operation failed: xend_post: error from xen daemon: (xend.err 'Cannot dump core for privileged domain 0')
> > 
> > Perhaps it's the case that there's no guarantees as to the error state
> > after a successful call.
> 
> The problem you're hitting is that the last error is only valid until
> the next public API call.  virDomainFree is a public API call, so you
> can't expect to access the last error, from the virDomainCoreDump
> after you call virDomainFree.

I think you're saying what I'm saying, right?

regards
john


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]