On Thu, May 09, 2024 at 07:00:41PM +0200, Paolo Bonzini wrote: > Date: Thu, 9 May 2024 19:00:41 +0200 > From: Paolo Bonzini <pbonz...@redhat.com> > Subject: [PATCH 10/13] hw/i386: split x86.c in multiple parts > X-Mailer: git-send-email 2.45.0 > > Keep the basic X86MachineState definition in x86.c. Move out functions that > are only needed by other files: x86-common.c for the pc and microvm machines, > x86-cpu.c for those used by accelerator code. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > include/hw/i386/x86.h | 6 +- > hw/i386/x86-common.c | 1007 +++++++++++++++++++++++++++++++++++++++ > hw/i386/x86-cpu.c | 97 ++++ > hw/i386/x86.c | 1052 +---------------------------------------- > hw/i386/meson.build | 4 +- > 5 files changed, 1113 insertions(+), 1053 deletions(-) > create mode 100644 hw/i386/x86-common.c > create mode 100644 hw/i386/x86-cpu.c Reviewed-by: Zhao Liu <zhao1....@intel.com>
Once this change is merged, I'll rebase my module topology series.