hw: Minor simplifications using proper QOM getter macros
Status from this message: Applied to my trivial-patches branch (Maybe it's time to resurrect it).
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hw/core/cpu: Simplify realize() using MACHINE_GET_CLASS() macrohw/ | +1 | 1 reply | |
| 2/4 | hw/i386/microvm: Simplify using object_dynamic_cast()hw/ | +1 | 2 replies | |
| 3/4 | hw/pci/pci: Simplify pci_bar_address() using MACHINE_GET_CLASS() macrohw/ | +1 | 1 reply | |
| 4/4 | hw/usb/hcd-ehci-pci: Simplify using DEVICE_GET_CLASS() macrohw/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Richard Henderson | Sergio Lopez | Michael S. Tsirkin |
|---|---|---|---|
| Series | R-b | ||
| 1/4 | R-b | ||
| 2/4 | R-b | R-b | |
| 3/4 | R-b | ||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/4] hw: Minor simplifications using proper QOM getter macros
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_CLASS() macro hw/usb/hcd-ehci-pci: Simplify using DEVICE_GET_CLASS() macro
hw/core/cpu-common.c | 3 +-- hw/i386/microvm.c | 3 +-- hw/pci/pci.c | 4 +--- hw/usb/hcd-ehci-pci.c | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-)
Signature · 1 line
2.38.1