device: 0.770 graphic: 0.678 debug: 0.578 performance: 0.520 other: 0.425 semantic: 0.397 vnc: 0.309 PID: 0.298 boot: 0.277 files: 0.271 socket: 0.224 permissions: 0.190 network: 0.087 KVM: 0.006 gdbstub XML generation for ARM is done for every CPU Description of problem: - As arm_cpu_register_gdb_regs_for_features is called from the device realize stage for each vCPU in user mode we end up uselessly regenerating the XML for every new thread. Once you get up to 100 threads this starts exceeding the large maps done for QHT and PageDesc Steps to reproduce: See above command line, valgrind picks it up Additional information: See also #866, #967