Re: [PATCH] kvm: clear kvmclock MSR on reset
From: Paolo Bonzini
Date: Mon Oct 21 2019 - 13:19:29 EST
On 16/10/19 19:06, Vitaly Kuznetsov wrote:
>> /* we verify if the enable bit is set... */
>> + vcpu->arch.pv_time_enabled = false;
>> if (!(data & 1))
>> break;
>>
>> if (kvm_gfn_to_hva_cache_init(vcpu->kvm,
>> &vcpu->arch.pv_time, data & ~1ULL,
>> sizeof(struct pvclock_vcpu_time_info)))
>> - vcpu->arch.pv_time_enabled = false;
>> - else
>> vcpu->arch.pv_time_enabled = true;
Yes...
Paolo