[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.