def METHOD_NAME():
    """
    Check whether the added devices are shown in the guest xml
    """
    expected = [
            ".//input[@type='%s']" % input_type,
            ".//input[@bus='%s']" % bus_type
            ]
    if with_packed:
        expected = [
                ".//driver[@packed='%s']" % driver_packed
                ]
    logging.debug('Searching vm xml for values %s', expected)
    xml_after_adding_device = VMXML.new_from_dumpxml(vm_name)
    logging.debug('xml_after_adding_device:\n%s', xml_after_adding_device)
    libvirt.check_xpaths(xml_after_adding_device, expected)