From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takuya Yoshikawa Subject: Re: [PATCH RFC] kvm: write protect memory after slot swap Date: Tue, 26 Oct 2010 15:38:46 +0900 Message-ID: <4CC67776.809@oss.ntt.co.jp> References: <20101025012124.GA31262@redhat.com> <4CC548C1.3060009@siemens.com> <20101025120545.GA17337@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jan Kiszka , Avi Kivity , Marcelo Tosatti , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , "x86@kernel.org" , Gleb Natapov , Sheng Yang , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" To: "Michael S. Tsirkin" Return-path: Received: from serv2.oss.ntt.co.jp ([222.151.198.100]:53646 "EHLO serv2.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754990Ab0JZGgx (ORCPT ); Tue, 26 Oct 2010 02:36:53 -0400 In-Reply-To: <20101025120545.GA17337@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: (2010/10/25 21:05), Michael S. Tsirkin wrote: > On Mon, Oct 25, 2010 at 11:07:13AM +0200, Jan Kiszka wrote: >> Cool, seems to be the key to the corruptions I've seen. Applying your >> patch make them disappear. > > Yes, works for me as well. > I did some tests on my laptop: - kvm.git + mst's patch - qemu.git (upstream qemu) and still got graphics curruption. Corruption: On usual Desktop environment, I opened two terminals on different workspaces. Then as Jan did, I did "find /" loop on both of them. During these heavy updates, I tried to switch between these workspaces some times. Then, at some turn, some part of old workspace's images like terminals and mouse cursor remained in the new workspace. I could refresh these by moving mouse over the problematic parts. But without doing so, the images remained still. Refresh is not working on virtual machines as I expect? Thanks, Takuya