[PATCH v1 0/2] i386: Make PIT and PIC the property of common x86 base machine type

Xiaoyao Li posted 2 patches 2 years, 3 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220111073528.1771552-1-xiaoyao.li@intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Sergio Lopez <slp@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Richard Henderson <richard.henderson@linaro.org>
There is a newer version of this series
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(-)
[PATCH v1 0/2] i386: Make PIT and PIC the property of common x86 base machine type
Posted by Xiaoyao Li 2 years, 3 months ago
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(-)

-- 
2.27.0


Re: [PATCH v1 0/2] i386: Make PIT and PIC the property of common x86 base machine type
Posted by Xiaoyao Li 2 years, 2 months ago
ping.

On 1/11/2022 3:35 PM, Xiaoyao Li wrote:
> 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(-)
>