From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH] Fix xenconsole after aborted save Date: Mon, 20 Apr 2009 15:38:41 +0200 Message-ID: <49EC7AE1.5060807@redhat.com> References: <20090420132353.GA20653@orkuz.home> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090420132353.GA20653@orkuz.home> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jiri Denemark Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 04/20/09 15:23, Jiri Denemark wrote: > Hi. > > When a domain is resumed after aborted save (e.g., because of insufficient > space on a device where the domain is being saved), xm console cannot > send/read any data. The reason is that the event channel used by xenconsole > stays unbound. > > This patch modifies xenconsoled to check current status of open event channels > and rebind them if necessary. close() + open() is the sledge hammer approach (will work though). Just unbind(local_port) should be enough. cheers, Gerd