zalloc_cpumask_var already cleared it.
Showing the changes to virt (1 of 1 file). Show all
Unified · Split
| @@ -2604,7 +2604,6 @@ int kvm_init(void *opaque, unsigned int vcpu_size, · 2603 unmodified lines | ||
| 2604 | 2604 | r = -ENOMEM; |
| 2605 | 2605 | goto out_free_0; |
| 2606 | 2606 | } |
| 2607 | − cpumask_clear(cpus_hardware_enabled); | |
| 2608 | 2607 | |
| 2609 | 2608 | r = kvm_arch_hardware_setup(); |
| 2610 | 2609 | if (r < 0) |