def vb_get_machine(name, **kwargs):
 vbox = vb_get_box()
 machine = vbox.findMachine(name)
 return vb_xpcom_to_attribute_dict(machine, 'IMachine', **kwargs)

def vb_get_machine ( name , ** kwargs ) : vbox = vb_get_box ( ) machine = vbox . findMachine ( name ) return vb_xpcom_to_attribute_dict ( machine , 'IMachine' , ** kwargs )
attempts to fetch a machine from virtualbox and convert it to a dict .