On Fri, 21 Dec 2018 13:04:00 +0400 Marc-André Lureau <marcandre.lur...@redhat.com> wrote:
> Use static arrays instead. I decided to rename the conflicting > pc_compat_2_2() function with pc_compat_2_2_fn(). > > 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 | 97 ++------------------------------------------ > hw/core/machine.c | 3 ++ > hw/i386/pc.c | 95 +++++++++++++++++++++++++++++++++++++++++++ > hw/i386/pc_piix.c | 12 +++--- > hw/ppc/spapr.c | 2 +- > 7 files changed, 110 insertions(+), 105 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>