From: Avi Kivity <avi@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, Benjamin Serebrin <benjamin.serebrin@amd.com>
Subject: Re: [patch 1/3] QEMU/KVM: x86: separate TSC load from kvm_arch_load_regs
Date: Wed, 10 Dec 2008 12:10:47 +0200 [thread overview]
Message-ID: <493F95A7.9050208@redhat.com> (raw)
In-Reply-To: <20081209012212.014302332@localhost.localdomain>
Marcelo Tosatti wrote:
> kvm_load_registers is a general interface to load registers, and is
> used by vmport, gdbstub, etc. The TSC MSR is continually counting, so
> it can't be simply read and written back as the other registers/MSR's
> (doing so overwrites the current count).
>
> Introduce kvm_load_tsc and use it for x86's migration CPU load code.
> --- /dev/null
> +++ kvm-userspace.tip/qemu/qemu-kvm-x86.h
> @@ -0,0 +1,13 @@
> +/*
> + * qemu/kvm integration
> + *
> + * Copyright (C) 2006-2008 Qumranet Technologies
>
Qumranet is no more. But please drop this header and just put the
declaration in qemu-kvm.h. We're merging it anyway into qemu upstream
and this is just more more thing we'll need to drop.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2008-12-10 10:10 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-09 1:12 [patch 0/3] synchronized TSC between vcpu's on SMP guests Marcelo Tosatti
2008-12-09 1:12 ` [patch 1/3] QEMU/KVM: x86: separate TSC load from kvm_arch_load_regs Marcelo Tosatti
2008-12-10 10:10 ` Avi Kivity [this message]
2008-12-09 1:12 ` [patch 2/3] QEMU/KVM: BIOS: revert TSC zeroing Marcelo Tosatti
2008-12-09 1:12 ` [patch 3/3] KVM: VMX: initialize TSC offset relative to vm creation time Marcelo Tosatti
2008-12-10 10:19 ` Avi Kivity
2008-12-10 16:53 ` Marcelo Tosatti
2008-12-11 17:38 ` Avi Kivity
2008-12-11 19:45 ` Marcelo Tosatti
2008-12-28 9:26 ` Avi Kivity
2008-12-09 11:38 ` [patch 0/3] synchronized TSC between vcpu's on SMP guests Michael Tokarev
2008-12-09 10:47 ` Marcelo Tosatti
2008-12-09 22:48 ` Michael Tokarev
2008-12-22 23:16 ` David S. Ahern
2008-12-28 9:33 ` Avi Kivity
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=493F95A7.9050208@redhat.com \
--to=avi@redhat.com \
--cc=benjamin.serebrin@amd.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@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;
as well as URLs for NNTP newsgroup(s).