'Get a list of Guest objects for nova instances
:param only_running: True to only return running instances
:param only_guests: True to filter out any host domain (eg Dom-0)
See method "list_instance_domains" for more information.
:returns: list of Guest objects'

def list_guests(self, only_running=True, only_guests=True):

    return [libvirt_guest.Guest(dom) for dom in self.list_instance_domains(only_running=only_running, only_guests=only_guests)]
