Re: [PATCH 17/24] cpu/core: Register core-id and nr-threads as class properties

2020-09-21 Thread Igor Mammedov
On Mon, 21 Sep 2020 18:10:38 -0400 Eduardo Habkost wrote: > Class properties make QOM introspection simpler and easier, as > they don't require an object to be instantiated. > > Signed-off-by: Eduardo Habkost Reviewed-by: Igor Mammedov > --- > Cc: qemu-devel@nongnu.org > --- > hw/cpu/core.c

[PATCH 17/24] cpu/core: Register core-id and nr-threads as class properties

2020-09-21 Thread Eduardo Habkost
Class properties make QOM introspection simpler and easier, as they don't require an object to be instantiated. Signed-off-by: Eduardo Habkost --- Cc: qemu-devel@nongnu.org --- hw/cpu/core.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/cpu/core.c b/hw/cpu/core.c