Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756612Ab3GQQmp (ORCPT ); Wed, 17 Jul 2013 12:42:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42098 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755663Ab3GQQmo (ORCPT ); Wed, 17 Jul 2013 12:42:44 -0400 Date: Wed, 17 Jul 2013 19:42:32 +0300 From: Gleb Natapov To: Markus Trippelsdorf Cc: kvm@vger.kernel.org, Xiao Guangrong , Marcelo Tosatti , Paolo Bonzini , linux-kernel@vger.kernel.org Subject: Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang Message-ID: <20130717164232.GI13732@redhat.com> References: <20130717163215.GA359@x4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130717163215.GA359@x4> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 34 On Wed, Jul 17, 2013 at 06:32:15PM +0200, Markus Trippelsdorf wrote: > The following commit: > commit f8f559422b6c6a05469dfde614b67789b6142cb5 > Author: Xiao Guangrong > Date: Fri Jun 7 16:51:26 2013 +0800 > > KVM: MMU: fast invalidate all mmio sptes > > causes my kvm qemu qcow2 images to hang when they switch from the boot > console to the desktop. For example: > qemu-system-x86_64 -enable-kvm -net nic,vlan=0,model=virtio -net user -drive file=ubuntu,if=virtio,cache=unsafe -smp 2 -m 1024 > boots normally at first, but then hangs as soon as Xorg gets started.` > Which guest is is exactly and how reproducible is this? > Perf top shows: > 20.99% [kernel] [k] svm_vcpu_run > 17.24% [kernel] [k] handle_mmio_page_fault_common > 15.61% [kernel] [k] kvm_arch_vcpu_ioctl_run > 12.49% [kernel] [k] fast_page_fault.part.78 > > I'm running: > QEMU emulator version 1.4.2 > on an AMD PhenomII X4 CPU. > What is the output of "cat /proc/cpuinfo"? -- Gleb. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/