id = 1070 title = "gdbstub XML generation for ARM is done for every CPU" state = "opened" created_at = "2022-06-10T11:22:17.068Z" closed_at = "n/a" labels = ["GDB", "kind::Bug", "linux-user"] url = "https://gitlab.com/qemu-project/qemu/-/issues/1070" host-os = "n/a" host-arch = "aarch64 (and probably ARM)" qemu-version = "version 7.0.50 (v7.0.0-1706-geee6aacd15-dirty)" guest-os = "n/a" guest-arch = "aarch64 (and probably ARM)" description = """- 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""" reproduce = """See above command line, valgrind picks it up""" additional = """See also #866, #967"""