On Thu, 13 Dec 2018 01:48:28 +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 | 3 --- > include/hw/i386/pc.h | 4 ++-- > hw/arm/virt.c | 6 +----- > hw/core/machine.c | 3 +++ > hw/i386/pc.c | 3 +++ > hw/i386/pc_piix.c | 7 ++----- > hw/i386/pc_q35.c | 7 ++----- > hw/ppc/spapr.c | 6 +----- > 9 files changed, 17 insertions(+), 25 deletions(-) You'll need to make the same change for s390x once the latest pull request hits master; but it is obviously trivial to make.