Re: [PATCH v2 0/5] hw: Replace some magic by definitions

2020-10-13 Thread Richard Henderson
On 10/12/20 6:20 AM, Philippe Mathieu-Daudé wrote: > Philippe Mathieu-Daudé (5): > hw: Replace magic value by PCI_NUM_PINS definition > hw/pci-host/pam: Use ARRAY_SIZE() instead of magic value > hw/pci-host/versatile: Add the MEMORY_WINDOW_COUNT definition > hw/pci-host/versatile: Add the P

[PATCH v2 0/5] hw: Replace some magic by definitions

2020-10-12 Thread Philippe Mathieu-Daudé
A bunch of trivial cleanups, replacing magic values by definitions to make the code easier to review. Since v1: - Addressed Peter review comment on versatile PCI controller - Added Thomas R-b tag Expected to be merged via qemu-trivial@. Regards, Phil. Philippe Mathieu-Daudé (5): hw: Replace