def METHOD_NAME(dev_name):
    """
    Get the VF's pci from the device name
    :param dev_name: Name of the device
    :returns: VF's pci
    """
    dev_xml = nodedev_xml.NodedevXML.new_from_dumpxml(dev_name)
    return os.path.basename(os.path.dirname(dev_xml.get_path()))