Question: Why does hardware_enable_all() call cpu_hyp_init() again?
Greetings,
I was following the CREATE_VM ioctl and navigating through kvm_dev_ioctl_create_vm(), I found hardware_enable_all(). This calls cpu_hyp_init(NULL) on all CPUs.
But, doesn't kvm_arm_init() call cpu_hyp_init() on all CPUs during init_subsystems()? I am curious why this needs to be done again during every CREATE_VM ioctl.
Regards,
Yuvraj Sakshith