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

Re: [Xen-devel] [PATCH] Make xendomains ignore lost+found

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Make xendomains ignore lost+found
From: "Gawain Lynch" <gawain.lynch@xxxxxxxxx>
Date: Sat, 30 Jun 2007 11:07:49 +1000
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Mon, 02 Jul 2007 09:37:15 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RhbTQA9x66TcdoFXbKY1jAqYAodureXFPC6WfgA4VGafExeAa1ybmeRbiVWzt/hSK8pwT7L2QpHzpSZ06qpm5KdP6dGckRUvAkymFfRHDaqxg153mbKjauCI0eeGBtclWzVVebLwGI1a80ZZ7PvP5XqglgEJTwekBE3GlEIrGok=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=DRSXw6XScg3ZwyDHVnMMHzIdYOkQi5OfvFp6cgsafyMIulKTh6lT3kli6N7FKcEfeSJnoBcxS6/uo7JWHyOtzUnomTnRRzg0qUo/rxVGNZb8G1jGyr8XbrW3iMirPPh8g25+MCBJ1tkZfrgfB3yYRCUKui0w423+ABZqqqPlthI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070629161359.GA27295@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <a719f8720706282236x3d0b9ed9m1c5447a1e8ce77c7@xxxxxxxxxxxxxx> <200706291658.18911.mark.williamson@xxxxxxxxxxxx> <20070629161359.GA27295@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 30/06/07, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote:
You can read the first 16 bytes of the file & check they are 'LinuxGuestRecord'.
This is the sanity check we do in virt-manager when user asks us to restore
a VM from saved image.

OK based on Dan's suggestion here is an improved patch.

Signed-off-by: Gawain Lynch <gawain.lynch@xxxxxxxxx>

Attachment: xendomains.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH] Make xendomains ignore lost+found, Gawain Lynch <=