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