All of lore.kernel.org
 help / color / mirror / Atom feed
* arm: "max" CPU class hierarchy changes possible?
@ 2021-03-11 14:27 Claudio Fontana
  2021-03-11 15:02 ` Peter Maydell
  0 siblings, 1 reply; 18+ messages in thread
From: Claudio Fontana @ 2021-03-11 14:27 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Paolo Bonzini, Philippe Mathieu-Daudé,
	qemu-arm, qemu-devel, Eduardo Habkost

Hi Peter,

the "max" cpu in x86 and s390 is a class,

and then "host" has "max" as parent.

This would be a convenient setup for ARM too, as it would allow to put common code between kvm and tcg in the "max" class,
and allow "host" to specialize the behavior for KVM (and in the future HVF probably).

Would changing the class hierarchy this way be acceptable, cause any problems?

I ask specifically because on the x86 side I had to limit my changes to the hierarchy to adding objects,
but I would not change the relationship between them.

Thanks,

Claudio

-- 
Claudio Fontana
Engineering Manager Virtualization, SUSE Labs Core

SUSE Software Solutions Italy Srl


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

end of thread, other threads:[~2021-03-19  8:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 14:27 arm: "max" CPU class hierarchy changes possible? Claudio Fontana
2021-03-11 15:02 ` Peter Maydell
2021-03-11 15:21   ` Claudio Fontana
2021-03-11 16:02     ` Peter Maydell
2021-03-11 16:18   ` Paolo Bonzini
2021-03-11 17:16     ` Claudio Fontana
2021-03-11 17:35       ` Eduardo Habkost
2021-03-11 18:33       ` Peter Maydell
2021-03-11 19:10         ` Andrew Jones
2021-03-18 11:06           ` arm_cpu_post_init (Was: Re: arm: "max" CPU class hierarchy changes possible?) Claudio Fontana
2021-03-18 11:32             ` Claudio Fontana
2021-03-18 12:08               ` Andrew Jones
2021-03-18 12:42                 ` Claudio Fontana
2021-03-18 12:59                   ` Andrew Jones
2021-03-18 13:10                     ` Eduardo Habkost
2021-03-19  8:19                       ` Claudio Fontana
2021-03-19  8:23             ` Claudio Fontana
2021-03-19  8:33               ` Claudio Fontana

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.