qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 0/4] Initialize nr_cores and nr_threads early and related


From: Paolo Bonzini
Subject: Re: [PATCH v1 0/4] Initialize nr_cores and nr_threads early and related clearup
Date: Thu, 21 Nov 2024 19:52:07 +0100
User-agent: Mozilla Thunderbird

On 11/21/24 17:24, Xiaoyao Li wrote:
Could it go into cpu_common_initfn()?

It can, I think.

I'll move them into cpu_common_initfn() in v2 to avoid touching all the ARCHes.

It does look better than the alternative of duplicating code.

On the other hand qemu_init_vcpu is already duplicated and I'm not sure I like relying on qdev_get_machine() inside the instance_init function...

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]