From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nadav Har'El" Subject: Re: [PATCH 9/24] Implement VMCLEAR Date: Thu, 5 Aug 2010 15:01:36 +0300 Message-ID: <20100805120136.GD16722@fermat.math.technion.ac.il> References: <1276431753-nyh@il.ibm.com> <201006131227.o5DCRAB0012968@rice.haifa.ibm.com> <20100615134753.GX21797@redhat.com> <4C17852B.5080703@redhat.com> <20100615135405.GY21797@redhat.com> <20100805115025.GC16722@fermat.math.technion.ac.il> <20100805115304.GL10499@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mailgw12.technion.ac.il ([132.68.225.12]:6600 "EHLO mailgw12.technion.ac.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759135Ab0HEMBj (ORCPT ); Thu, 5 Aug 2010 08:01:39 -0400 Content-Disposition: inline In-Reply-To: <20100805115304.GL10499@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Aug 05, 2010, Gleb Natapov wrote about "Re: [PATCH 9/24] Implement VMCLEAR": > > In any case, I don't think this should be considered an internal error, or > > that we have a reason to exit to user space in this case. > > > But you can't emulate this either, no? I could, if I knew what to emulate ;-) Does anybody know what a real processor with VMX does when you give it VMCLEAR with a physical address which is beyond the amount of available memory? If the answer was "it throws #GP" or "it does VMFail(Invalid Physical Address) or something of this sort, I could easily do this in the emulation too - I just don't know yet what it does... -- Nadav Har'El | Thursday, Aug 5 2010, 25 Av 5770 nyh@math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |"Guests, like fish, begin to smell after http://nadav.harel.org.il |three days." -- Benjamin Franklin