On Fri, 21 Dec 2018 13:03:56 +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 | 15 --------------- > include/hw/i386/pc.h | 23 ++--------------------- > hw/arm/virt.c | 5 +---- > hw/core/machine.c | 17 +++++++++++++++++ > hw/i386/pc.c | 23 +++++++++++++++++++++++ > hw/i386/pc_piix.c | 6 ++---- > hw/i386/pc_q35.c | 6 ++---- > hw/ppc/spapr.c | 2 +- > hw/s390x/s390-virtio-ccw.c | 2 +- > 10 files changed, 52 insertions(+), 50 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>