Re: [PATCH 02/12] macfb: fix invalid object reference in macfb_common_realize()

2021-10-04 Thread Laurent Vivier
Le 02/10/2021 à 12:59, Mark Cave-Ayland a écrit : > During realize memory_region_init_ram_nomigrate() is used to initialise the > RAM > memory region used for the framebuffer but the owner object reference is > incorrect since MacFbState is a typedef and not a QOM type. > > Change the memory regi

Re: [PATCH 02/12] macfb: fix invalid object reference in macfb_common_realize()

2021-10-02 Thread Philippe Mathieu-Daudé
On 10/2/21 12:59, Mark Cave-Ayland wrote: > During realize memory_region_init_ram_nomigrate() is used to initialise the > RAM > memory region used for the framebuffer but the owner object reference is > incorrect since MacFbState is a typedef and not a QOM type. > > Change the memory region owner

Re: [PATCH 02/12] macfb: fix invalid object reference in macfb_common_realize()

2021-10-02 Thread BALATON Zoltan
On Sat, 2 Oct 2021, Mark Cave-Ayland wrote: During realize memory_region_init_ram_nomigrate() is used to initialise the RAM memory region used for the framebuffer but the owner object reference is incorrect since MacFbState is a typedef and not a QOM type. Change the memory region owner to be th

[PATCH 02/12] macfb: fix invalid object reference in macfb_common_realize()

2021-10-02 Thread Mark Cave-Ayland
During realize memory_region_init_ram_nomigrate() is used to initialise the RAM memory region used for the framebuffer but the owner object reference is incorrect since MacFbState is a typedef and not a QOM type. Change the memory region owner to be the corresponding DeviceState to fix the issue a