From: Andre Przywara <andre.przywara@amd.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] CPUID feature bits not saved with migration
Date: Thu, 16 Jul 2009 12:08:53 +0200 [thread overview]
Message-ID: <4A5EFC35.4060607@amd.com> (raw)
In-Reply-To: <4A5DE9E5.2080809@codemonkey.ws>
Anthony Liguori wrote:
> Andre Przywara wrote:
>> Hi,
>>
>> while testing the guest multi-core code, I realized that all of the
>> cpuid_* values (like cpuid_ext_features,...) from CPUX86State are not
>> dumped in the migration stream. Is this intentional behavior (to let
>> the user specify other bits in the target?) or has this just been
>> forgotten?
>> Does KVM call the SET_CPUID2 ioctl after or before migration?
>
> The cpuid bits are specified by the user. They aren't changable by the
> guest which is why they haven't been migrated.
OK, I see your point. What has happened with the idea of using a
separate savevm section to transfer the guest configuration parts?
>
> It's unclear what to do about -cpu host. If we did migrate cpuid
> values, then -cpu would effectively be ignored after an incoming migration.
You do not want to migrate with -cpu host, this is only for a desktop
virtualization use-case where you are pretty sure that you will not
migrate. I have started working on "-cpu migrate", which uses some kind
of least common denominator bits for the KVM case (that is all CPUs with
hardware virtualization support). Currently there seems to be not much
difference to qemu64, so maybe we don't need it.
Regards,
Andre.
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448 3567 12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
prev parent reply other threads:[~2009-07-16 10:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-15 12:50 [Qemu-devel] CPUID feature bits not saved with migration Andre Przywara
2009-07-15 14:38 ` Anthony Liguori
2009-07-15 15:12 ` Jamie Lokier
2009-07-16 6:55 ` Dor Laor
2009-07-16 10:09 ` Andre Przywara
2009-07-16 14:29 ` Jamie Lokier
2009-07-16 10:08 ` Andre Przywara
2009-07-16 14:28 ` Jamie Lokier
2009-07-22 13:24 ` Andre Przywara
2009-07-22 14:46 ` Jamie Lokier
2009-07-16 10:08 ` Andre Przywara [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=4A5EFC35.4060607@amd.com \
--to=andre.przywara@amd.com \
--cc=anthony@codemonkey.ws \
--cc=qemu-devel@nongnu.org \
/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).