|
@@ -301,8 +301,6 @@ static void kvm_register_steal_time(void)
|
|
|
if (!has_steal_clock)
|
|
if (!has_steal_clock)
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
- memset(st, 0, sizeof(*st));
|
|
|
|
|
-
|
|
|
|
|
wrmsrl(MSR_KVM_STEAL_TIME, (slow_virt_to_phys(st) | KVM_MSR_ENABLED));
|
|
wrmsrl(MSR_KVM_STEAL_TIME, (slow_virt_to_phys(st) | KVM_MSR_ENABLED));
|
|
|
pr_info("kvm-stealtime: cpu %d, msr %llx\n",
|
|
pr_info("kvm-stealtime: cpu %d, msr %llx\n",
|
|
|
cpu, (unsigned long long) slow_virt_to_phys(st));
|
|
cpu, (unsigned long long) slow_virt_to_phys(st));
|