From: Paolo Bonzini <pbonzini@redhat.com>
To: asmetanin@virtuozzo.com, kvm@vger.kernel.org
Cc: Gleb Natapov <gleb@kernel.org>,
Roman Kagan <rkagan@virtuozzo.com>,
"Denis V. Lunev" <den@openvz.org>,
qemu-devel@nongnu.org
Subject: Re: [PATCH v1] kvm/x86: Hyper-V tsc page setup
Date: Fri, 22 Jan 2016 12:53:26 +0100 [thread overview]
Message-ID: <56A21836.1010204@redhat.com> (raw)
In-Reply-To: <56A212F9.4030800@virtuozzo.com>
On 22/01/2016 12:31, Andrey Smetanin wrote:
>>
>> Sometimes the TSC is detected to be unstable and Linux switches to
>> another clocksource. At least in that case you can get a write to the
>> TSC page while the guest is running.
> Sorry, now I got it, you mean host TSC is unstable and we should mark
> guest tsc page invalid. Now I understand please ignore my prev. message.
No problem. Anyhow yes, this is what I meant: a host write to the TSC
page, not a guest write to the TSC page MSR.
Usually it happens only at migration time to update the sequence---which
I believe your patch wasn't doing either. But if we tie TSC page
updates to kvm_gen_update_masterclock, we get that for free when the
migration destination calls the KVM_SET_CLOCK ioctl.
Paolo
next prev parent reply other threads:[~2016-01-22 11:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-24 9:33 [PATCH v1] kvm/x86: Hyper-V tsc page setup Andrey Smetanin
2016-01-05 21:48 ` Peter Hornyack
2016-01-06 9:22 ` Andrey Smetanin
2016-01-12 7:43 ` Andrey Smetanin
2016-01-19 7:48 ` Denis V. Lunev
2016-01-20 14:05 ` Paolo Bonzini
2016-01-20 14:41 ` Andrey Smetanin
2016-01-20 14:44 ` Denis V. Lunev
2016-01-20 14:52 ` Roman Kagan
2016-01-20 14:54 ` Denis V. Lunev
2016-01-20 21:10 ` Paolo Bonzini
2016-01-22 10:08 ` Paolo Bonzini
2016-01-22 10:15 ` Andrey Smetanin
2016-01-22 11:02 ` Paolo Bonzini
2016-01-22 11:11 ` Andrey Smetanin
2016-01-22 11:31 ` Andrey Smetanin
2016-01-22 11:53 ` Paolo Bonzini [this message]
2016-01-22 11:59 ` Andrey Smetanin
2016-01-22 13:13 ` Andrey Smetanin
2016-01-22 13:21 ` Paolo Bonzini
2016-01-22 13:34 ` Andrey Smetanin
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=56A21836.1010204@redhat.com \
--to=pbonzini@redhat.com \
--cc=asmetanin@virtuozzo.com \
--cc=den@openvz.org \
--cc=gleb@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=qemu-devel@nongnu.org \
--cc=rkagan@virtuozzo.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;
as well as URLs for NNTP newsgroup(s).