mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: suleiman@google.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH] kvm: clear kvmclock MSR on reset
Date: Mon, 21 Oct 2019 19:19:23 +0200	[thread overview]
Message-ID: <62a31237-8b15-48da-50ef-2649daa20fdb@redhat.com> (raw)
In-Reply-To: <87wod439hq.fsf@vitty.brq.redhat.com>

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

      reply	other threads:[~2019-10-21 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10 10:50 Paolo Bonzini
2019-10-16 17:06 ` Vitaly Kuznetsov
2019-10-21 17:19   ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=62a31237-8b15-48da-50ef-2649daa20fdb@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suleiman@google.com \
    --cc=vkuznets@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®