Il ven 22 nov 2024, 10:44 David Hildenbrand <da...@redhat.com> ha scritto:
> > I think we can check if qdev_get_machine() gets a valid result. If not, > > fall back to assign nr_cores and nr_threads to 1. > > That sounds reasonable to me. > Another possibility is to add a cpu_realize() function that sets two properties and then calls qdev_realize(). It touches all architectures but not in the sense of adding new code, just changing it. And it is more code to write though, so if Xiaoyao prefers that I apply v1 I am okay with that. Paolo > Cheers, > > David / dhildenb > >