From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH][SVM] fix spinlock panic Date: Thu, 18 Jun 2009 10:47:07 +0100 Message-ID: References: <200906181125.36369.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200906181125.36369.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 18/06/2009 10:25, "Christoph Egger" wrote: >> dangerous to reset the ASID generation back to zero); Also, as well as not >> reallocating hsa and root_vmcb, we don't re-init them either. I don't know >> ehether that strictly matters but obviously we could easily re-jig the code >> to always clear_page() those pages unconditionally. > > Thanks for it. Regarding ASID, I will ask back. > Now, I trigger an ASSERT() called by setup_vmcb_dump(): > > (XEN) Assertion 'key_table[key].u.handler == ((void*)0)' failed at > keyhandler.c:68 Oh good grief, I got the test at the top of start_svm() inverted. Please try changeset 19798 which fixes this. -- Keir