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