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
