Ahh, okay, I see changes in vm_xml now.  I think an API looking like this would fit better with the existing VMXML class design:

    if options == ...
        emulatorpin_params = vm_xml.VMXML.new_from_dumpxml('vm_name', ...).emulatorpin

Since you don't ever do anything else with ``virt_xml_obj``, there's no reason to keep it around.  Just extract the ``emulatorpin`` property value and throw the object away.