Description of problem:
Disable cpu flag via "-cpu qemu64,-flag(kvmclock)", and there is "CPU feature kvmclock not found" message display in the qemu monitor.
Version-Release number of selected component (if applicable):
host info:
# uname -r && rpm -q kvm
2.6.18-302.el5
kvm-83-246.el5
How reproducible:
100%
Steps to Reproduce:
1.boot the guest with -cpu qemu64,-flag (kvmclock).
eg: # /usr/libexec/qemu-kvm -M rhel5.6.0 -m 4G -smp 2,cores=2,threads=1,sockets=1 -cpu qemu64,-kvmclock -name rhel5.8 -usbdevice tablet -rtc-td-hack -uuid de2fd1ba-4b8b-40d4-84d3-5488366f871e -boot c -drive file=/home/rhel-5.8-64.qcow2,if=ide,boot=on,bus=0,unit=0,format=qcow2,cache=none,boot=on,werror=stop -net nic,macaddr=84:52:5f:1d:33:47,vlan=0,model=virtio -net tap,vlan=0,script=/etc/qemu-ifup -balloon none -monitor stdio -spice host=0,ic=on,port=5915,disable-ticketing -qxl 1
2.take "# dmesg | grep -i time.c" in the guest.
Actual results:
1.There is "CPU feature kvmclock not found" message display in the qemu monitor.
2.After the step 2, the result as following:
# dmesg | grep -i time.c
time.c: Using 1.193182 MHz WALL KVM GTOD KVM timer.
time.c: Detected 2826.246 MHz processor.
Real Time Clock Driver v1.12ac
Expected results:
RHEL5.8 should support the kvmclock flag in qemu64 cpu model, and take "# dmesg | grep -i time.c" should not display any message.
Additional info:
Mark this bug as qa+ first and proposed to rhel5.9,however,still have a question,do we support disable kvmclock via kvm CML -kvmclock?
Additional infos
Boot guest with -cpu qemu64,-kvmclock
# /usr/libexec/qemu-kvm -M rhel5.6.0 -m 4G -smp 2,cores=2,threads=1,sockets=1 -cpu qemu64,-kvmclock ......
CPU feature kvmclock not found
CPU feature kvmclock not found