qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v1 6/8] qom: Enable overloading of Alias propert


From: Peter Crosthwaite
Subject: [Qemu-devel] [RFC PATCH v1 6/8] qom: Enable overloading of Alias properties
Date: Sun, 14 Jun 2015 15:37:16 -0700

So that container objects can implement multi-way setting aliases of
their contained objects.

Signed-off-by: Peter Crosthwaite <address@hidden>
---
 qom/object.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qom/object.c b/qom/object.c
index 1590df7..496bed8 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -1798,6 +1798,7 @@ void object_property_add_alias(Object *obj, const char 
*name,
         goto out;
     }
     op->resolve = property_resolve_alias;
+    op->allows_overloading = true;
 
     object_property_set_description(obj, op->name,
                                     target_prop->description,
-- 
2.4.3.3.g905f831




reply via email to

[Prev in Thread] Current Thread [Next in Thread]