Applying the two patches above might help reduce this time. I'm currently running QEMU 8.2 with kernel 5.10, and directly cherry-picking these two patches resultsin conflicts. I'll spend some time backporting them and see how the results look.
Oh. It might be very difficult to do the backport on such an old code base specially for Linux. And there is more to it as Alex said. We would be interested by the results with upstream though. Could please you give it a try first ? Then, I would rebase if possible. Thanks, C.
