From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [BUG/RFC] Two cpus are not brought up normally in SLES11 sp3 VM after reboot Date: Mon, 6 Jul 2015 10:45:04 +0200 Message-ID: <559A4010.30808@redhat.com> References: <559A342C.6020207@huawei.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: peter.huangpeng@huawei.com, "qemu-devel@nongnu.org" To: zhanghailiang , kvm@vger.kernel.org Return-path: Received: from mail-wi0-f180.google.com ([209.85.212.180]:34759 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751467AbbGFIpH (ORCPT ); Mon, 6 Jul 2015 04:45:07 -0400 Received: by wifm2 with SMTP id m2so22628088wif.1 for ; Mon, 06 Jul 2015 01:45:06 -0700 (PDT) In-Reply-To: <559A342C.6020207@huawei.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/07/2015 09:54, zhanghailiang wrote: >=20 > From host, we found that QEMU vcpu1 thread and vcpu7 thread were not > consuming any cpu (Should be in idle state), > All of VCPUs' stacks in host is like bellow: >=20 > [] kvm_vcpu_block+0x65/0xa0 [kvm] > [] __vcpu_run+0xd1/0x260 [kvm] > [] kvm_arch_vcpu_ioctl_run+0x68/0x1a0 [kvm] > [] kvm_vcpu_ioctl+0x38e/0x580 [kvm] > [] do_vfs_ioctl+0x8b/0x3b0 > [] sys_ioctl+0xa1/0xb0 > [] system_call_fastpath+0x16/0x1b > [<00002ab9fe1f99a7>] 0x2ab9fe1f99a7 > [] 0xffffffffffffffff >=20 > We looked into the kernel codes that could leading to the above 'Stuc= k' > warning, > and found that the only possible is the emulation of 'cpuid' instruct= in > kvm/qemu has something wrong. > But since we can=E2=80=99t reproduce this problem, we are not quite s= ure. > Is there any possible that the cupid emulation in kvm/qemu has some b= ug ? Can you explain the relationship to the cpuid emulation? What do the traces say about vcpus 1 and 7? Paolo