def METHOD_NAME(vm, node):
    """
    pin vm threads to assigned node
    """
    if node:
        if not isinstance(node, utils_misc.NumaNode):
            node = utils_misc.NumaNode(int(node))
        utils_test.qemu.METHOD_NAME(vm, node)
    return node