Re: [PATCH 21/21] qemuTestCapsCacheInsert: Rewrite caps cache insertion

2022-01-06 Thread Ján Tomko
On a Thursday in 2022, Peter Krempa wrote: Until now we did 2 weird things when inserting the qemuCaps used for individual test cases into the capability cache: 1) we inserted the same caps for all emulators 2) we always (expensively) copied them Now when real capabilities are used we don't tou

[PATCH 21/21] qemuTestCapsCacheInsert: Rewrite caps cache insertion

2022-01-06 Thread Peter Krempa
Until now we did 2 weird things when inserting the qemuCaps used for individual test cases into the capability cache: 1) we inserted the same caps for all emulators 2) we always (expensively) copied them Now when real capabilities are used we don't touch them at all just simply inser them. This a