On Fri, 21 Dec 2018 13:03:51 +0400 Marc-André Lureau <marcandre.lur...@redhat.com> wrote:
> Use static arrays instead. > > Suggested-by: Eduardo Habkost <ehabk...@redhat.com> > Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> > --- > include/hw/boards.h | 3 +++ > include/hw/compat.h | 19 ------------------- > include/hw/i386/pc.h | 13 ++----------- > hw/arm/virt.c | 5 +---- > hw/core/machine.c | 21 +++++++++++++++++++++ > hw/i386/pc.c | 13 +++++++++++++ > hw/i386/pc_piix.c | 7 ++----- > hw/i386/pc_q35.c | 7 ++----- > hw/ppc/spapr.c | 5 +---- > hw/s390x/s390-virtio-ccw.c | 2 +- > 10 files changed, 46 insertions(+), 49 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>