From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [RFC PATCH 0/2] Expose available KVM free memory slot count to help avoid aborts Date: Wed, 26 Jan 2011 11:25:04 +0200 Message-ID: <4D3FE870.8020301@redhat.com> References: <20110121233040.22262.68117.stgit@s20.home> <20110124093241.GA28654@amt.cnet> <4D3EA3D3.2050807@redhat.com> <20110125145529.GC15666@redhat.com> <4D3EE521.4050200@redhat.com> <20110125152334.GF15666@redhat.com> <4D3F099A.6090805@redhat.com> <20110125180015.GD17734@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , Alex Williamson , kvm@vger.kernel.org, ddutile@redhat.com, chrisw@redhat.com, jan.kiszka@siemens.com To: "Michael S. Tsirkin" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56040 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752841Ab1AZJZK (ORCPT ); Wed, 26 Jan 2011 04:25:10 -0500 In-Reply-To: <20110125180015.GD17734@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 01/25/2011 08:00 PM, Michael S. Tsirkin wrote: > > > > > >I see now. Yes, a flag in spte would help. changes in slots would then > > >have to update all these flags. > > > > That's easy, we drop all sptes. > > Ah, right. Hmm cpu has no flag to distinguish mmio sptes somehow already? No. Allocated-but-not-mapped and mmio sptes are identical. -- error compiling committee.c: too many arguments to function