From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: Hang on reboot in FreeBSD guest on Linux KVM host Date: Tue, 17 Jun 2014 09:05:00 +0300 Message-ID: <20140617060500.GA20764@minantech.com> References: <6DBD3DBB-24B1-4564-B524-E8E73508BBC5@jnielsen.net> <42870B81-CA29-4161-9BCE-F6D6020C3D2C@jnielsen.net> <539F1DC0.4020604@redhat.com> <4F14D859-D641-4AB5-B749-83D9D82F1DEA@jnielsen.net> <539FC243.2070906@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: John Nielsen , "kvm@vger.kernel.org" To: Paolo Bonzini Return-path: Received: from mail-we0-f177.google.com ([74.125.82.177]:41265 "EHLO mail-we0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755623AbaFQGFF (ORCPT ); Tue, 17 Jun 2014 02:05:05 -0400 Received: by mail-we0-f177.google.com with SMTP id u56so6541281wes.22 for ; Mon, 16 Jun 2014 23:05:04 -0700 (PDT) Content-Disposition: inline In-Reply-To: <539FC243.2070906@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jun 17, 2014 at 06:21:23AM +0200, Paolo Bonzini wrote: > Il 16/06/2014 18:47, John Nielsen ha scritto: > >On Jun 16, 2014, at 10:39 AM, Paolo Bonzini wrote: > > > >>Il 16/06/2014 18:09, John Nielsen ha scritto: > >>>>>The only substantial difference on the hardware side is the CPU. > >>>>>The hosts where the problem occurs use "Intel(R) Xeon(R) CPU > >>>>>E5-2650 v2 @ 2.60GHz", while the hosts that don't show the > >>>>>problem use the prior revision, "Intel(R) Xeon(R) CPU E5-2650 0 @ > >>>>>2.00GHz". > >> > >>Can you do "grep . /sys/module/kvm_intel/parameters/*" on both hosts please? > > > >No differences that I can see. Output below. > > Not really: > > >Working host: > >Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz > ># grep . /sys/module/kvm_intel/parameters/* > >/sys/module/kvm_intel/parameters/enable_apicv:N > > > >Problem host: > >Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz > ># grep . /sys/module/kvm_intel/parameters/* > >/sys/module/kvm_intel/parameters/enable_apicv:Y > > So we have a clue. Let me study the code more, I'll try to get back with a > suggestion. > Does disabling apicv on E5-2650 v2 make reboot problem go away? -- Gleb.