Received: by 10.223.164.202 with SMTP id h10csp860715wrb; Thu, 23 Nov 2017 07:21:56 -0800 (PST) X-Google-Smtp-Source: AGs4zMbF83SHqrvG2RWTeA0xrkA/Lje/qb9IQWjsH9hp4qhp8SpGu2dVUBKWVw/0wQrdBChHH3G0 X-Received: by 10.99.160.96 with SMTP id u32mr24731282pgn.25.1511450516862; Thu, 23 Nov 2017 07:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511450516; cv=none; d=google.com; s=arc-20160816; b=Ak4PezrN3Vu+Soy96M+XiyI9XS6bX9QlBG79IfUfT0eEMRt7GSXFslu/r81aKeBrId QYy7B6TepwpKsA6lbaY6TWD+DMZPt2dFUEDpgzbZqSEhP+6WwU2PSLLHlR8KH/bs8qZf yXpfh9kk/y8d+P4gZHRIDxpxlIfnyCP1c0kyin+gYK8wTidB+AZAKrwohMMYfyLCMR2T VIjIuhFW7QjdmeC2/zj2KMVwX5Hp6Yw9uL/EFmLMzajQKOQvknkVFj7Wzv20ZlKwDkCB XYiCkmdUOE7S02wVzyW8ExGQ/ThFoofs4Oha+YWh+WDbEh74G6wIQBsgZhJJTMzwDhfR znUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=I1wu2f5kNpjHnCSj7gvjVgM8LnCEXtLZ7ad/OJcm0sI=; b=TPmb5oQOnMpkQte7CETZFr8pJyOkjltqZuo3LN1g4a8B7ksNcIGJumrKyvbUwmMzDZ ERrYHa3swwzHG/z22PEYnemoTEs4/H2BWnQxIioWo/JQ3Vg2PNPo3KKLY+q5fERTLU88 W6Bhc7HgksrxO72uIKrBIys5+BPzrL+ZAUPEajOG6g/pTzqGPJlrcGFM+KjcGHlAk/P3 Ma/r2wuh8/fQ37Fjth8srgpLAppNzPtbZc8nANxjXr4DO9Sd91A/aVjX0pv9M3ge5rnr bNe9I5LLFqI7lUaeeQH0+lZ9wteBxoIkpFm4jl5pYBLHzm31NIwU/oFmml+hVt5w8g9q oJfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r59si11423002plb.59.2017.11.23.07.21.46; Thu, 23 Nov 2017 07:21:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907AbdKWPU2 (ORCPT + 76 others); Thu, 23 Nov 2017 10:20:28 -0500 Received: from torres.zugschlus.de ([85.214.131.164]:48408 "EHLO torres.zugschlus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752534AbdKWPU0 (ORCPT ); Thu, 23 Nov 2017 10:20:26 -0500 Received: from mh by torres.zugschlus.de with local (Exim 4.89) (envelope-from ) id 1eHtIf-0007zo-1P; Thu, 23 Nov 2017 16:20:25 +0100 Date: Thu, 23 Nov 2017 16:20:24 +0100 From: Marc Haber To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: LKML , "KVM-ML (kvm@vger.kernel.org)" , Wanpeng Li Subject: Re: VMs freezing when host is running 4.14 Message-ID: <20171123152024.7xsc7lesv2qyujng@torres.zugschlus.de> References: <20171121161821.b6k3hdl3wgia5f5q@torres.zugschlus.de> <20171122093945.5afa2di2g7qhf4eb@torres.zugschlus.de> <20171122155208.wdcmosxfpsjbwcrm@torres.zugschlus.de> <20171122164312.GA21279@flask> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171122164312.GA21279@flask> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 22, 2017 at 05:43:13PM +0100, Radim Krčmář wrote: > 2017-11-22 16:52+0100, Marc Haber: > > On Wed, Nov 22, 2017 at 04:04:42PM +0100, 王金浦 wrote: > > > So all guest kernels are 4.14, or also other older kernel? > > > > Guest kernels are also 4.14, but the issue disappears when the host is > > downgraded to an older kernel. I therefore reckoned that the guest > > kernel doesn't matter, but that was before I saw the trace in the log. > > The two most suspicious patches since 4.13 (which I assume works) are > > 664f8e26b00c ("KVM: X86: Fix loss of exception which has not yet been > injected") That one does not revert cleanly, the line in questions seems to have been removed a bit later. Reject is: 141 [24/5001]mh@fan:~/linux/git/linux ((v4.14.1) %) $ cat arch/x86/kvm/vmx.c.rej--- arch/x86/kvm/vmx.c +++ arch/x86/kvm/vmx.c @@ -2516,7 +2516,7 @@ static void vmx_queue_exception(struct kvm_vcpu *vcpu) struct vcpu_vmx *vmx = to_vmx(vcpu); unsigned nr = vcpu->arch.exception.nr; bool has_error_code = vcpu->arch.exception.has_error_code; - bool reinject = vcpu->arch.exception.injected; + bool reinject = vcpu->arch.exception.reinject; u32 error_code = vcpu->arch.exception.error_code; u32 intr_info = nr | INTR_INFO_VALID_MASK; > > and > > 9a6e7c39810e ("KVM: async_pf: Fix #DF due to inject "Page not Present" > and "Page Ready" exceptions simultaneously") > > please try reverting them to see if it helps, That one reverted cleanly. I am now running the new kernel on the affected machine, and I think that a second machine has joined the market of being affected. Would this matter on the host only or on the guests as well? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 From 1584785351252769600@xxx Wed Nov 22 16:44:46 +0000 2017 X-GM-THRID: 1584693144330950355 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread