Oprofile shows this CPU usage by QEMU after terminating the inner VM (full output appended)
CPU: AMD64 generic, speed 5086 MHz (estimated) Counted CPU_CLK_UNHALTED events (CPU Clocks not Halted) with a unit mask of 0x00 (No unit mask) count 100000 samples % image name symbol name 5448000 56.2096 kallsyms native_queued_spin_lock_slowpath 260272 2.6854 qemu-system-riscv64 cpu_get_tb_cpu_state 225697 2.3286 qemu-system-riscv64 helper_lookup_tb_ptr 212821 2.1958 qemu-system-riscv64 qemu_mutex_lock_impl 156970 1.6195 kallsyms futex_wake 115205 1.1886 libc.so.6 __GI___lll_lock_wait 114941 1.1859 libc.so.6 pthread_mutex_lock@@GLIBC_2.2.5 107187 1.1059 kallsyms futex_wait_setup 105033 1.0837 anon (tgid:12778 range:0x76b8e0000000-0x76b8e07fefff) anon (tgid:12778 range:0x76b8e0000000-0x76b8e07fefff) 103359 1.0664 kallsyms futex_q_lock 98679 1.0181 qemu-system-riscv64 helper_ctr_add_entry 95179 0.9820 kallsyms delay_halt_mwaitx 90552 0.9343 qemu-system-riscv64 riscv_ctr_add_entry 79270 0.8179 anon (tgid:12778 range:0x76b8e2000000-0x76b8e27fefff) anon (tgid:12778 range:0x76b8e2000000-0x76b8e27fefff) 69703 0.7192 libc.so.6 pthread_mutex_unlock@@GLIBC_2.2.5 63912 0.6594 qemu-system-riscv64 cpu_exec_loop 58463 0.6032 kallsyms _raw_spin_lock ** Attachment added: "opreport.txt" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2112578/+attachment/5885028/+files/opreport.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2112578 Title: riscv64: KVM does not release harts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2112578/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
