Re: [PATCH 0/4] hw: Minor simplifications using proper QOM getter macros

2023-06-23 Thread Michael Tokarev
22.06.2023 23:33, Michael S. Tsirkin wrote: On Thu, Jun 08, 2023 at 09:41:58PM +0300, Michael Tokarev wrote: Applied to my trivial-patches branch (Maybe it's time to resurrect it). pci things: Reviewed-by: Michael S. Tsirkin It's been merged to master on Jun-11 already. But thank you fo

Re: [PATCH 0/4] hw: Minor simplifications using proper QOM getter macros

2023-06-22 Thread Michael S. Tsirkin
On Thu, Jun 08, 2023 at 09:41:58PM +0300, Michael Tokarev wrote: > 23.05.2023 09:12, Philippe Mathieu-Daudé wrote: > > Enforce QOM style. Besides, using the proper QOM macros > > slightly simplifies the code. > > Applied to my trivial-patches branch (Maybe it's time to resurrect it). > > Thanks,

Re: [PATCH 0/4] hw: Minor simplifications using proper QOM getter macros

2023-06-08 Thread Michael Tokarev
23.05.2023 09:12, Philippe Mathieu-Daudé wrote: Enforce QOM style. Besides, using the proper QOM macros slightly simplifies the code. Applied to my trivial-patches branch (Maybe it's time to resurrect it). Thanks, /mjt

[PATCH 0/4] hw: Minor simplifications using proper QOM getter macros

2023-05-22 Thread Philippe Mathieu-Daudé
Enforce QOM style. Besides, using the proper QOM macros slightly simplifies the code. Philippe Mathieu-Daudé (4): hw/core/cpu: Simplify realize() using MACHINE_GET_CLASS() macro hw/i386/microvm: Simplify using object_dynamic_cast() hw/pci/pci: Simplify pci_bar_address() using MACHINE_GET_CLA