[libvirt] [PATCH] implement managedsave in libvirt xen legacy driver

Jim Fehlig jfehlig at suse.com
Tue Dec 4 03:22:08 UTC 2012


Jim Fehlig wrote:
> Bamvor Jian Zhang wrote:
>   
>>  src/xen/xen_driver.c | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++-
>>  src/xen/xen_driver.h |   2 +
>>  2 files changed, 110 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/xen/xen_driver.c b/src/xen/xen_driver.c
>> index 5a40757..0b2418d 100644
>> --- a/src/xen/xen_driver.c
>> +++ b/src/xen/xen_driver.c
>> @@ -67,6 +67,7 @@
>>  #include "nodeinfo.h"
>>  
>>  #define VIR_FROM_THIS VIR_FROM_XEN
>> +#define XEN_SAVE_DIR LOCALSTATEDIR "/lib/libvirt/xen/save"
>>   
>>     
>
> #include "configmake.h" is needed for LOCALSTATEDIR
>   

BTW, you will also need to install this directory and add it to %files
in the spec file.  Squashing in the attached patch should do it.

Regards,
Jim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: managed-save-fix.patch
Type: text/x-patch
Size: 1442 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121203/6d0be143/attachment-0001.bin>


More information about the libvir-list mailing list