From: Andrew Cooper Date: Wed, 10 Jun 2015 13:55:18 +0000 (+0100) Subject: tools/libxc: Always compile the compat qemu variables into xc_sr_context X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2817 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e0dfe9a3165ab26cbd5a0b44f3c6b12e32c6d6b1;p=xen.git tools/libxc: Always compile the compat qemu variables into xc_sr_context This is safe (as the variables will simply be unused), and is required for correct compilation when midway through untangling the libxc/libxl interaction. The #define is left in place to highlight that the variables can be removed once the untangling is complete. Signed-off-by: Andrew Cooper Acked-by: Ian Campbell CC: Ian Jackson CC: Wei Liu --- diff --git a/tools/libxc/xc_sr_common.h b/tools/libxc/xc_sr_common.h index 565c5da494..08c66db966 100644 --- a/tools/libxc/xc_sr_common.h +++ b/tools/libxc/xc_sr_common.h @@ -307,10 +307,10 @@ struct xc_sr_context void *context; size_t contextsz; -#ifdef XG_LIBXL_HVM_COMPAT +/* #ifdef XG_LIBXL_HVM_COMPAT */ uint32_t qlen; void *qbuf; -#endif +/* #endif */ } restore; }; } x86_hvm;