Re: [PATCH] hw/avr: Realize AVRCPU qdev object using qdev_realize()

2021-12-17 Thread Laurent Vivier
Le 05/12/2021 à 23:41, Philippe Mathieu-Daudé a écrit : TYPE_AVR_CPU inherits TYPE_CPU, which itself inherits TYPE_DEVICE. TYPE_DEVICE instances are realized using qdev_realize(), we don't need to access QOM internal values. Signed-off-by: Philippe Mathieu-Daudé --- hw/avr/atmega.c | 2 +-

Re: [PATCH] hw/avr: Realize AVRCPU qdev object using qdev_realize()

2021-12-15 Thread Philippe Mathieu-Daudé
Hi Laurent, This patch is reviewed, can it go via your trivial tree? On 12/5/21 23:41, Philippe Mathieu-Daudé wrote: > TYPE_AVR_CPU inherits TYPE_CPU, which itself inherits TYPE_DEVICE. > TYPE_DEVICE instances are realized using qdev_realize(), we don't > need to access QOM internal values. > >

Re: [PATCH] hw/avr: Realize AVRCPU qdev object using qdev_realize()

2021-12-06 Thread Michael Rolnik
Reviewed-by: Michael Rolnik On Mon, Dec 6, 2021 at 12:41 AM Philippe Mathieu-Daudé wrote: > TYPE_AVR_CPU inherits TYPE_CPU, which itself inherits TYPE_DEVICE. > TYPE_DEVICE instances are realized using qdev_realize(), we don't > need to access QOM internal values. > > Signed-off-by: Philippe

[PATCH] hw/avr: Realize AVRCPU qdev object using qdev_realize()

2021-12-05 Thread Philippe Mathieu-Daudé
TYPE_AVR_CPU inherits TYPE_CPU, which itself inherits TYPE_DEVICE. TYPE_DEVICE instances are realized using qdev_realize(), we don't need to access QOM internal values. Signed-off-by: Philippe Mathieu-Daudé --- hw/avr/atmega.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git