From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 197951] QEMU/KVM & VFIO & PCI passthru with Windows 10 x64
guest: memory access intermittently causes CRITICAL_STRUCTURE_CORRUPTION BSOD
unless swap is disabled on host, since 4.12.13
Date: Mon, 04 Dec 2017 08:49:54 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8BIT
To: kvm@kernel.org
Return-path:
Received: from mail.wl.linuxfoundation.org ([198.145.29.98]:55110 "EHLO
mail.wl.linuxfoundation.org" rhost-flags-OK-OK-OK-OK)
by vger.kernel.org with ESMTP id S1753394AbdLDItz (ORCPT
); Mon, 4 Dec 2017 03:49:55 -0500
Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F92E29086
for ; Mon, 4 Dec 2017 08:49:55 +0000 (UTC)
In-Reply-To:
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=197951
--- Comment #6 from Ladi Prosek (lprosek@redhat.com) ---
I have seen this crash on a Windows 10 x64 guest *without* any kind of device
assignment. Didn't keep track of exact kernel versions but it was Fedora 26,
very likely 4.12.*.
If you've been able to build a kernel where this happens for you, try
cherry-picking:
commit a2b7861bb33b2538420bb5d8554153484d3f961f
Author: Boqun Feng
Date: Tue Oct 3 21:36:51 2017 +0800
kvm/x86: Avoid async PF preempting the kernel incorrectly
Currently, in PREEMPT_COUNT=n kernel, kvm_async_pf_task_wait() could call
schedule() to reschedule in some cases. This could result in
accidentally ending the current RCU read-side critical section early,
causing random memory corruption in the guest, or otherwise preempting
the currently running task inside between preempt_disable and
preempt_enable.
Keywords: "PF" (since the report mentions swap), "random memory corruption in
the guest"
--
You are receiving this mail because:
You are watching the assignee of the bug.