From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Re: [PATCH] Xen Guest Kexec Date: Fri, 03 Mar 2006 09:39:53 +0100 Message-ID: <440800D9.4030803@suse.de> References: <08134dbedd3f8cf9e06f9876efe364bb@cl.cam.ac.uk> <44031C17.1030502@suse.de> <497e0e82f56e48142857ac3e0280d691@cl.cam.ac.uk> <44058EED.7060006@suse.de> <4405AB49.9020704@suse.de> <7b7a318fc7204edaf650ffb8e1b11632@cl.cam.ac.uk> <4406B7FB.6030207@suse.de> <4406D83F.3080709@suse.de> <4b02cf0aeca2fb5aa2cfadb0833ec1cc@cl.cam.ac.uk> <44071EFC.6010307@suse.de> <50867f02a9164fec709c96927802dc45@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50867f02a9164fec709c96927802dc45@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Ian Pratt , xen-devel@lists.xensource.com, Mark Williamson , Horms List-Id: xen-devel@lists.xenproject.org > The critical thing that disables the trap is flags==0: that sets the > 'dpl' for the 'trap gate' to zero so it effectively is unusable. Well, xen still tries to forward the trap to that vector then, but I want to avoid exactly that. The problem I have is that my kernel faults somewhere, but I'm already that far in doing kexec that the usual linux kernel trap handling isn't going to work any more. What I'd like to see is xen print out a register dump, with EIP being the faulting instruction, not the (non-working) fault handler entry point. Guess I have to hack xen a bit for that ... cheers, Gerd -- Gerd 'just married' Hoffmann I'm the hacker formerly known as Gerd Knorr. http://www.suse.de/~kraxel/just-married.jpeg