From: "Jan Beulich" Subject: Re: Handling of out of memory conditions Date: Fri, 22 Jun 2012 14:21:20 +0100 Message-ID: <4FE48D70020000780008B6EB@nat28.tlf.novell.com> References: <4FE46366.8010104@invisiblethingslab.com> <4FE46486.8020502@invisiblethingslab.com> <4FE4835D020000780008B6B3@nat28.tlf.novell.com> <4FE46ABE.9010104@invisiblethingslab.com> <4FE48921020000780008B6D0@nat28.tlf.novell.com> <4FE46F0B.7080601@invisiblethingslab.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FE46F0B.7080601@invisiblethingslab.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Joanna Rutkowska Cc: Konrad Rzeszutek Wilk , Marek Marczykowski , xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 22.06.12 at 15:11, Joanna Rutkowska wrote: > How about having the guest kernel (e.g. every time it is about to BUG()) > write the cause of the Xen-related runtime errors (such as out of memory > conditions) to some predefined xenstore key, which would allow the > management tools/whatever other software to retrieve that easily and > display a meaningful message to the user? Hm... access to the xenstore > might not be easy at the early VM boot stage -- so perhaps writing it > into some predefined shared page, that could be easily read by the > toolstack? That's the console shared page, isn't it? Jan