|
@@ -467,6 +467,7 @@ static void handle_stsi_3_2_2(struct kvm_vcpu *vcpu, struct sysinfo_3_2_2 *mem)
|
|
|
for (n = mem->count - 1; n > 0 ; n--)
|
|
|
memcpy(&mem->vm[n], &mem->vm[n - 1], sizeof(mem->vm[0]));
|
|
|
|
|
|
+ memset(&mem->vm[0], 0, sizeof(mem->vm[0]));
|
|
|
mem->vm[0].cpus_total = cpus;
|
|
|
mem->vm[0].cpus_configured = cpus;
|
|
|
mem->vm[0].cpus_standby = 0;
|