Re: [RFC PATCH] target/arm: de-duplicate our register XML definitions

2022-06-11 Thread Alex Bennée
Peter Maydell writes: > On Fri, 10 Jun 2022 at 16:40, Alex Bennée wrote: >> >> We generate the XML for each vCPU we create which for heavily threaded >> linux-user runs can add up to a lot of memory. Unfortunately we can't >> only do it once as we may have vCPUs with different capabilities in

Re: [RFC PATCH] target/arm: de-duplicate our register XML definitions

2022-06-10 Thread Peter Maydell
On Fri, 10 Jun 2022 at 16:40, Alex Bennée wrote: > > We generate the XML for each vCPU we create which for heavily threaded > linux-user runs can add up to a lot of memory. Unfortunately we can't > only do it once as we may have vCPUs with different capabilities in > different cores but we can at

[RFC PATCH] target/arm: de-duplicate our register XML definitions

2022-06-10 Thread Alex Bennée
We generate the XML for each vCPU we create which for heavily threaded linux-user runs can add up to a lot of memory. Unfortunately we can't only do it once as we may have vCPUs with different capabilities in different cores but we can at least free duplicate definitions if we find them.