For PIT, it's straightforward to merge microvm::pit and
pc_machine::pit_enabled into x86ms::pit
For PIC, move microvm::pic to x86ms:pic, which gives PC machine the
ability to dis-/en-able PIC and it's the preparation for future TDX
support.
Xiaoyao Li (2):
hw/i386: Make pit a property of common x86 base machine type
hw/i386: Make pic a property of common x86 base machine type
hw/i386/microvm.c | 54 ++-------------------------------------
hw/i386/pc.c | 24 +++--------------
hw/i386/pc_piix.c | 4 ++-
hw/i386/pc_q35.c | 4 ++-
hw/i386/x86.c | 50 ++++++++++++++++++++++++++++++++++++
include/hw/i386/microvm.h | 4 ---
include/hw/i386/pc.h | 2 --
include/hw/i386/x86.h | 4 +++
8 files changed, 65 insertions(+), 81 deletions(-)