Re: [PATCH v2 04/18] qom: Simplify object_property_get_enum()

2020-05-06 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 5/5/20 5:29 PM, Markus Armbruster wrote: >> Reuse object_property_get_str(). Switches from the string to the >> qobject visitor under the hood. >> >> Signed-off-by: Markus Armbruster >> --- >> qom/object.c | 11 ++- >> 1 file changed, 2 insertions(

Re: [PATCH v2 04/18] qom: Simplify object_property_get_enum()

2020-05-05 Thread Paolo Bonzini
On 05/05/20 17:29, Markus Armbruster wrote: > Reuse object_property_get_str(). Switches from the string to the > qobject visitor under the hood. > > Signed-off-by: Markus Armbruster > --- > qom/object.c | 11 ++- > 1 file changed, 2 insertions(+), 9 deletions(-) > > diff --git a/qom/ob

Re: [PATCH v2 04/18] qom: Simplify object_property_get_enum()

2020-05-05 Thread Philippe Mathieu-Daudé
On 5/5/20 5:29 PM, Markus Armbruster wrote: Reuse object_property_get_str(). Switches from the string to the qobject visitor under the hood. Signed-off-by: Markus Armbruster --- qom/object.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/qom/object.c b/qom/o