#NEWLINE# def list_guests( self , only_running = True , only_guests = True ) : #NEWLINE# #INDENT# 'Get a list of Guest objects for nova instances\n\n        :param only_running: True to only return running instances\n        :param only_guests: True to filter out any host domain (eg Dom-0)\n\n        See method "list_instance_domains" for more information.\n\n        :returns: list of Guest objects\n        ' #NEWLINE# return [ libvirt_guest . Guest ( dom ) for dom in self . list_instance_domains ( only_running = only_running , only_guests = self ) ]