All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 71521] New: Host call trace when create guest.
@ 2014-03-05  2:56 bugzilla-daemon
  2014-03-11  1:49 ` [Bug 71521] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-05  2:56 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

            Bug ID: 71521
           Summary: Host call trace when create guest.
           Product: Virtualization
           Version: unspecified
    Kernel Version: 3.14.0-rc1
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: kvm
          Assignee: virtualization_kvm@kernel-bugs.osdl.org
          Reporter: Robert.Hu@intel.com
        Regression: No

Created attachment 128051
  --> https://bugzilla.kernel.org/attachment.cgi?id=128051&action=edit
host-dmesg

Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):Linux
kvm.git Commit:d3714010c307d26df251c45be9cd12ab6d41f0c4
qemu-kvm Commit:9fbee91a131a05e443d7108d7fbdf3ca91020290
Host Kernel Version:3.14.0-rc1
Hardware:Romley_EP, Ivytown_EP


Bug detailed description:
--------------------------
after create guest, the host will call trace


Reproduce steps:
----------------
1. create guest
qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -net none /root/rhel6u4.qcow

Current result:
----------------
host call trace

Expected result:
----------------
guest and host work fine

Basic root-causing log:
----------------------
vmwrite error: reg 2812 value 0 (err 12)
CPU: 2 PID: 10596 Comm: qemu-system-x86 Not tainted 3.14.0-rc1 #2
Hardware name: Intel Corporation S2600CP/S2600CP, BIOS
SE5C600.86B.02.01.1001.080920131108 08/09/2013
 0000000000000000 ffff880234079c78 ffffffff81482475 0000000000000006
 ffff880623130040 ffff880234079c88 ffffffffa02d51d2 ffff880234079c98
 ffffffffa02d51ed ffff880234079cc8 ffffffffa02dd407 00000000000003c0
Call Trace:
 [<ffffffff81482475>] dump_stack+0x49/0x5c
 [<ffffffffa02d51d2>] vmwrite_error+0x27/0x29 [kvm_intel]
 [<ffffffffa02d51ed>] vmcs_writel+0x19/0x1b [kvm_intel]
 [<ffffffffa02dd407>] vmx_set_msr+0x10b/0x26e [kvm_intel]
 [<ffffffffa025c37c>] do_set_msr+0x27/0x29 [kvm]
 [<ffffffffa02673cf>] msr_io+0xa0/0x101 [kvm]
 [<ffffffffa025c355>] ? kvm_set_msr+0x13/0x13 [kvm]
 [<ffffffffa0267936>] kvm_arch_vcpu_ioctl+0x37e/0xb7b [kvm]
 [<ffffffffa02d5484>] ? update_cr8_intercept+0x1b/0x1d [kvm_intel]
 [<ffffffffa0264495>] ? update_cr8_intercept+0x65/0x6a [kvm]
 [<ffffffffa026a07c>] ? kvm_arch_vcpu_ioctl_set_sregs+0x38b/0x407 [kvm]
 [<ffffffffa025750e>] ? kvm_vcpu_ioctl+0x25c/0x4b5 [kvm]
 [<ffffffffa02681d8>] ? kvm_arch_vcpu_load+0xa5/0x16c [kvm]
 [<ffffffffa02576f0>] kvm_vcpu_ioctl+0x43e/0x4b5 [kvm]
 [<ffffffff8110349b>] ? do_brk+0x265/0x2bc
 [<ffffffff8113495d>] do_vfs_ioctl+0x2a2/0x2be
 [<ffffffff8113c799>] ? __fget_light+0x4a/0x5c
 [<ffffffff811349d2>] SyS_ioctl+0x59/0x7d
 [<ffffffff8148c762>] system_call_fastpath+0x16/0x1b


more tests:
kernel version:3.14.0-rc1
kvm.git  +  qemu.git  =result
d3714010 +  732c66ce  =pass
d3714010 +  9fbee91a  =fail


kernel version:3.13.-rc2
kvm.git   +   qemu.git  =result
7650b687  +   732c66ce  =  pass
7650b687  +   9fbee91a  = pass

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
@ 2014-03-11  1:49 ` bugzilla-daemon
  2014-03-11  1:49 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-11  1:49 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

Zhou, Chao <chao.zhou@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chao.zhou@intel.com

--- Comment #1 from Zhou, Chao <chao.zhou@intel.com> ---
Created attachment 128901
  --> https://bugzilla.kernel.org/attachment.cgi?id=128901&action=edit
patch to fix bug71521

apply the patch to kvm.git:d3714010c307d26df251c45be9cd12ab6d41f0c4, after
create guest, the guest and host work fine, the bug can't reproduce.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
  2014-03-11  1:49 ` [Bug 71521] " bugzilla-daemon
@ 2014-03-11  1:49 ` bugzilla-daemon
  2014-03-25 10:18 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-11  1:49 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

--- Comment #2 from Robert.Hu@intel.com ---
Hi,

I'm on leave during March 10 ~12.
During this period, I may occasionally check my email and probably not able to
reply you in time.

Anything urgent could reach me by +86 186 2190 5686.

Thanks.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
  2014-03-11  1:49 ` [Bug 71521] " bugzilla-daemon
  2014-03-11  1:49 ` bugzilla-daemon
@ 2014-03-25 10:18 ` bugzilla-daemon
  2014-03-28  4:32 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-25 10:18 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

Paolo Bonzini <bonzini@gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bonzini@gnu.org

--- Comment #3 from Paolo Bonzini <bonzini@gnu.org> ---
In the reporter's case, this is caused by a bug in VMX microcode.  However it
can happen also with nested virtualization.  A patch was posted to
kvm@vger.kernel.org.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
                   ` (2 preceding siblings ...)
  2014-03-25 10:18 ` bugzilla-daemon
@ 2014-03-28  4:32 ` bugzilla-daemon
  2014-03-28  4:34 ` bugzilla-daemon
  2014-03-28  6:29 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-28  4:32 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

--- Comment #4 from Zhou, Chao <chao.zhou@intel.com> ---
kvm.git + qemu.git:920c8377_9c5793c5
test on Romley_EP and Ivytown_EP,after create guest, the guest and host work
fine, the bug can't reproduce.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
                   ` (3 preceding siblings ...)
  2014-03-28  4:32 ` bugzilla-daemon
@ 2014-03-28  4:34 ` bugzilla-daemon
  2014-03-28  6:29 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-28  4:34 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

--- Comment #5 from Zhou, Chao <chao.zhou@intel.com> ---
this patch fixed the bug:
commit 920c837785699bcc48f4a729ba9ee3492f620b95
Author: Paolo Bonzini <pbonzini@redhat.com>
Date:   Wed Mar 26 15:54:00 2014 +0100

    KVM: vmx: fix MPX detection

    kvm_x86_ops is still NULL at this point.  Since kvm_init_msr_list
    cannot fail, it is safe to initialize it before the call.

    Fixes: 93c4adc7afedf9b0ec190066d45b6d67db5270da
    Reported-by: Fengguang Wu <fengguang.wu@intel.com>
    Tested-by: Jet Chen <jet.chen@intel.com>
    Cc: kvm@vger.kernel.org
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 71521] Host call trace when create guest.
  2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
                   ` (4 preceding siblings ...)
  2014-03-28  4:34 ` bugzilla-daemon
@ 2014-03-28  6:29 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2014-03-28  6:29 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=71521

Paolo Bonzini <bonzini@gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |CODE_FIX

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-28  6:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-05  2:56 [Bug 71521] New: Host call trace when create guest bugzilla-daemon
2014-03-11  1:49 ` [Bug 71521] " bugzilla-daemon
2014-03-11  1:49 ` bugzilla-daemon
2014-03-25 10:18 ` bugzilla-daemon
2014-03-28  4:32 ` bugzilla-daemon
2014-03-28  4:34 ` bugzilla-daemon
2014-03-28  6:29 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.