On Mon, Feb 24, 2025 at 11:39:46AM +1000, Alistair Francis wrote: > On Tue, Jan 28, 2025 at 4:29 AM Andrea Bolognani <abolo...@redhat.com> wrote: > > Right now information regarding the family each CPU type belongs > > to is recorded in two places: the large data table at the top of > > the script, and the qemu_host_family() function. > > > > We can make things better by mapping host CPU architecture to > > QEMU target in the few cases where the two don't already match > > and then using the data table to look up the family, same as > > we're already doing for the guest CPU architecture. > > > > Being able to reason in terms of QEMU target regardless of > > whether we're looking at the host or guest CPU architecture will > > come in handy to implement upcoming changes. > > > > A couple of entries are dropped in the process: BePC and Power > > Macintosh. I'm quite certain neither of those have ever been > > reported as CPU architectures by Linux. I believe many more of > > the entries that are carried forward could be dropped as well, > > but I don't have the same level of confidence there so I > > decided to play it safe just in case. > > > > Signed-off-by: Andrea Bolognani <abolo...@redhat.com> > > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com>
Thanks Alistair. Are you planning to review patch 3/3 as well? -- Andrea Bolognani / Red Hat / Virtualization