From: Ian Campbell Subject: Re: [PATCH] xend: resume a guest domain after an unsuccessful live migration Date: Tue, 5 Feb 2013 12:31:01 +0000 Message-ID: <1360067461.17017.68.camel@zakaz.uk.xensource.com> References: <1359962676.5263.71.camel@connect.botik.ru> <1359992345.7743.69.camel@zakaz.uk.xensource.com> <1360066464.5263.117.camel@connect.botik.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360066464.5263.117.camel@connect.botik.ru> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "andia@pereslavl.ru" Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > > > > > + status = os.read(fd, 64) > > > > The written strings are 7 or 4 bytes, it would be better to choose a > > fixed length for all writes and the read I think. That might mean > > padding the fail message. Also these protocol strings should be defined > > as constants rather than open coded. > > > > Even with that addressed I don't really feel confident enough about xend > > internals to Ack a patch like this. > > > > Thank you for your comments and advice to use xl toolstack. We use xen > and xend toolstack and have some scripts with xm and XenAPI. But as I > read xend is deprecated in Xen 4.1 and will be removed in a future > release and a switch to xl may be a good idea. If you are using XenAPI then you might also consider switching to the xapi toolstack (the XCP toolstack), which is now in Debian as a standalone thing too. Ian.