On IRC, it was pointed out that:
http://libvirt.org/guide/html-single/#Application_Development_Guide-Guest...
it was pointed out that example 4.5 (section 4.2 Listing domains)
incorrectly uses virConnectListDomains instead of the intended
virConnectListDefinedDomains. I'm not sure where the source to this
document is kept, or I would have pushed the obvious patch.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org