On Mon, Apr 07, 2008 at 04:12:42PM +0100, Henri Cook wrote:
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.
Yes, you should try to retrieve the domain by name, and you'll either
get the domain object (if it exists) or a NULL + some sort of error.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat
http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v