WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH v3] xen/hvm: add kexec/kdump support

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [PATCH v3] xen/hvm: add kexec/kdump support
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Mon, 1 Aug 2011 15:28:19 +0200
Delivery-date: Mon, 01 Aug 2011 06:29:59 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1312205353; l=868; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=ryAYBiTcH4jDqgQJaIc1iJNdz4s=; b=JfF8hf3cgZNaOdoCeOVdQltjK1LjHtvrl8iHqVMsq66jkcA2TpDwmv0L1TNIbyuh5uL DANwIOgOP+JzjuDt8SST7jbVGQiDpcN982ZrzG9bgdUsiEtz/lJB5hoe90Z3ky7GvQSUP HTnm2qALRR3HThllH3B/ZFJQjNXL/kzuoso=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110801124637.GA9564@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20110801124637.GA9564@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21.rev5535 (2011-07-01)
On Mon, Aug 01, Olaf Hering wrote:

> - add xs_introduce() in xs_init() to shutdown all open watches that the
>   previous kernel had registered. Without this change the kexec may
>   crash due to unexpected watch events.
>   This depends on a xenstored change which has to allow the XS_INTRODUCE
>   from a guest.
>   And this part may need more work because the xs_introduce may hang
>   forever on an old dom0 tool stack

The hang I encountered last week was due to a bug in the new
xs_introduce() function. "iov[2].iov_len" was by accident written as
"iov[3].iov_len", which left the iov_len uninitialized. Then xenstored
got a huge iov_len, returned an error which the kernel received. But the
process_msg() did not wakeup read_reply() for some reason.


Today an unmodified sles11sp1 dom0 can boot a 3.0 kernel with the
kexec/kdump patch applied.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>