From: Avi Kivity <avi@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Andre Przywara <andre.przywara@amd.com>,
Ricardo Martins <ricardo.martins.br@gmail.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: KVM Processor cache size
Date: Tue, 03 Aug 2010 08:38:38 +0300 [thread overview]
Message-ID: <4C57AB5E.1070904@redhat.com> (raw)
In-Reply-To: <4C5756F0.6040205@codemonkey.ws>
On 08/03/2010 02:38 AM, Anthony Liguori wrote:
> Is there already a way to communicate from the target to the source?
> This would allow to check for migrate-ability before we transfer any
> data. Or should we handle this in a management application?
Since this is determined at startup time, it should be done by
management. There's no point in starting a live migration that we know
will fail.
>
> Send the cpuid fields as part of migration state. Verify they match
> the local cpuid fields on the destination side. The destination can
> then reject the migration if it can't match those CPUID fields.
I agree with that, as a safety check.
Note it can be determined even earlier, if qemu warns/fails on masked
features:
qemu -cpu qemu64,+this,-that,strict
> That's actually the only way to safely do it today because there's no
> way for a management application to query qemu and kvm for the fields
> that they'll mask out.
That needs to part of the qemu capabiltities megapatch. Supporting
POPCNT isn't very different from supporting cache=unsafe from the
management point of view.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
next prev parent reply other threads:[~2010-08-03 5:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-02 11:45 KVM Processor cache size Ricardo Martins
2010-08-02 12:51 ` Andre Przywara
2010-08-02 13:08 ` Avi Kivity
2010-08-02 22:22 ` Anthony Liguori
2010-08-02 22:35 ` Andre Przywara
2010-08-02 23:38 ` Anthony Liguori
2010-08-03 5:38 ` Avi Kivity [this message]
2010-08-03 5:33 ` Avi Kivity
2010-08-02 22:25 ` Anthony Liguori
2010-08-02 22:54 ` Andre Przywara
2010-08-02 23:40 ` Anthony Liguori
2010-08-03 5:41 ` Avi Kivity
2010-08-02 13:49 ` Ulrich Drepper
2010-08-02 18:38 ` Ricardo Martins
2010-08-02 22:24 ` Andre Przywara
2010-08-02 22:15 ` Andre Przywara
2010-08-02 22:23 ` Anthony Liguori
2010-08-02 22:42 ` Andre Przywara
2010-08-02 23:36 ` Anthony Liguori
2010-08-03 6:25 ` Dor Laor
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=4C57AB5E.1070904@redhat.com \
--to=avi@redhat.com \
--cc=andre.przywara@amd.com \
--cc=anthony@codemonkey.ws \
--cc=kvm@vger.kernel.org \
--cc=ricardo.martins.br@gmail.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