qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* x86 CPU properties "family", "model", "stepping", "tsc-freq"
@ 2024-10-09 11:01 Markus Armbruster
  2024-10-09 11:35 ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Armbruster @ 2024-10-09 11:01 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Richard Henderson, Eduardo Habkost,
	Daniel P. Berrangé

QOM properties serve several purposes: initial configuration (external
interface), run time control and monitoring (external interface), and
internal purposes like versioning.  Which purpose(s) a property serves
is often unclear.

The x86 CPU properties "family", "model", and "stepping" are used
internally; see target/i386/cpu.c and hw/i386/pc.c.  I figure changing
them at run time makes no sense.  What about configuration?  Can the
user set arbitrary CPU properties?  If yes, are these properties meant
to be set by the user?

Property "tsc-freq" seems not to be used internally.  I figure changing
it at run time makes no sense.  Looks like it is be meant to be set by
the user: x86_cpu_parse_featurestr() seems to parse it from the argument
of -cpu.  Correct?  Note that -cpu help doesn't mention it.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-09 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 11:01 x86 CPU properties "family", "model", "stepping", "tsc-freq" Markus Armbruster
2024-10-09 11:35 ` Daniel P. Berrangé
2024-10-09 11:47   ` Markus Armbruster
2024-10-09 13:44   ` Markus Armbruster
2024-10-09 13:47     ` Daniel P. Berrangé

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).