def METHOD_NAME(self, path, length, offset):
    if not self.is_property(path):
        return -ENOENT
    path, prop = path.rsplit('/', 1)
    try:
        data = str(self.qmp.command('qom-get', path=path, property=prop))
        data += '\n' # make values shell friendly
    except:
        return -EPERM
    if offset > len(data):
        return ''
    return str(data[offset:][:length])