stubdom questions
Is it intentional that
- large parts of stubdom build with -j1 only irrespective of the original make invocation?
- all imported packages are out of date?
- pciutils is being built without 64-bit support (visible via warnings issued from the qemu build)?
- the build produces dozens of compiler warnings quite a few of which don't look benign at all?
- can't be built with a read-only and/or symlinked source tree?
Also, what's the point of the install-stubdom dependency on install-tools? Shouldn't the individual components' builds be independent of one another?
Thanks, Jan
Jan Beulich writes ("[Xen-devel] stubdom questions"):
Quoted 3 lines
Is it intentional that
- large parts of stubdom build with -j1 only irrespective of the original make invocation?
I think we had some makefile concurrency bugs and this is the workaround.
Quoted 1 line
- all imported packages are out of date?
Yes, this is intentional. We don't want to update these unless necessary, really.
Quoted 2 lines
- pciutils is being built without 64-bit support (visible via warnings issued from the qemu build)?
Does this have any other adverse consequence ?
Quoted 2 lines
- the build produces dozens of compiler warnings quite a few of which don't look benign at all?
No, that not intentional.
Quoted 1 line
- can't be built with a read-only and/or symlinked source tree?
No, that not intentional.
Quoted 3 lines
Also, what's the point of the install-stubdom dependency on install-tools? Shouldn't the individual components' builds be independent of one another?
I don't know. The stubdom build system is a bit of a mess, unfortunately.
Ian.
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Ian Jackson
Jan Beulich writes ("[Xen-devel] stubdom questions"):
Quoted 2 lines
- pciutils is being built without 64-bit support (visible via warnings issued from the qemu build)?
Does this have any other adverse consequence ?
Pass-through may not work for devices with 64-bit resources (I don't think any virtual devices would try to use 64-bit addresses)?
Jan
Quoted 10 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Ian Jackson
Jan Beulich writes ("[Xen-devel] stubdom questions"):
Quoted 2 lines
- pciutils is being built without 64-bit support (visible via warnings issued from the qemu build)?
Does this have any other adverse consequence ?
Pass-through may not work for devices with 64-bit resources (I don't think any virtual devices would try to use 64-bit addresses)?
Good point.
However the current qemu-xen is incapable of dealing with 64 bit BARS anyway AKAIK.
It could become a problem when we start using upstream qemu though.
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Ian Jackson
Jan Beulich writes ("[Xen-devel] stubdom questions"):
Quoted 1 line
- all imported packages are out of date?
Yes, this is intentional. We don't want to update these unless necessary, really.
So even security problems fixed in upstream packages are deemed to be of no concern (or if they are, need to be handled manually by adding patches)?
Quoted 1 line
The stubdom build system is a bit of a mess, unfortunately.
Are there intentions to get this cleaned up?
Jan
Quoted 7 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · Ian Jackson
Jan Beulich writes ("[Xen-devel] stubdom questions"):
Quoted 1 line
- all imported packages are out of date?
Yes, this is intentional. We don't want to update these unless necessary, really.
Quoted 7 lines
So even security problems fixed in upstream packages are deemed to be of no concern (or if they are, need to be handled manually by adding patches)?
Quoted 1 line
The stubdom build system is a bit of a mess, unfortunately.
Are there intentions to get this cleaned up?
Sadly intentions are no substitute for time/manpower.
Sounds like a good idea to me though.
Gianni
Jan Beulich writes ("Re: [Xen-devel] stubdom questions"):
Quoted 7 lines · Ian Jackson
Quoted 2 lines
Yes, this is intentional. We don't want to update these unless necessary, really.
So even security problems fixed in upstream packages are deemed to be of no concern (or if they are, need to be handled manually by adding patches)?
The libraries underlying stubdom aren't exposed directly to hostile data; they communicate only with the qemu in stubdom, and dom0. Communication with the untrusted guest is done by the qemu code. Furthermore, the stubdom itself is supposed to be no more trusted than the guest it is servicing. So I think in theory almost all security bugs in these libraries should be unexploitable in the stubdom context.
If you could point to a counterexample that would be very interesting.
Quoted 3 lines
Quoted 1 line
The stubdom build system is a bit of a mess, unfortunately.
Are there intentions to get this cleaned up?
In the long term yes, but I don't think we have it as a priority.
Ian.
Quoted 2 lines · Jan Beulich, le Tue 09 Nov 2010 10:44:23 +0000, a écrit :
- the build produces dozens of compiler warnings quite a few of which don't look benign at all?
On which parts? I guess updating them might fix these warnings, and if not, issues should rather be reported upstream.
Quoted 1 line
- can't be built with a read-only and/or symlinked source tree?
I've never tried, actually.
Quoted 3 lines
Also, what's the point of the install-stubdom dependency on install-tools? Shouldn't the individual components' builds be independent of one another?
I don't know why, but it's
changeset: 21760:84719437205c user: Keir Fraser <[email protected]> date: Fri Jul 09 12:22:52 2010 +0100 summary: Makefile: Serialise stubdom build after tools
Samuel
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Samuel Thibault
Quoted 2 lines · Jan Beulich, le Tue 09 Nov 2010 10:44:23 +0000, a écrit :
- the build produces dozens of compiler warnings quite a few of which don't look benign at all?
On which parts? I guess updating them might fix these warnings, and if not, issues should rather be reported upstream.
Some of them in qemu, many in newlib, I don't recall detail right now for the others.
Updating is, as IanJ responded, not an option (and hence eventual reporting upstream is also not useful from stubdom building perspective).
Jan