From: Markus Armbruster <armbru@redhat.com>
To: gaosong <gaosong@loongson.cn>
Cc: Bibo Mao <maobibo@loongson.cn>,
QEMU devel <qemu-devel@nongnu.org>,
David Hildenbrand <david@redhat.com>,
Eduardo Habkost <eduardo@habkost.net>
Subject: Re: [PATCH] target/loongarch: Add full type support for query-cpu-model-expansion
Date: Thu, 13 Feb 2025 12:48:30 +0100 [thread overview]
Message-ID: <87a5aqhxpt.fsf@pond.sub.org> (raw)
In-Reply-To: <30c1c330-32d1-fa36-c0ca-670c94a06736@loongson.cn> (gaosong@loongson.cn's message of "Thu, 13 Feb 2025 18:07:06 +0800")
gaosong <gaosong@loongson.cn> writes:
> Cc: Markus
>
> hi, Markus
>
> What is the difference between CPU_MODEL_EXPANSION_TYPE_STATIC and
> CPU_MODEL_EXPANSION_TYPE_FULL?
I don't know :)
Here's the documentation:
##
# @CpuModelExpansionType:
#
# An enumeration of CPU model expansion types.
#
# @static: Expand to a static CPU model, a combination of a static
# base model name and property delta changes. As the static base
# model will never change, the expanded CPU model will be the
# same, independent of QEMU version, machine type, machine
# options, and accelerator options. Therefore, the resulting
# model can be used by tooling without having to specify a
# compatibility machine - e.g. when displaying the "host" model.
# The @static CPU models are migration-safe.
#
# @full: Expand all properties. The produced model is not guaranteed
# to be migration-safe, but allows tooling to get an insight and
# work with model details.
#
# .. note:: When a non-migration-safe CPU model is expanded in static
# mode, some features enabled by the CPU model may be omitted,
# because they can't be implemented by a static CPU model
# definition (e.g. cache info passthrough and PMU passthrough in
# x86). If you need an accurate representation of the features
# enabled by a non-migration-safe CPU model, use @full. If you
# need a static representation that will keep ABI compatibility
# even when changing QEMU version or machine-type, use @static (but
# keep in mind that some features may be omitted).
#
# Since: 2.8
##
If you have further questions, David Hildenbrand or Eduardo Habkost
(cc'ed) might be able to help.
next prev parent reply other threads:[~2025-02-13 11:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 9:16 [PATCH] target/loongarch: Add full type support for query-cpu-model-expansion Bibo Mao
2025-02-13 9:40 ` bibo mao
2025-02-13 16:52 ` Igor Mammedov
2025-02-14 1:57 ` bibo mao
2025-02-13 10:07 ` gaosong
2025-02-13 11:48 ` Markus Armbruster [this message]
2025-02-13 16:17 ` Igor Mammedov
2025-02-13 16:25 ` David Hildenbrand
2025-02-14 12:29 ` Markus Armbruster
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=87a5aqhxpt.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=david@redhat.com \
--cc=eduardo@habkost.net \
--cc=gaosong@loongson.cn \
--cc=maobibo@loongson.cn \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.