[PULL 00/25] x86 and KVM patches for 2024-10-15

Paolo Bonzini posted 25 patches 1 week ago
There is a newer version of this series
docs/system/i386/hyperv.rst      |  43 +++-
include/sysemu/kvm_int.h         |   7 +-
target/i386/cpu.h                |   9 +
target/i386/tcg/decode-new.h     |  19 +-
accel/kvm/kvm-all.c              | 131 ++++++++----
target/i386/cpu.c                |  21 +-
target/i386/kvm/hyperv.c         |   1 +
target/i386/kvm/kvm.c            |  47 +++--
target/i386/machine.c            |  20 ++
target/i386/tcg/seg_helper.c     |  17 +-
target/i386/tcg/translate.c      | 444 ++++++---------------------------------
target/i386/tcg/decode-new.c.inc | 145 +++++++++----
target/i386/tcg/emit.c.inc       | 246 +++++++++++++++++++++-
accel/kvm/trace-events           |   1 +
14 files changed, 666 insertions(+), 485 deletions(-)
[PULL 00/25] x86 and KVM patches for 2024-10-15
Posted by Paolo Bonzini 1 week ago
The following changes since commit aa54f5be44be786636a5d51cc1612ad208a24849:

  tests: update lcitool to fix freebsd py311-yaml rename (2024-10-14 15:54:24 +0100)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 4bfdcb24fa5dc0844d0e4ab2cebb6687a233c0ff:

  target/i386: Use only 16 and 32-bit operands for IN/OUT (2024-10-15 16:15:47 +0200)

----------------------------------------------------------------
* target/i386: Fixes for IN and OUT with REX prefix
* target/i386: New CPUID features and logic fixes
* target/i386: Add support save/load HWCR MSR
* target/i386: Move more instructions to new decoder; separate decoding
  and IR generation
* target/i386/tcg: Use DPL-level accesses for interrupts and call gates
* accel/kvm: perform capability checks on VM file descriptor when necessary
* accel/kvm: dynamically sized kvm memslots array
* target/i386: fixes for Hyper-V
* docs/system: Add recommendations to Hyper-V enlightenments doc

----------------------------------------------------------------
Chao Gao (1):
      target/i386: Add more features enumerated by CPUID.7.2.EDX

Gao Shiyuan (1):
      target/i386: Add support save/load HWCR MSR

Paolo Bonzini (9):
      target/i386: convert bit test instructions to new decoder
      target/i386: decode address before going back to translate.c
      target/i386: convert CMPXCHG8B/CMPXCHG16B to new decoder
      target/i386: do not check PREFIX_LOCK in old-style decoder
      target/i386: list instructions still in translate.c
      target/i386: assert that cc_op* and pc_save are preserved
      target/i386/tcg: Use DPL-level accesses for interrupts and call gates
      accel/kvm: check for KVM_CAP_MULTI_ADDRESS_SPACE on vm
      accel/kvm: check for KVM_CAP_MEMORY_ATTRIBUTES on vm

Peter Xu (4):
      KVM: Dynamic sized kvm memslots array
      KVM: Define KVM_MEMSLOTS_NUM_MAX_DEFAULT
      KVM: Rename KVMMemoryListener.nr_used_slots to nr_slots_used
      KVM: Rename KVMState->nr_slots to nr_slots_max

Richard Henderson (1):
      target/i386: Use only 16 and 32-bit operands for IN/OUT

Tom Dohrmann (1):
      accel/kvm: check for KVM_CAP_READONLY_MEM on VM

Vitaly Kuznetsov (4):
      target/i386: Fix conditional CONFIG_SYNDBG enablement
      target/i386: Exclude 'hv-syndbg' from 'hv-passthrough'
      target/i386: Make sure SynIC state is really updated before KVM_RUN
      docs/system: Add recommendations to Hyper-V enlightenments doc

Xiaoyao Li (4):
      target/i386: Don't construct a all-zero entry for CPUID[0xD 0x3f]
      target/i386: Enable fdp-excptn-only and zero-fcs-fds
      target/i386: Construct CPUID 2 as stateful iff times > 1
      target/i386: Make invtsc migratable when user sets tsc-khz explicitly

 docs/system/i386/hyperv.rst      |  43 +++-
 include/sysemu/kvm_int.h         |   7 +-
 target/i386/cpu.h                |   9 +
 target/i386/tcg/decode-new.h     |  19 +-
 accel/kvm/kvm-all.c              | 131 ++++++++----
 target/i386/cpu.c                |  21 +-
 target/i386/kvm/hyperv.c         |   1 +
 target/i386/kvm/kvm.c            |  47 +++--
 target/i386/machine.c            |  20 ++
 target/i386/tcg/seg_helper.c     |  17 +-
 target/i386/tcg/translate.c      | 444 ++++++---------------------------------
 target/i386/tcg/decode-new.c.inc | 145 +++++++++----
 target/i386/tcg/emit.c.inc       | 246 +++++++++++++++++++++-
 accel/kvm/trace-events           |   1 +
 14 files changed, 666 insertions(+), 485 deletions(-)
-- 
2.46.2
Re: [PULL 00/25] x86 and KVM patches for 2024-10-15
Posted by Peter Maydell 5 days, 10 hours ago
On Tue, 15 Oct 2024 at 15:17, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> The following changes since commit aa54f5be44be786636a5d51cc1612ad208a24849:
>
>   tests: update lcitool to fix freebsd py311-yaml rename (2024-10-14 15:54:24 +0100)
>
> are available in the Git repository at:
>
>   https://gitlab.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 4bfdcb24fa5dc0844d0e4ab2cebb6687a233c0ff:
>
>   target/i386: Use only 16 and 32-bit operands for IN/OUT (2024-10-15 16:15:47 +0200)
>
> ----------------------------------------------------------------
> * target/i386: Fixes for IN and OUT with REX prefix
> * target/i386: New CPUID features and logic fixes
> * target/i386: Add support save/load HWCR MSR
> * target/i386: Move more instructions to new decoder; separate decoding
>   and IR generation
> * target/i386/tcg: Use DPL-level accesses for interrupts and call gates
> * accel/kvm: perform capability checks on VM file descriptor when necessary
> * accel/kvm: dynamically sized kvm memslots array
> * target/i386: fixes for Hyper-V
> * docs/system: Add recommendations to Hyper-V enlightenments doc
>
> ----------------------------------------------------------------

As discussed on irc, this (maybe?) runs into the s390 host bug
you posted a patch for, so I'll wait for a v2 of this.

-- PMM