Skip to contentSkip to conversation

Config.mk: update OVMF changeset

PATCH In review Wei Liu 6 participants 19 messages Oct 14, 2015 – Oct 23, 2015

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

PATCH 1/1 Config.mk: update OVMF changeset

---
Please pull from

git://xenbits.xen.org/osstest/ovmf.git xen-tested-master

and push the aforementioned commit to

git://xenbits.xen.org/ovmf.git master

It should be a fast-forward push.

---
 Config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.mk +1 -1
index 0e5b51b..143b0b0 100644
@@ -253,7 +253,7 @@ QEMU_TRADITIONAL_URL ?= git://xenbits.xen.org/qemu-xen-unstable.git
 SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
 MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git
 endif
-OVMF_UPSTREAM_REVISION ?= cb9a7ebabcd6b8a49dc0854b2f9592d732b5afbd
+OVMF_UPSTREAM_REVISION ?= af9785a9ed61daea52b47f0bf448f1f228beee1e
 QEMU_UPSTREAM_REVISION ?= master
 MINIOS_UPSTREAM_REVISION ?= 256035e01a1aa5739e34f245f3b1e9e8ee204210
 # Thu Jul 23 11:08:38 2015 +0100
Signature · 1 line
2.1.4
#1 lore raw
Quoted 1 line · Wei Liu

Acked + applied.

Ian, I beleive Stefano would like to see this in 4.6 at some point.

Quoted 10 lines

---
Please pull from

git://xenbits.xen.org/osstest/ovmf.git xen-tested-master

and push the aforementioned commit to

git://xenbits.xen.org/ovmf.git master

It should be a fast-forward push.

I did:

$ git push ssh://xenbits.xen.org/home/xen/git/ovmf.git af9785a9ed61daea52b47f0bf448f1f228beee1e:master
Counting objects: 6164, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1991/1991), done.
Writing objects: 100% (6164/6164), 4.36 MiB | 1.09 MiB/s, done.
Total 6164 (delta 4760), reused 5443 (delta 4127)
To ssh://xenbits.xen.org/home/xen/git/ovmf.git
   cb9a7eb..af9785a  af9785a9ed61daea52b47f0bf448f1f228beee1e -> master

Which I think is as intended.

Quoted 18 lines
---
 Config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Config.mk +0 -0
index 0e5b51b..143b0b0 100644
@@ -253,7 +253,7 @@ QEMU_TRADITIONAL_URL ?= git

://xenbits.xen.org/qemu-xen-unstable.git
SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git
endif

Config.mk +1 -1
-OVMF_UPSTREAM_REVISION ?= cb9a7ebabcd6b8a49dc0854b2f9592d732b5afbd
+OVMF_UPSTREAM_REVISION ?= af9785a9ed61daea52b47f0bf448f1f228beee1e
 QEMU_UPSTREAM_REVISION ?= master
 MINIOS_UPSTREAM_REVISION ?= 256035e01a1aa5739e34f245f3b1e9e8ee204210
 # Thu Jul 23 11:08:38 2015 +0100
#2 lore raw

Ian Campbell writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 6 lines · Wei Liu
Quoted 1 line

Acked + applied.

Ian, I beleive Stefano would like to see this in 4.6 at some point.

...

Quoted 2 lines

To ssh://xenbits.xen.org/home/xen/git/ovmf.git
cb9a7eb..af9785a af9785a9ed61daea52b47f0bf448f1f228beee1e -> master

This pulls in 782 commits. That's hardly desirable for a stable release, surely ? Does OVMF not have a stable branch ?

Ian.

author
#3 lore raw
Quoted 6 lines · Ian Jackson

Ian Campbell writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 5 lines · Wei Liu
Quoted 1 line

Acked + applied.

Quoted 8 lines
Quoted 1 line

Ian, I beleive Stefano would like to see this in 4.6 at some point.

...

Quoted 2 lines

To ssh://xenbits.xen.org/home/xen/git/ovmf.git
cb9a7eb..af9785a af9785a9ed61daea52b47f0bf448f1f228beee1e -> master

This pulls in 782 commits. That's hardly desirable for a stable release, surely ? Does OVMF not have a stable branch ?

No, upstream doesn't have stable branch. And we don't have our own stable branch at the moment due to upstream doesn't make release or maintain stable branch.

Currently the only method to see upstream changes ended in our stable branch is to make backport request like this.

Wei.

Quoted 1 line

Ian.

#4 lore raw
In reply to Ian Jackson
Quoted 6 lines · Ian Jackson

Ian Campbell writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 5 lines · Wei Liu
Quoted 1 line

Acked + applied.

Quoted 7 lines
Quoted 1 line

Ian, I beleive Stefano would like to see this in 4.6 at some point.

...

Quoted 2 lines

To ssh://xenbits.xen.org/home/xen/git/ovmf.git
cb9a7eb..af9785a af9785a9ed61daea52b47f0bf448f1f228beee1e -> master

This pulls in 782 commits. That's hardly desirable for a stable release, surely ? Does OVMF not have a stable branch ?

No, it doesn't.

This was discussed prior to Wei submitting this patch, but I can't remember the reference. Hopefully either Wei or Stefano does.

Ian.

#5 lore raw
Quoted 12 lines · Ian Campbell
Quoted 11 lines · Ian Jackson

Ian Campbell writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 6 lines · Wei Liu
Quoted 1 line

Acked + applied.

Ian, I beleive Stefano would like to see this in 4.6 at some point.

...

Quoted 2 lines

To ssh://xenbits.xen.org/home/xen/git/ovmf.git
cb9a7eb..af9785a af9785a9ed61daea52b47f0bf448f1f228beee1e -> master

Quoted 7 lines
Quoted 2 lines

This pulls in 782 commits. That's hardly desirable for a stable release, surely ? Does OVMF not have a stable branch ?

No, it doesn't.

This was discussed prior to Wei submitting this patch, but I can't remember the reference. Hopefully either Wei or Stefano does.

[email protected]

#6 lore raw

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 5 lines · Ian Campbell
Quoted 2 lines

This was discussed prior to Wei submitting this patch, but I can't remember the reference. Hopefully either Wei or Stefano does.

[email protected]

Thanks for the reference.

I'm quite uncomfortable with this, really.

People who are using xen.git stable branches ought to get only changes that we (or perhaps, someone else whose judgement we have some reason to trust) have intentionally decided are suitable for deployment as a bugfix or security update in an existing installation.

Ie, changes in stable branches are supposed to be low risk. That's not compatible with tracking an upstream development branch.

Sorry,
Ian.

#7 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line · On 22.10.15 at 19:08, <[email protected]> wrote:

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 5 lines · Ian Campbell
Quoted 2 lines

This was discussed prior to Wei submitting this patch, but I can't remember the reference. Hopefully either Wei or Stefano does.

[email protected]

Thanks for the reference.

I'm quite uncomfortable with this, really.

Quoted 7 lines

People who are using xen.git stable branches ought to get only changes that we (or perhaps, someone else whose judgement we have some reason to trust) have intentionally decided are suitable for deployment as a bugfix or security update in an existing installation.

Ie, changes in stable branches are supposed to be low risk. That's not compatible with tracking an upstream development branch.

FWIW, I agree. Do we know of specific commits that we actually need?

Jan

#8 lore raw
Quoted 19 lines · Jan Beulich
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 22.10.15 at 19:08, <[email protected]> wrote:

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 6 lines · Ian Campbell
Quoted 3 lines

This was discussed prior to Wei submitting this patch, but I can't remember
the reference. Hopefully either Wei or Stefano does.

[email protected]

Thanks for the reference.

I'm quite uncomfortable with this, really.

People who are using xen.git stable branches ought to get only changes that we (or perhaps, someone else whose judgement we have some reason to trust) have intentionally decided are suitable for deployment as a bugfix or security update in an existing installation.

Quoted 5 lines
Quoted 2 lines

Ie, changes in stable branches are supposed to be low risk. That's not compatible with tracking an upstream development branch.

FWIW, I agree. Do we know of specific commits that we actually need?

Yes. Those (that?) and the reasons why we aren't just trivially taking them are explained in the referenced thread.

Really this is about adding a new feature (arm64 support for ovmf) into 4.6.1 for Raisin's benefit.

My personal preference, given the arguments made in the thread, would be for raisin to just point at mainline ovmf for the arm64 case. IOW acknowledge that arm64 ovmf was not actually part of the 4.6 release and that we should work towards making it not a special case in the 4.7 release (by, you know, testing it prior to release and things like that).

IMHO the most natural way to express that would be to differentiate the "OVMF blob built into hvmloader" from "OVMF consumed as an external 'kernel'" as different components in raisin and include them in the appropriate per-parch component lists. While the former is something which we test and include in our releases the latter is more akin to how grub2 is (loosely) integrated.

Ian.

#9 lore raw
Quoted 23 lines · Ian Campbell
Quoted 22 lines · Jan Beulich
Quoted 21 lines
Quoted 1 line
Quoted 1 line · On 22.10.15 at 19:08, <[email protected]> wrote:

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 6 lines · Ian Campbell
Quoted 3 lines

This was discussed prior to Wei submitting this patch, but I can't remember
the reference. Hopefully either Wei or Stefano does.

[email protected]

Thanks for the reference.

I'm quite uncomfortable with this, really.

People who are using xen.git stable branches ought to get only changes that we (or perhaps, someone else whose judgement we have some reason to trust) have intentionally decided are suitable for deployment as a bugfix or security update in an existing installation.

Ie, changes in stable branches are supposed to be low risk. That's not compatible with tracking an upstream development branch.

Quoted 8 lines
Quoted 2 lines

FWIW, I agree. Do we know of specific commits that we actually need?

Yes. Those (that?) and the reasons why we aren't just trivially taking them are explained in the referenced thread.

Really this is about adding a new feature (arm64 support for ovmf) into 4.6.1 for Raisin's benefit.

This is not just about Raisin. What's going to happen when we fix a bug in OVMF (http://marc.info/?l=xen-devel&m=144552787020580) which we think needs to be backport to 4.6?

I cannot believe we are going to move forward without a way to introduce any OVMF fixes into the stable branches.

Quoted 5 lines

My personal preference, given the arguments made in the thread, would be for raisin to just point at mainline ovmf for the arm64 case. IOW acknowledge that arm64 ovmf was not actually part of the 4.6 release and that we should work towards making it not a special case in the 4.7 release (by, you know, testing it prior to release and things like that).

Let's now lose the focus of the conversation by talking about this specific backport request. We can always find ways around this in Raisin.

The real problem is: what are we going to do about backport requests for OVMF in general?

#10 lore raw

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 3 lines · Ian Campbell
Quoted 2 lines

Yes. Those (that?) and the reasons why we aren't just trivially taking them are explained in the referenced thread.

That explanation isn't very convincing to me.

Quoted 2 lines

I cannot believe we are going to move forward without a way to introduce any OVMF fixes into the stable branches.

It is fine to introduce OVMF fixes into stable branches, of course.

But it is not fine to introduce other upstream changes to OVMF, willy-nilly.

Obviously these two requirements cannot be satisfied without there being some branch of OVMF which contains the intended fixes, without the unwanted upstream development.

If OVMF upstream do not have such a branch, we need to create one.

Ian.

#11 lore raw
Quoted 12 lines · Ian Jackson

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 3 lines · Ian Campbell
Quoted 2 lines

Yes. Those (that?) and the reasons why we aren't just trivially taking them are explained in the referenced thread.

That explanation isn't very convincing to me.

Quoted 2 lines

I cannot believe we are going to move forward without a way to introduce any OVMF fixes into the stable branches.

It is fine to introduce OVMF fixes into stable branches, of course.

Quoted 8 lines

But it is not fine to introduce other upstream changes to OVMF, willy-nilly.

Obviously these two requirements cannot be satisfied without there being some branch of OVMF which contains the intended fixes, without the unwanted upstream development.

If OVMF upstream do not have such a branch, we need to create one.

That's fine. We need the new branch in osstest and somebody maintaining it.

#12 lore raw

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 5 lines · Ian Jackson
Quoted 1 line

If OVMF upstream do not have such a branch, we need to create one.

That's fine. We need the new branch in osstest and somebody maintaining it.

Creating a push gate in osstest is easy. I'm happy to do that.

Whoever knows what OVMF fixes need to be cherrypicked should be in charge of the branch.

Ian.

#13 lore raw
In reply to Ian Jackson
Quoted 13 lines
Quoted 1 line
Quoted 1 line · On 23.10.15 at 13:18, <[email protected]> wrote:

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 3 lines · Ian Campbell
Quoted 2 lines

Yes. Those (that?) and the reasons why we aren't just trivially taking them are explained in the referenced thread.

That explanation isn't very convincing to me.

Quoted 2 lines

I cannot believe we are going to move forward without a way to introduce any OVMF fixes into the stable branches.

It is fine to introduce OVMF fixes into stable branches, of course.

Quoted 8 lines

But it is not fine to introduce other upstream changes to OVMF, willy-nilly.

Obviously these two requirements cannot be satisfied without there being some branch of OVMF which contains the intended fixes, without the unwanted upstream development.

If OVMF upstream do not have such a branch, we need to create one.

Or, if we're mainly concerned about in-tree builds, we need to apply patches just like we do for e.g. ipxe.

Jan

#14 lore raw
In reply to Ian Jackson
Quoted 13 lines · Ian Jackson

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 4 lines · Ian Campbell
Quoted 3 lines

Yes. Those (that?) and the reasons why we aren't just trivially taking them
are explained in the referenced thread.

That explanation isn't very convincing to me.

Quoted 3 lines

I cannot believe we are going to move forward without a way to introduce
any OVMF fixes into the stable branches.

Quoted 8 lines

It is fine to introduce OVMF fixes into stable branches, of course.

But it is not fine to introduce other upstream changes to OVMF, willy-nilly.

Obviously these two requirements cannot be satisfied without there being some branch of OVMF which contains the intended fixes, without the unwanted upstream development.

For things which we released as part of a stable release I completely agree.

But OVMF for aarch64 was not part of the 4.6 release. We have no existing stable baseline for that arch, and no testing or reason to believe that cb9a7eb (the Config.mk version currently referenced by 4.6) as being any good at all on that platform, whether we backport a couple of fixes to it or not.

I'm not convinced that taking some arbitrary old (although not as old as I thought) OVMF tree which we have tested to our satisfaction and released on x86, slapping a couple of arm64 backports on it and saying "this is now a good and stable thing to use on arm64" makes it good enough to release as ovmf arm64 in 4.6.1, encouraging our users to go about using etc.

Far better to be honest about it for now and point arm64 users at a more bleeding edge ovmf release outside of our own stable releases and prepare to do something better in 4.7.

Quoted 1 line

If OVMF upstream do not have such a branch, we need to create one.

Ian.

#15 lore raw
Quoted 19 lines · Ian Campbell
Quoted 18 lines · Ian Jackson

Stefano Stabellini writes ("Re: [PATCH] Config.mk: update OVMF changeset"):

Quoted 4 lines · Ian Campbell
Quoted 3 lines

Yes. Those (that?) and the reasons why we aren't just trivially taking them
are explained in the referenced thread.

That explanation isn't very convincing to me.

Quoted 3 lines

I cannot believe we are going to move forward without a way to introduce
any OVMF fixes into the stable branches.

It is fine to introduce OVMF fixes into stable branches, of course.

But it is not fine to introduce other upstream changes to OVMF, willy-nilly.

Quoted 8 lines
Quoted 3 lines

Obviously these two requirements cannot be satisfied without there being some branch of OVMF which contains the intended fixes, without the unwanted upstream development.

For things which we released as part of a stable release I completely agree.

But OVMF for aarch64 was not part of the 4.6 release.

What I asked is only one of the backports that might present themselves in the future. Even if the backport request is rejected, I think we should create an OVMF branch for 4.6 anyway.

Quoted 4 lines

We have no existing stable baseline for that arch, and no testing or reason to believe that cb9a7eb (the Config.mk version currently referenced by 4.6) as being any good at all on that platform, whether we backport a couple of fixes to it or not.

It is true that ovmf arm64 is not in osstest, but I ran the test manually and I know that cb9a7eb plus the one backport works, which is just a build fix. In addition the original work for arm64 support was done far earlier than cb9a7eb.

Quoted 9 lines

I'm not convinced that taking some arbitrary old (although not as old as I thought) OVMF tree which we have tested to our satisfaction and released on x86, slapping a couple of arm64 backports on it and saying "this is now a good and stable thing to use on arm64" makes it good enough to release as ovmf arm64 in 4.6.1, encouraging our users to go about using etc.

Far better to be honest about it for now and point arm64 users at a more bleeding edge ovmf release outside of our own stable releases and prepare to do something better in 4.7.

Are you suggesting we don't create an OVMF branch for 4.6 until the first backport request comes along which we think is appropriate, then we decide what to do? I would rather have an OVMF branch for 4.6 now, even if it is just cb9a7eb with no backports.

#16 lore raw
Quoted 9 lines · Stefano Stabellini
Quoted 4 lines

We have no existing stable baseline for that arch, and no testing or reason to believe that cb9a7eb (the Config.mk version currently referenced by 4.6) as being any good at all on that platform, whether we backport a couple of fixes to it or not.

It is true that ovmf arm64 is not in osstest, but I ran the test manually and I know that cb9a7eb plus the one backport works, which is just a build fix. In addition the original work for arm64 support was done far earlier than cb9a7eb.

20% of the patches since then are ARM related and I'm not sure that a quick smoke test is a high enough bar to add something in a stable point release (it might suffice for adding to the development branch and subsequently releasing, after plenty of time and -rc's, test days etc)

Quoted 16 lines
Quoted 10 lines

I'm not convinced that taking some arbitrary old (although not as old as I
thought) OVMF tree which we have tested to our satisfaction and released on
x86, slapping a couple of arm64 backports on it and saying "this is now a
good and stable thing to use on arm64" makes it good enough to release as
ovmf arm64 in 4.6.1, encouraging our users to go about using etc.

Quoted 5 lines

Far better to be honest about it for now and point arm64 users at a more
bleeding edge ovmf release outside of our own stable releases and prepare
to do something better in 4.7.

Quoted 4 lines

Are you suggesting we don't create an OVMF branch for 4.6 until the first backport request comes along which we think is appropriate, then we decide what to do? I would rather have an OVMF branch for 4.6 now, even if it is just cb9a7eb with no backports.

I'm not against having an OVMF branch ready for any potential bug fixes which might crop up in the feature set we released and in future we should probably create one as a matter of course as part of branching.

What I don't like is adding OVMF/arm64 as a new feature in a point release with very little of the usual confidence we would have in something we would add in a 4.6.0, let alone a 4.6.1.

Ian.

#17 lore raw

Il 23/10/2015 14:56, Ian Campbell ha scritto:

Quoted 42 lines · Stefano Stabellini
Quoted 8 lines
Quoted 4 lines

We have no existing stable baseline for that arch, and no testing or reason to believe that cb9a7eb (the Config.mk version currently referenced by 4.6) as being any good at all on that platform, whether we backport a couple of fixes to it or not.

It is true that ovmf arm64 is not in osstest, but I ran the test manually and I know that cb9a7eb plus the one backport works, which is just a build fix. In addition the original work for arm64 support was done far earlier than cb9a7eb.

20% of the patches since then are ARM related and I'm not sure that a quick smoke test is a high enough bar to add something in a stable point release (it might suffice for adding to the development branch and subsequently releasing, after plenty of time and -rc's, test days etc)

Quoted 16 lines
Quoted 10 lines

I'm not convinced that taking some arbitrary old (although not as old as I
thought) OVMF tree which we have tested to our satisfaction and released on
x86, slapping a couple of arm64 backports on it and saying "this is now a
good and stable thing to use on arm64" makes it good enough to release as
ovmf arm64 in 4.6.1, encouraging our users to go about using etc.

Quoted 5 lines

Far better to be honest about it for now and point arm64 users at a more
bleeding edge ovmf release outside of our own stable releases and prepare
to do something better in 4.7.

Quoted 4 lines

Are you suggesting we don't create an OVMF branch for 4.6 until the first backport request comes along which we think is appropriate, then we decide what to do? I would rather have an OVMF branch for 4.6 now, even if it is just cb9a7eb with no backports.

I'm not against having an OVMF branch ready for any potential bug fixes which might crop up in the feature set we released and in future we should probably create one as a matter of course as part of branching.

What I don't like is adding OVMF/arm64 as a new feature in a point release with very little of the usual confidence we would have in something we would add in a 4.6.0, let alone a 4.6.1.

Quoted 6 lines

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

A recent ovmf patch (already tested) I think is good to backport is:
0f34a051104e2b1b9123d56d48673de4b21bc533 - OvmfPkg: XenPvBlkDxe: handle empty cdrom drives
Can be considered please? Without any domU using ovmf and having empty cdrom (required for cd hotplug) freeze on boot start.

There is also another important occasional bug (reported and linked also by Stefano Stabellini) but without solution for now where is good backport any fixes related when will be done.

Thanks for any reply and sorry for my bad english.

#18 lore raw
Quoted 1 line · Fabio Fantoni

A recent ovmf patch (already tested) I think is good to backport is:

Pointing out backport candidates in the depths of a thread such as this is a sure fire way to ensure they get missed I'm afraid.

Please make such requests explicitly in a new thread, or at least in a reply to the patch in question.

Ian.