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