qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i386/kvm: Cleanups in kvm_arch_init()
@ 2025-07-29  6:20 Xiaoyao Li
  2025-07-29  6:20 ` [PATCH 1/2] i386/kvm: Get X86MachineState in kvm_arch_init() without the cast check Xiaoyao Li
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Xiaoyao Li @ 2025-07-29  6:20 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Marcelo Tosatti, Philippe Mathieu-Daudé, Xiaoyao Li,
	Chenyi Qiang, qemu-devel

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-12  5:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29  6:20 [PATCH 0/2] i386/kvm: Cleanups in kvm_arch_init() Xiaoyao Li
2025-07-29  6:20 ` [PATCH 1/2] i386/kvm: Get X86MachineState in kvm_arch_init() without the cast check Xiaoyao Li
2025-07-29  7:12   ` Philippe Mathieu-Daudé
2025-07-29  7:51   ` Chenyi Qiang
2025-07-29  6:20 ` [PATCH 2/2] i386/kvm: Drop KVM_CAP_X86_SMM check in kvm_arch_init() Xiaoyao Li
2025-09-12  5:48 ` [PATCH 0/2] i386/kvm: Cleanups " Xiaoyao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).