Re: [PATCH] kvm/i386: refactor kvm_arch_init and split it into smaller functions

2024-09-03 Thread Philippe Mathieu-Daudé
On 3/9/24 13:34, Ani Sinha wrote: kvm_arch_init() enables a lot of vm capabilities. Refactor them into separate smaller functions. Energy MSR related operations also moved to its own function. There should be no functional impact. Signed-off-by: Ani Sinha --- target/i386/kvm/kvm.c | 337 +

[PATCH] kvm/i386: refactor kvm_arch_init and split it into smaller functions

2024-09-03 Thread Ani Sinha
kvm_arch_init() enables a lot of vm capabilities. Refactor them into separate smaller functions. Energy MSR related operations also moved to its own function. There should be no functional impact. Signed-off-by: Ani Sinha --- target/i386/kvm/kvm.c | 337 ++