|
| From: | Paolo Bonzini |
| Subject: | Re: [RFC v6 10/11] accel: introduce AccelCPUClass extending CPUClass |
| Date: | Fri, 27 Nov 2020 07:21:30 +0100 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 |
On 26/11/20 23:32, Claudio Fontana wrote:
+ if (acc) {
+ object_class_foreach(accel_init_cpu_int_aux, cpu_type, false, acc);
+ }
Any reason to do it for cpu_type only, rather than for all subclasses of CPU_RESOLVING_TYPE? This would remove the cpu_type argument to accel_init_cpu_interfaces and accel_init_interfaces.
Otherwise I haven't done a careful review yet but it looks very nice, thanks!
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |