Re: Web Interface Question

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

 



Yes, the perl bindings with 0.4.0 at least often error - e.g. how do I
check whether a domain is online? I could list all the domains or I
could simply try and retrieve the domain by name, if error 42 (the
'unknown' error) comes back then the domain is not online.

Maybe i'm using the perl bindings wrong?

H

Richard W.M. Jones wrote:
> On Mon, Apr 07, 2008 at 04:01:12PM +0100, Henri Cook wrote:
>   
>> - It was regrettably necessary to have to have some actions contingent
>> on things like libvirt error code: 42 i.e. If you try to retrieve a
>> domain that doesn't exist (and is not defined). I expect these to break
>> when the ubuntu package maintainers upgrade to 0.4.1 - but i'll have to
>> deal with that when the time comes
>>     
>
> I don't understand this -- do you mean you had to hard-code libvirt
> error numbers into your program?
>
> Rich.
>
>   

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]