From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] mask out clflush Date: Thu, 10 Jul 2008 17:47:54 +0300 Message-ID: <4876211A.5030307@qumranet.com> References: <1215541784-26539-1-git-send-email-gcosta@redhat.com> <200807101843.57902.sheng.yang@intel.com> <48760EE6.1070303@codemonkey.ws> <48760FDA.80401@qumranet.com> <487610A5.9030903@codemonkey.ws> <4876185B.9030609@qumranet.com> <48761A97.7010500@codemonkey.ws> <5d6222a80807100745t6795084dsd78695ea69413a24@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , "Yang, Sheng" , kvm@vger.kernel.org, Glauber Costa To: Glauber Costa Return-path: Received: from il.qumranet.com ([212.179.150.194]:36788 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753510AbYGJOrz (ORCPT ); Thu, 10 Jul 2008 10:47:55 -0400 In-Reply-To: <5d6222a80807100745t6795084dsd78695ea69413a24@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: Glauber Costa wrote: > On Thu, Jul 10, 2008 at 11:20 AM, Anthony Liguori wrote: > >> Avi Kivity wrote: >> >>> Anthony Liguori wrote: >>> >>>> It's equivalent to a read from a VT perspective so if the read would >>>> trap, the clflush instruction will trap. >>>> >>>> >>> Reads don't normally go through the emulator. Is the guest clflush()ing >>> mmio addresses? Strange as these are not normally cached. >>> >> It seems so, Glauber mentioned that the address was an MMIO address. >> > > yes. It is address 0xc8821000, apparently part of a pci controller > initialization. > qemu pci starts at 0xe0000000 IIRC. So maybe the guest is flushing random addresses just to be annoying. -- error compiling committee.c: too many arguments to function