fix qemu building with older make
PATCH 1/1 fix qemu building with older make
The $(or ) builtin (uses introduced by commits ffbf089357 and 8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.
Config.mk +6 -5
@@ -12,6 +12,7 @@ space := $(empty) $(empty) # fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4))))) -include $(XEN_ROOT)/.config
@@ -266,11 +267,11 @@ QEMU_TRADITIONAL_REVISION ?= d0395cc49b2 # QEMU_UPSTREAM_LOC ?= `pwd`/$(XEN_ROOT)/../qemu-xen.git # Defaults for subtree locations -QEMU_TRADITIONAL_LOC ?= $(or $(wildcard $(QEMU_TRADITIONAL_INTREE)),\ - $(QEMU_TRADITIONAL_URL)) - -QEMU_UPSTREAM_LOC ?= $(or $(wildcard $(QEMU_UPSTREAM_INTREE)),\ - $(QEMU_UPSTREAM_URL)) +QEMU_TRADITIONAL_LOC ?= $(call or,$(wildcard $(QEMU_TRADITIONAL_INTREE)),\ + $(QEMU_TRADITIONAL_URL)) + +QEMU_UPSTREAM_LOC ?= $(call or,$(wildcard $(QEMU_UPSTREAM_INTREE)),\ + $(QEMU_UPSTREAM_URL)) # Short answer -- do not enable this unless you know what you are # doing and are prepared for some pain.
fix qemu building with older make
The $(or ) builtin (uses introduced by commits ffbf089357 and 8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.
Config.mk +6 -5
@@ -12,6 +12,7 @@ space := $(empty) $(empty) # fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4))))) -include $(XEN_ROOT)/.config
@@ -266,11 +267,11 @@ QEMU_TRADITIONAL_REVISION ?= d0395cc49b2 # QEMU_UPSTREAM_LOC ?= `pwd`/$(XEN_ROOT)/../qemu-xen.git # Defaults for subtree locations -QEMU_TRADITIONAL_LOC ?= $(or $(wildcard $(QEMU_TRADITIONAL_INTREE)),\ - $(QEMU_TRADITIONAL_URL)) - -QEMU_UPSTREAM_LOC ?= $(or $(wildcard $(QEMU_UPSTREAM_INTREE)),\ - $(QEMU_UPSTREAM_URL)) +QEMU_TRADITIONAL_LOC ?= $(call or,$(wildcard $(QEMU_TRADITIONAL_INTREE)),\ + $(QEMU_TRADITIONAL_URL)) + +QEMU_UPSTREAM_LOC ?= $(call or,$(wildcard $(QEMU_UPSTREAM_INTREE)),\ + $(QEMU_UPSTREAM_URL)) # Short answer -- do not enable this unless you know what you are # doing and are prepared for some pain.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Jan Beulich
The $(or ) builtin (uses introduced by commits
ffbf089357and8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.Signed-off-by Jan Beulich <[email protected]>
I don't really know enough about make to have an opinion on the code itself; but re the idea:
Quoted 31 lines
Config.mk +6
-5@@ -12,6 +12,7 @@ space := $(empty) $(empty) # fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4))))) -include $(XEN_ROOT)/.config@@ -266,11 +267,11 @@ QEMU_TRADITIONAL_REVISION ?= d0395cc49b2 # QEMU_UPSTREAM_LOC ?= `pwd`/$(XEN_ROOT)/../qemu-xen.git # Defaults for subtree locations -QEMU_TRADITIONAL_LOC ?= $(or $(wildcard $(QEMU_TRADITIONAL_INTREE)),\ - $(QEMU_TRADITIONAL_URL)) - -QEMU_UPSTREAM_LOC ?= $(or $(wildcard $(QEMU_UPSTREAM_INTREE)),\ - $(QEMU_UPSTREAM_URL)) +QEMU_TRADITIONAL_LOC ?= $(call or,$(wildcard $(QEMU_TRADITIONAL_INTREE)),\ + $(QEMU_TRADITIONAL_URL)) + +QEMU_UPSTREAM_LOC ?= $(call or,$(wildcard $(QEMU_UPSTREAM_INTREE)),\ + $(QEMU_UPSTREAM_URL)) # Short answer -- do not enable this unless you know what you are # doing and are prepared for some pain.
Jan Beulich writes ("[PATCH] fix qemu building with older make"):
Config.mk space := $(empty) $(empty) · line 15
Quoted 13 lines
The $(or ) builtin (uses introduced by commits
ffbf089357and8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.Signed-off-by Jan Beulich <[email protected]>Config.mk +1
-0@@ -12,6 +12,7 @@ space := $(empty) $(empty) # fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4)))))
Can we (a) have a comment here explaining why (b) have some kind of time limit on how long we need to support make 3.80 ?
3.81 was released upstream over eight years ago in April 2006.
(AFAICT as far as Debian goes that means it has been in every Debian release since etch, which was released in April 2007.)
Ian.
Quoted 12 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 15:57, <[email protected]> wrote:
Jan Beulich writes ("[PATCH] fix qemu building with older make"):
Quoted 10 lines
The $(or ) builtin (uses introduced by commits
ffbf089357and8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.Signed-off-by Jan Beulich <[email protected]>Config.mk +0
-0@@ -12,6 +12,7 @@ space := $(empty) $(empty)
Quoted 5 lines
Config.mk space := $(empty) $(empty) · line 15
Quoted 3 lines
Config.mk +1
-0# fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4)))))Can we (a) have a comment here explaining why
To me the "fallback for older make" comment is enough of answering the "why" part. What else do you want?
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
Of course I'm having my own, self-built newer make versions around, so as far as make is concerned I could live with that compatibility requirement dropped (leaving aside that tying the resulting build failure when inadvertently using the older make to the missing support for a particular builtin isn't straightforward). But there are other old package versions we still support (like Python 2.4) for that same reason, and I can't see myself using self-built replacements of all those as well.
Jan
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 9 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 5 lines
Quoted 3 lines
# fallback for older make realpath = $(wildcard $(foreach file,$(1),$(shell cd -P $(dir $(file)) && echo "$$PWD/$(notdir $(file))"))) +or = $(if $(strip $(1)),$(1),$(if $(strip $(2)),$(2),$(if $(strip $(3)),$(3),$(if $(strip $(4)),$(4)))))Can we (a) have a comment here explaining why
To me the "fallback for older make" comment is enough of answering the "why" part. What else do you want?
Oh, I hadn't spotted that amongst the other noise. I guess that will do.
Quoted 10 lines
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Ian.
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 11 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
Jan
Quoted 25 lines · Jan Beulich
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 11 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
FWIW, one of the things that has made Docker possible is Linus' quixotic commitment to binary compatibility for any user-space program, whether in a distro or not.
RHEL apparently has several lifecycle "phases" (https://access.redhat.com/support/policy/updates/errata/); "Production 2" for RHEL 5 just ended in January of this year; "Production 3" won't end until 2017, and the "Extended Life Phase" won't end until 2020.
Staying compatible with major distros, particularly if it's something small (if slightly ugly) like this, seems like a small price to pay.
-George
Quoted 44 lines · George Dunlap
Quoted 25 lines · Jan Beulich
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 11 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
FWIW, one of the things that has made Docker possible is Linus' quixotic commitment to binary compatibility for any user-space program, whether in a distro or not.
RHEL apparently has several lifecycle "phases"
(https://access.redhat.com/support/policy/updates/errata/);
"Production 2" for RHEL 5 just ended in January of this year; "Production 3" won't end until 2017, and the "Extended Life Phase" won't end until 2020.
Quoted 4 lines
Staying compatible with major distros, particularly if it's something small (if slightly ugly) like this, seems like a small price to pay.
-George
We should not aim to deliberately break things. I would suggest a slightly more lax approach; if the distro has a requisite version in a standard package repository then we could consider breaking compatibility with the older package version.
e.g. a newer version of make available in something like EPEL for RHEL5.
I have no knowledge of whether such things exist for SLES.
~Andrew
Quoted 25 lines · Jan Beulich
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 11 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Ian.
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 30.07.14 at 11:22, <[email protected]> wrote:
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
No. I just like to do all development work centrally on one master system, expecting to also test there.
Quoted 2 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I don't know if or how this could be leveraged. For none of the self built components I use (binutils, gcc, Xen, kernel to name the most important ones) I build packages; instead everything gets built using plain make. Of course, for the hypervisor this would be fairly easy to change, as there's no involved installation associated with it. Which is, along with the option of just using a self-built make, why I said I could probably live with the lowest common denominator tools versions raised.
But as soon as it gets to building/using the tool stack, this would change. And obviously I can't do much without that one, albeit the main purpose of testing the hypervisor on as heterogeneous hardware as possible would still be full-fillable to a certain degree (i.e. at least boot testing would still be possible, and most other stuff I do on systems with newer distro versions anyway).
Yet as we've seen with the various replies so far, there's no uniform opinion one way or another anyway, and hence I would think sticking to the currently documented tools versions is the more compatible approach as long as no too involved workarounds are needed to continue being able to use them.
Jan
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
-Don Slutz
Quoted 7 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 47 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
-George
Quoted 53 lines · On Mon, 4 Aug 2014 15:54:52 +0100 George Dunlap <[email protected]>…
Quoted 47 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Quoted 6 lines
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
-George
I was able to boot CentOS7 as dom0, but not until I had a) un-hardwired XEN_DOM0 to being false (def_bool n) in the xen/Kconfig file and b) put in the defines (swiped from 3.15) for MAX_INDIRECT_SEGMENTS et al in the xen-blkback/common.h file. I was able to bring up a VM, too, but haven't done extensive testing.
In 3.10.51, XEN_DOM0 is "dev_bool y" and the MAX_INDIRECT_SEGMENTS et al. macros are not defined (also not used). It would appear that the 3.10 used in CentOS7 is some combination of 3.10 and newer linux versions.
-d
Quoted 58 lines · Don Koch
Quoted 55 lines · On Mon, 4 Aug 2014 15:54:52 +0100 George Dunlap <[email protected]>…
Quoted 45 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
Quoted 6 lines
Quoted 1 line
-George
I was able to boot CentOS7 as dom0, but not until I had a) un-hardwired
XEN_DOM0to being false (def_booln) in the xen/Kconfig file and b) put in the defines (swiped from 3.15) forMAX_INDIRECT_SEGMENTSet al in thexen-blkback/common.hfile. I was able to bring up a VM, too, but haven't done extensive testing.
Ah, interesting. Still, although it happens to work now, it's not really a tested target, so it's probably not a good idea for anyone to rely on it continuing to work in the future.
-George
Quoted 66 lines · On Mon, 1 Sep 2014 11:41:37 +0100 George Dunlap <[email protected]>…
Quoted 58 lines · Don Koch
Quoted 55 lines · On Mon, 4 Aug 2014 15:54:52 +0100 George Dunlap <[email protected]>…
Quoted 45 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
Quoted 6 lines
Quoted 1 line
-George
I was able to boot CentOS7 as dom0, but not until I had a) un-hardwired
XEN_DOM0to being false (def_booln) in the xen/Kconfig file and b) put in the defines (swiped from 3.15) forMAX_INDIRECT_SEGMENTSet al in thexen-blkback/common.hfile. I was able to bring up a VM, too, but haven't done extensive testing.
Quoted 3 lines
Ah, interesting. Still, although it happens to work now, it's not really a tested target, so it's probably not a good idea for anyone to rely on it continuing to work in the future.
Agreed, especially since CentOS closed my bug report (with patches) stating "will not fix since RHEL doesn't support it."
It looks like they don't have Xen4CentOS support for CentOS 7, at least, yet.
Quoted 1 line
-George
-d
Quoted 68 lines · Don Koch
Quoted 65 lines · On Mon, 1 Sep 2014 11:41:37 +0100 George Dunlap <[email protected]>…
Quoted 64 lines · Don Koch
Quoted 50 lines · On Mon, 4 Aug 2014 15:54:52 +0100 George Dunlap <[email protected]>…
Quoted 45 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Quoted 6 lines
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
-George
I was able to boot CentOS7 as dom0, but not until I had a) un-hardwired
XEN_DOM0to being false (def_booln) in the xen/Kconfig file and b) put in the defines (swiped from 3.15) forMAX_INDIRECT_SEGMENTSet al in thexen-blkback/common.hfile. I was able to bring up a VM, too, but haven't done extensive testing.
Quoted 7 lines
Quoted 3 lines
Ah, interesting. Still, although it happens to work now, it's not really a tested target, so it's probably not a good idea for anyone to rely on it continuing to work in the future.
Agreed, especially since CentOS closed my bug report (with patches) stating "will not fix since RHEL doesn't support it."
It looks like they don't have Xen4CentOS support for CentOS 7, at least, yet.
Well, it's mainly me that's working on it -- I just got access to the community build system last week. Hopefully we should have that up within the next few weeks. :-)
-George
Quoted 10 lines · On Mon, 8 Sep 2014 15:12:05 +0100 George Dunlap <[email protected]>…
Quoted 4 lines · Don Koch
Agreed, especially since CentOS closed my bug report (with patches) stating "will not fix since RHEL doesn't support it."
It looks like they don't have Xen4CentOS support for CentOS 7, at least, yet.
Well, it's mainly me that's working on it -- I just got access to the community build system last week. Hopefully we should have that up within the next few weeks. :-)
Cool. Let me know if you need help, testing or whatever. FWIW, CentOS bug 0007571 has my patches.
-d
Quoted 72 lines · George Dunlap
Quoted 71 lines · Don Koch
Quoted 68 lines · On Mon, 1 Sep 2014 11:41:37 +0100 George Dunlap <[email protected]>…
Quoted 58 lines · Don Koch
Quoted 55 lines · On Mon, 4 Aug 2014 15:54:52 +0100 George Dunlap <[email protected]>…
Quoted 45 lines · Don Slutz
Quoted 36 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line · On 29.07.14 at 17:43, <[email protected]> wrote:
Jan Beulich writes ("Re: [PATCH] fix qemu building with older make"):
Quoted 10 lines · On 29.07.14 at 15:57, <[email protected]> wrote:
Quoted 4 lines
(b) have some kind of
time limit on how long we need to support make 3.80 ?3.81 was released upstream over eight years ago in April 2006.
I know, but I also know there's going to be a few more years where for my day-to-day work SLE10 (coming with make 3.80) is the lowest common denominator in order to be able to test backports there. And RHEL5, iirc released at about the same time, was also quite recently considered a platform desirable to continue to support.
RHEL5 was released in March 2007, 11 months after make 3.81 was released upstream. Furthermore it is seven years old. SLES10 was released in June 2006, and is therefore eight years old. People refer to Debian stable as `Debian stale' but frankly this is ridiculous.
Quoted 5 lines
At the very least can we put some kind of bound on this ?
How about we `compromise' on the following rule: we will feel completely entitled to delete any build and tools compatibility code for anything which was superseded upstream more than a decade ago.
Quoted 7 lines
I'm personally not in favor of this, but if a reasonably large majority would want a rule like this, I'll have to try and live with it. My scope for deprecation would be more towards such relatively wide spread distros going completely out of service (i.e. in the case of SLES not just general support [which happened about a year ago], but also long-term/extended support [which I think is scheduled for like 12 or 13 years after general availability]).
(I've got a sense of Deja Vu, sorry if we've been through this before...)
You aren't expected to support users installing Xen 4.5 onto SLE10 though, surely? After general support and into long term support even?.
Quoted 8 lines
For development purposes across multiple trees do chroot+bind mounts or VMs not suffice?
I think our backstop for dependencies for the dom0 bits should be the version of things where we might reasonably expect a new user to deploy a new version of upstream Xen from scratch on. I find it hard to imagine anyone doing that on Debian 6.0, SLE10 or RHEL5 these days rather than choosing Debian 7.0, SLE11 or RHEL6.
Quoted 4 lines
RHEL6 is not directly usable as Dom0 for xen. You have to add a different kernel and so is more complex. So to use only disto stuff you were limited to RHEL5 :(. However RHEL7 should be usable without extra work (I have yet to verify this is true, do to limited time).
Eh? It was my understanding that in RHEL7 they'd taken out *all* the pvops stuff, even what is required for the RHEL7 kernel to run as a plain PV domU, much less what is required for dom0. (It still has the stuff necessary for PVHVM mode, AFAIK.)
Quoted 6 lines
Quoted 1 line
-George
I was able to boot CentOS7 as dom0, but not until I had a) un-hardwired
XEN_DOM0to being false (def_booln) in the xen/Kconfig file and b) put in the defines (swiped from 3.15) forMAX_INDIRECT_SEGMENTSet al in thexen-blkback/common.hfile. I was able to bring up a VM, too, but haven't done extensive testing.Ah, interesting. Still, although it happens to work now, it's not really a tested target, so it's probably not a good idea for anyone to rely on it continuing to work in the future.
Quoted 9 lines
Quoted 4 lines
Agreed, especially since CentOS closed my bug report (with patches) stating "will not fix since RHEL doesn't support it."
It looks like they don't have Xen4CentOS support for CentOS 7, at least, yet.
Well, it's mainly me that's working on it -- I just got access to the community build system last week. Hopefully we should have that up within the next few weeks. :-)
I already replied on another thread aswell, but here goes again, it might interest some people.
I added CC to a guy who has already fixed .spec file for Xen 4.4 on el7. His website with .spec file and src.rpms is here: http://www.tlviewer.org/xen/cent7/dom0/
Quoted 2 lines
-George
-- Pasi
Jan Beulich writes ("[PATCH] fix qemu building with older make"):
Quoted 3 lines
The $(or ) builtin (uses introduced by commits
ffbf089357and8962a8f951) is supported only from make 3.81 onwards, yet we claim to only require make 3.80. Introduce a good enough fallback.