qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [PATCH] qdev property: cleanup


From: Cao jin
Subject: Re: [Qemu-trivial] [PATCH] qdev property: cleanup
Date: Fri, 25 Mar 2016 14:06:48 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0



On 03/24/2016 07:25 PM, Paolo Bonzini wrote:


A question about legacy property: I don`t see legacy property is really
used in the code, so, why still add legacy property to object?

It's used here:

static void qdev_print_props(Monitor *mon, DeviceState *dev, Property *props,
                              int indent)

Thanks Paolo, I saw here, and then I thought the property is added and just be printed out, seems for no real benefit("really used"). Now I think I see where I was wrong. Thanks.

BTW, is this patch right?
--
Yours Sincerely,

Cao jin





reply via email to

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