[PATCH 0/2] i386/kvm: Cleanups in kvm_arch_init()

Xiaoyao Li posted 2 patches 6 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250729062014.1669578-1-xiaoyao.li@intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
target/i386/kvm/kvm.c | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
[PATCH 0/2] i386/kvm: Cleanups in kvm_arch_init()
Posted by Xiaoyao Li 6 months, 1 week ago
Patch 1 removes the object_dynamic_cast() check in kvm_arch_init();

Patch 2 removes the unncessary kvm_check_extension(s, KVM_CAP_X86_SMM);

Xiaoyao Li (2):
  i386/kvm: Get X86MachineState in kvm_arch_init() without the cast
    check
  i386/kvm: Drop KVM_CAP_X86_SMM check in kvm_arch_init()

 target/i386/kvm/kvm.c | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] i386/kvm: Cleanups in kvm_arch_init()
Posted by Xiaoyao Li 4 months, 4 weeks ago
On 7/29/2025 2:20 PM, Xiaoyao Li wrote:
> Patch 1 removes the object_dynamic_cast() check in kvm_arch_init();
> 
> Patch 2 removes the unncessary kvm_check_extension(s, KVM_CAP_X86_SMM);

Gentle ping.

> Xiaoyao Li (2):
>    i386/kvm: Get X86MachineState in kvm_arch_init() without the cast
>      check
>    i386/kvm: Drop KVM_CAP_X86_SMM check in kvm_arch_init()
> 
>   target/i386/kvm/kvm.c | 23 +++++++++--------------
>   1 file changed, 9 insertions(+), 14 deletions(-)
>