From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@bugzilla.kernel.org Subject: [Bug 116031] New: Many MSR sets are skipped when vcpu type is qemu64. Date: Fri, 08 Apr 2016 06:54:48 +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.29.136]:39402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751957AbcDHGyx (ORCPT ); Fri, 8 Apr 2016 02:54:53 -0400 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B82E9202EC for ; Fri, 8 Apr 2016 06:54:51 +0000 (UTC) Received: from bugzilla2.web.kernel.org (bugzilla2.web.kernel.org [172.20.200.52]) by mail.kernel.org (Postfix) with ESMTP id 8C8612028D for ; Fri, 8 Apr 2016 06:54:48 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: https://bugzilla.kernel.org/show_bug.cgi?id=116031 Bug ID: 116031 Summary: Many MSR sets are skipped when vcpu type is qemu64. Product: Virtualization Version: unspecified Kernel Version: 4.1.x Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: high Priority: P1 Component: kvm Assignee: virtualization_kvm@kernel-bugs.osdl.org Reporter: changlimin@h3c.com Regression: No 1. When vcpu type is qemu64, cpuid[8000_0001_EDX] does not support EXT2_RDTSCP on default. 2. Because kvm msrs_to_save contains MSR_TSC_AUX, qemu will set MSR_TSC_AUX in kvm_put_msrs. 3. In kvm, vmx->rdtscp_enabled is false(see 1), so vmx_set_msr set MSR_TSC_AUX will return error. 4. In __msr_io, the error will break the loop, so msrs after MSR_TSC_AUX will be skipped. -- You are receiving this mail because: You are watching the assignee of the bug.