From: Paolo Bonzini <pbonzini@redhat.com>
To: Eduardo Habkost <ehabkost@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH] target/i386: add VMX features to named CPU models
Date: Wed, 20 Nov 2019 21:49:35 +0100 [thread overview]
Message-ID: <a86d16e7-c738-9b4b-e29a-518d94f174e0@redhat.com> (raw)
In-Reply-To: <20191120184533.GT3812@habkost.net>
On 20/11/19 19:45, Eduardo Habkost wrote:
> On Wed, Nov 20, 2019 at 06:37:53PM +0100, Paolo Bonzini wrote:
>> This allows using "-cpu Haswell,+vmx", which we did not really want to
>> support in QEMU but was produced by Libvirt when using the "host-model"
>> CPU model.
>
> I understand guest ABI compatibility is not a concern, but I
> don't remember how we guarantee it won't break by accident if
> somebody tries to live migrate a VM.
I'm not sure I understand the question, but I can answer the second part:
> What is supposed to happen today if trying to live migrate a VM
> using "-cpu Haswell,+vmx"?
Before 4.2: same guest ABI compatibility as "-cpu host".
4.2+: ABI compatibility is preserved, because each named CPU model can
be given a precise set of features that are matched against the host
(and are subject to check/enforce).
4.1->4.2: the ABI *should* be preserved if you're running "-cpu
SandyBridge,+vmx" on an actual Sandy Bridge, but some VMX features will
disappear after live migration if e.g. you're running "-cpu
SandyBridge,+vmx" on a Haswell. Host-model should be fine though.
Paolo
next prev parent reply other threads:[~2019-11-20 20:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-20 17:37 [PATCH] target/i386: add VMX features to named CPU models Paolo Bonzini
2019-11-20 17:50 ` Daniel P. Berrangé
2019-11-20 17:57 ` Paolo Bonzini
2019-11-20 18:02 ` Daniel P. Berrangé
2019-11-20 18:16 ` Kashyap Chamarthy
2019-11-20 18:45 ` Eduardo Habkost
2019-11-20 20:49 ` Paolo Bonzini [this message]
2019-11-20 21:15 ` Eduardo Habkost
2019-11-20 22:14 ` Paolo Bonzini
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=a86d16e7-c738-9b4b-e29a-518d94f174e0@redhat.com \
--to=pbonzini@redhat.com \
--cc=ehabkost@redhat.com \
--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).