[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Libvir] Web Interface Question
- From: "Richard W.M. Jones" <rjones redhat com>
- To: Henri Cook <henri theplayboymansion net>
- Cc: libvir-list redhat com
- Subject: Re: [Libvir] Web Interface Question
- Date: Mon, 7 Apr 2008 16:25:32 +0100
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]