qemu-kvm takes 100% CPU when running redhat/centos 7.6 guest VM OS Description =========== When running redhat or centos 7.6 guest os on vm, the cpu usage is very low on vm(100% idle), but on host, qemu-kvm reports 100% cpu busy usage. After searching some related bugs report, I suspect that it is due to the clock settings in vm's domain xml. My Openstack cluster uses the default clock settings as follow: And in this report, https://bugs.launchpad.net/qemu/+bug/1174654 it claims that can solve the 100% cpu usage problem when using Windows Image Guest OS, but I makes some tests, the solusion dose not work for me. Steps to reproduce ================== * create a vm using centos or redhat 7.6 image * using sar tool inside vm and host to check the cpu usage, and compare them Expected result =============== host's cpu usage report should be same with vm's cpu usage Actual result ============= vm's cpu usage is 100% idle, host's cpu usage is 100% busy Environment =========== 1. Exact version of OpenStack you are running. # rpm -qa | grep nova openstack-nova-compute-13.1.2-1.el7.noarch python2-novaclient-3.3.2-1.el7.noarch python-nova-13.1.2-1.el7.noarch openstack-nova-common-13.1.2-1.el7.noarch 2. Which hypervisor did you use? (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...) What's the version of that? # libvirtd -V libvirtd (libvirt) 3.9.0 # /usr/libexec/qemu-kvm --version QEMU emulator version 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.6.1), Copyright (c) 2003-2008 Fabrice Bellard Logs & Configs ============== The VM xml: instance-00005022 7f5a66a5-****-****-****-75dec****bbb ******* 2019-05-20 03:08:46 2048 12 2048 0 1 **** **** 2097152 2097152 1 1024 /machine Fedora Project OpenStack Nova 13.1.2-1.el7 64ab0e89-****-****-****-05312ef66983 7f5a66a5-****-****-****-75decaf82bbb Virtual Machine hvm IvyBridge destroy restart destroy /usr/libexec/qemu-kvm