Re: [PATCH 03/44] KVM: Allocate cpus_hardware_enabled after arch hardware setup

2022-11-04 Thread Yuan Yao
On Wed, Nov 02, 2022 at 11:18:30PM +, Sean Christopherson wrote: > Allocate cpus_hardware_enabled after arch hardware setup so that arch > "init" and "hardware setup" are called back-to-back and thus can be > combined in a future patch. cpus_hardware_enabled is never used before > kvm_create_v

[PATCH 03/44] KVM: Allocate cpus_hardware_enabled after arch hardware setup

2022-11-02 Thread Sean Christopherson
Allocate cpus_hardware_enabled after arch hardware setup so that arch "init" and "hardware setup" are called back-to-back and thus can be combined in a future patch. cpus_hardware_enabled is never used before kvm_create_vm(), i.e. doesn't have a dependency with hardware setup and only needs to be