projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee51070
)
qom: set *ambiguous on all paths
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 2 Oct 2024 08:08:05 +0000
(12:08 +0400)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 3 Oct 2024 20:04:24 +0000
(22:04 +0200)
So the caller contract is simpler.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Link:
https://lore.kernel.org/r/20241002080806.2868406-3-marcandre.lureau@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
qom/object.c
patch
|
blob
|
history
diff --git
a/qom/object.c
b/qom/object.c
index 0adbef29462d1b165a7e6994015717ba277ee331..222804dcfb547fa5fe65048cf4778660259f9247 100644
(file)
--- a/
qom/object.c
+++ b/
qom/object.c
@@
-2201,6
+2201,9
@@
Object *object_resolve_path_type(const char *path, const char *typename,
}
} else {
obj = object_resolve_abs_path(object_get_root(), parts + 1, typename);
+ if (ambiguous) {
+ *ambiguous = false;
+ }
}
g_strfreev(parts);