diff options
| author | Richard Henderson | 2021-11-10 09:52:41 +0100 |
|---|---|---|
| committer | Richard Henderson | 2021-11-10 09:52:41 +0100 |
| commit | d73b6ae2c0893420c4b5d9f15b5e1407ca0d2173 (patch) | |
| tree | f8f02e4b994b3c48eaf702044c10a6709fd40527 /include | |
| parent | Merge tag 'pull-jobs-2021-11-09' of https://src.openvz.org/scm/~vsementsov/qe... (diff) | |
| parent | monitor: Fix find_device_state() for IDs containing slashes (diff) | |
| download | qemu-d73b6ae2c0893420c4b5d9f15b5e1407ca0d2173.tar.gz qemu-d73b6ae2c0893420c4b5d9f15b5e1407ca0d2173.tar.xz qemu-d73b6ae2c0893420c4b5d9f15b5e1407ca0d2173.zip | |
Merge tag 'pull-monitor-2021-11-10' of git://repo.or.cz/qemu/armbru into staging
Monitor patches patches for 2021-11-10
# gpg: Signature made Wed 10 Nov 2021 06:15:38 AM CET
# gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg: issuer "armbru@redhat.com"
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
# gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [full]
* tag 'pull-monitor-2021-11-10' of git://repo.or.cz/qemu/armbru:
monitor: Fix find_device_state() for IDs containing slashes
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/qom/object.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/qom/object.h b/include/qom/object.h index faae0d841f..fae096f51c 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -1544,6 +1544,18 @@ Object *object_resolve_path_type(const char *path, const char *typename, bool *ambiguous); /** + * object_resolve_path_at: + * @parent: the object in which to resolve the path + * @path: the path to resolve + * + * This is like object_resolve_path(), except paths not starting with + * a slash are relative to @parent. + * + * Returns: The resolved object or NULL on path lookup failure. + */ +Object *object_resolve_path_at(Object *parent, const char *path); + +/** * object_resolve_path_component: * @parent: the object in which to resolve the path * @part: the component to resolve. |
