[libvirt] [PATCH RFC] Add domainSave/Restore to libxl driver

Jim Fehlig jfehlig at novell.com
Tue May 24 20:58:34 UTC 2011


Jim Fehlig wrote:

[...]
>> diff --git a/src/libxl/libxl_conf.h b/src/libxl/libxl_conf.h
>> index 65110cf..e75e418 100644
>> --- a/src/libxl/libxl_conf.h
>> +++ b/src/libxl/libxl_conf.h
>> @@ -1,5 +1,6 @@
>>  /*---------------------------------------------------------------------------*/
>>  /*  Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
>> + *  Copyright (C) 2011 Univention GmbH.
>>   *
>>   * This library is free software; you can redistribute it and/or
>>   * modify it under the terms of the GNU Lesser General Public
>> @@ -17,6 +18,7 @@
>>   *
>>   * Authors:
>>   *     Jim Fehlig <jfehlig at novell.com>
>> + *     Markus Groß <gross at univention.de>
>>   */
>>  /*---------------------------------------------------------------------------*/
>>  
>> @@ -81,6 +83,18 @@ struct _libxlDomainObjPrivate {
>>      int eventHdl;
>>  };
>>  
>> +#define LIBXL_SAVE_MAGIC "libvirt-xml\n \0 \r"
>> +#define LIBXL_SAVE_VERSION 1
      ^
BTW, you'll also need a space here in these two defines to appease cppi
during make syntax-check.

Regards,
Jim





More information about the libvir-list mailing list