logicminds/virt — comment on commit 28f78e6033862d25b022372a8699e8949b027f15
File: lib/virt/guest.rb line 5
By ohadlevy:

imho a much better approch would be to keep the domains found in the host class.
so if you already did some sort of domain lookups, you would not look it up again in libvirt, but via an internal hash.