On Fri, 21 Dec 2018 13:03:58 +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 | 27 -------------- > include/hw/i386/pc.h | 74 ++------------------------------------ > hw/core/machine.c | 29 +++++++++++++++ > hw/i386/pc.c | 71 ++++++++++++++++++++++++++++++++++++ > hw/i386/pc_piix.c | 6 ++-- > hw/i386/pc_q35.c | 6 ++-- > hw/ppc/spapr.c | 5 +-- > hw/s390x/s390-virtio-ccw.c | 2 +- > 9 files changed, 112 insertions(+), 111 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>