Re: [libvirt] [PATCH] xen_xs: name xendConfigVersion magic numbers

2012-02-01 Thread Eric Blake
On 01/31/2012 10:08 AM, Philipp Hahn wrote: libvirt supports 4 different versions of the user-land XenD daemon. When queried the daemon just returns its generation number, which is hard to match to the version of the Xen tools. Replace the magic generation numbers by named macro definitions

Re: [libvirt] [PATCH] xen_xs: name xendConfigVersion magic numbers

2012-02-01 Thread Philipp Hahn
Hello Eric, Am Donnerstag 02 Februar 2012 00:28:37 schrieben Sie: On 01/31/2012 10:08 AM, Philipp Hahn wrote: ... +#define XEND_CONFIG_VERSION_3_0_2 1 +#define XEND_CONFIG_VERSION_3_0_3 2 +#define XEND_CONFIG_VERSION_3_0_4 3 +#define XEND_CONFIG_VERSION_3_1_0 4 This fails 'make

[libvirt] [PATCH] xen_xs: name xendConfigVersion magic numbers

2012-01-31 Thread Philipp Hahn
libvirt supports 4 different versions of the user-land XenD daemon. When queried the daemon just returns its generation number, which is hard to match to the version of the Xen tools. Replace the magic generation numbers by named macro definitions to improve code readability. Signed-off-by: