From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 73721] New: KVM hv-time Date: Wed, 09 Apr 2014 10:24:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.kernel.org ([198.145.19.201]:53364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757645AbaDIKYd (ORCPT ); Wed, 9 Apr 2014 06:24:33 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 697C02054D for ; Wed, 9 Apr 2014 10:24:32 +0000 (UTC) Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52]) by mail.kernel.org (Postfix) with ESMTP id 8225A2053F for ; Wed, 9 Apr 2014 10:24:30 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=73721 Bug ID: 73721 Summary: KVM hv-time Product: Virtualization Version: unspecified Kernel Version: 3.14.0 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@kernel-bugs.osdl.org Reporter: anickname@gmail.com Regression: No Hi, I'm trying to start a Windows 8.1 x86_64 virtual machine and the system moves very slow. After the vm starts the log is full of : Apr 05 21:20:51 kvm kernel: ------------[ cut here ]------------ Apr 05 21:20:51 kvm kernel: WARNING: CPU: 3 PID: 1919 at arch/x86/kvm/x86.c:1112 kvm_get_msr_common+0x793/0x960 [kvm]() Apr 05 21:20:51 kvm kernel: Modules linked in: nls_utf8 cifs dns_resolver fscache bridge ebt_ip stp llc ebtable_filter ebtables x_tables nct6775 hwmon_vid coretemp iTCO_wdt iTCO_vendor_ Apr 05 21:20:51 kvm kernel: raid1 md_mod sd_mod crc_t10dif atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128 Apr 05 21:20:51 kvm kernel: CPU: 3 PID: 1919 Comm: windows_81 Tainted: G W 3.14.0-3-mainline #2 Apr 05 21:20:51 kvm kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Professional, BIOS P1.70B 11/12/2013 Apr 05 21:20:51 kvm kernel: 0000000000000009 ffff8808007f9c10 ffffffff814d563c 0000000000000000 Apr 05 21:20:51 kvm kernel: ffff8808007f9c48 ffffffff81064f1d 0000000040000020 ffff8808007f9cd8 Apr 05 21:20:51 kvm kernel: ffff880800b53ec0 ffff8808011b0000 ffff8808011b0040 ffff8808007f9c58 Apr 05 21:20:51 kvm kernel: Call Trace: Apr 05 21:20:51 kvm kernel: [] dump_stack+0x4d/0x6f Apr 05 21:20:51 kvm kernel: [] warn_slowpath_common+0x7d/0xa0 Apr 05 21:20:51 kvm kernel: [] warn_slowpath_null+0x1a/0x20 Apr 05 21:20:51 kvm kernel: [] kvm_get_msr_common+0x793/0x960 [kvm] Apr 05 21:20:51 kvm kernel: [] vmx_get_msr+0x102/0x370 [kvm_intel] Apr 05 21:20:51 kvm kernel: [] ? skip_emulated_instruction+0x58/0x60 [kvm_intel] Apr 05 21:20:51 kvm kernel: [] handle_rdmsr+0x2a/0x140 [kvm_intel] Apr 05 21:20:51 kvm kernel: [] vmx_handle_exit+0xb5/0xa20 [kvm_intel] Apr 05 21:20:51 kvm kernel: [] ? vmx_invpcid_supported+0x20/0x20 [kvm_intel] Apr 05 21:20:51 kvm kernel: [] kvm_arch_vcpu_ioctl_run+0xc10/0x1130 [kvm] Apr 05 21:20:51 kvm kernel: [] ? kvm_arch_vcpu_load+0x4e/0x1e0 [kvm] Apr 05 21:20:51 kvm kernel: [] kvm_vcpu_ioctl+0x2b2/0x5b0 [kvm] Apr 05 21:20:51 kvm kernel: [] ? fsnotify+0x228/0x2f0 Apr 05 21:20:51 kvm kernel: [] ? _raw_spin_unlock_irq+0x25/0x30 Apr 05 21:20:51 kvm kernel: [] do_vfs_ioctl+0x2e0/0x4c0 Apr 05 21:20:51 kvm kernel: [] ? __fget+0x6e/0xb0 Apr 05 21:20:51 kvm kernel: [] SyS_ioctl+0x81/0xa0 Apr 05 21:20:51 kvm kernel: [] system_call_fastpath+0x16/0x1b Apr 05 21:20:51 kvm kernel: ---[ end trace 4ce12a32c5d85c78 ]--- Apr 05 21:20:51 kvm kernel: ------------[ cut here ]------------ I'm using kernel 3.14.0 and qemu-git. This happens only when qemu is started with "hv-time" suboption. Same command line with "hv-time" worked without any problems with kernel 3.13.6. My config is : qemu-system-x86_64 \ -daemonize \ -pidfile "/run/qemu-$VM.pid" \ -nodefconfig -nodefaults \ -name "$VM",process="$VM" \ -enable-kvm \ -boot menu=on \ -rtc base=localtime \ -machine q35 \ -balloon none \ -m 8192 -mem-path /dev/hugepages -mem-prealloc \ -cpu Haswell,hv-time \ -smp sockets=1,cores=4,threads=1 \ -bios bios-256k.bin \ -chardev file,path="$VM-seabios.log",id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios \ -vga none \ -nographic \ -monitor unix:/run/qemu-$VM.monitor,server,nowait \ -serial none \ -parallel none \ -device ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1 \ -device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on,romfile=$KVM_ROOT/roms/Sapphire_RadeonHD_7790.rom \ -device vfio-pci,host=00:1b.0,bus=pcie.0 \ -device vfio-pci,host=06:00.0,bus=pcie.0 \ -device vfio-pci,host=09:00.0,bus=pcie.0 \ -device vfio-pci,host=0b:00.0,bus=pcie.0 Thanks. -- You are receiving this mail because: You are watching the assignee of the bug.