[Libvirt-cim] [PATCH 12/47] Fix xml parsing algorithm for parse_input_device()