Re: [PATCH 10/13] hw/i386: split x86.c in multiple parts

2024-05-10 Thread Zhao Liu
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 > 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 i

[PATCH 10/13] hw/i386: split x86.c in multiple parts

2024-05-09 Thread Paolo Bonzini
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 --- include/hw/i386/x86.h |6 +- hw/i386/x86-common.c | 1007