Skip to contentSkip to conversation

Xen 4.2 TODO List Update

DISCUSSION Ian Campbell 7 participants 15 messages Jan 23, 2012 – Jan 26, 2012

lore
Share & tools
lore
#0 lore raw

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

* round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
* get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
* mem event ring management posted, seems close to going in.
* sharing patches posted

tools, blockers:

* libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
* event handling (Ian Jackson, posted several rounds, nearing completion?)
* drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
* add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
* topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
* xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
* xl support for vcpu pinning (Dario Faggioli)
* xl feature parity with xend wrt driver domain support (George Dunlap)
* Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

* solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
* A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
* NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

* Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
* Block script support -- follows on from hotplug script (Roger Pau Monet)
* libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
* Configure/control paging via xl/libxl (Olaf Herring)
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard)
* Upstream qemu save restore (Anthony Perard)
* Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Tools, need to decide if pre- or post-4.2 feature:

* Autoconf (Roger Pau Monet posted a patch)

#1 lore raw
Quoted 2 lines · Ian Campbell

* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)

I mistakenly thought the schedule rate fix had been committed. This should be it's own top-level blocker IMHO.

Ian.

#2 lore raw
In reply to Ian Campbell
Quoted 4 lines · Ian Campbell

tools, blockers:

[..]
* xl support for vcpu pinning (Dario Faggioli)

Patch sent, just right now.

Dario

Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere)
-------------------------------------------------------------------
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)

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

#3 lore raw
In reply to Ian Campbell
Quoted 46 lines · Ian Campbell

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

* round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
* get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
* mem event ring management posted, seems close to going in.
* sharing patches posted

tools, blockers:

* libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
* event handling (Ian Jackson, posted several rounds, nearing completion?)
* drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
* add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
* topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
* xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
* xl support for vcpu pinning (Dario Faggioli)
* xl feature parity with xend wrt driver domain support (George Dunlap)
* Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

Quoted 8 lines

hypervisor, nice to have:

* solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
* A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
* NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

Patches accepted (cs24549..24551)

Quoted 29 lines

tools, nice to have:

* Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
* Block script support -- follows on from hotplug script (Roger Pau Monet)
* libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
* Configure/control paging via xl/libxl (Olaf Herring)
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard)
* Upstream qemu save restore (Anthony Perard)
* Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Tools, need to decide if pre- or post-4.2 feature:

* Autoconf (Roger Pau Monet posted a patch)

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

Signature · 5 lines
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: [email protected]
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html
#4 lore raw

On Tue, Jan 24, 2012 at 6:31 AM, Juergen Gross <[email protected]

Quoted 60 lines

wrote:

Quoted 46 lines · Ian Campbell

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

* round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
* get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
* mem event ring management posted, seems close to going in.
* sharing patches posted

tools, blockers:

* libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
* event handling (Ian Jackson, posted several rounds, nearing completion?)
* drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
* add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
* topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
* xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
* xl support for vcpu pinning (Dario Faggioli)
* xl feature parity with xend wrt driver domain support (George Dunlap)
* Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

Quoted 9 lines

hypervisor, nice to have:

* solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
* A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
* NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

Quoted 22 lines

Patches accepted (cs24549..24551)

tools, nice to have:

Quoted 18 lines

* Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
* Block script support -- follows on from hotplug script (Roger Pau Monet)
* libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
* Configure/control paging via xl/libxl (Olaf Herring)
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard)
* Upstream qemu save restore (Anthony Perard)
* Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

* Basic remus support in libxl.

I have sent the patches. If the block script patches get in on time, I could add
disk checkpointing support too. That would leave only network buffering.

Quoted 24 lines

Tools, need to decide if pre- or post-4.2 feature:

Quoted 11 lines

* Autoconf (Roger Pau Monet posted a patch)

______________________________**_________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/**xen-devel<http://lists.xensource.com/xen-devel>

--
Juergen Gross Principal Developer Operating Systems
PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions e-mail:
[email protected]
Domagkstr. 28 Internet: ts.fujitsu.com
D-80807 Muenchen Company details:
ts.fujitsu.com/imprint.html

Quoted 5 lines

______________________________**_________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/**xen-devel<http://lists.xensource.com/xen-devel>

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

#5 lore raw
In reply to Ian Campbell

2012/1/23 Ian Campbell <[email protected]>:

Quoted 57 lines

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

     * round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
     * domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
     * get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
             * mem event ring management posted, seems close to going in.
             * sharing patches posted

tools, blockers:

     * libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
             * event handling (Ian Jackson, posted several rounds, nearing completion?)
             * drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
             * add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
             * topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
     * xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
     * xl support for vcpu pinning (Dario Faggioli)
     * xl feature parity with xend wrt driver domain support (George Dunlap)
     * Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
     * More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

     * solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
     * A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
     * NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

Quoted 15 lines

     * Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
     * Block script support -- follows on from hotplug script (Roger Pau Monet)
     * libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
     * Configure/control paging via xl/libxl (Olaf Herring)
     * Upstream qemu feature patches:
             * Upstream qemu PCI passthrough support (Anthony Perard)
             * Upstream qemu save restore (Anthony Perard)
     * Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Just a random thought, but I find it quite annoying to need latex to compile the documentation. I think it will be wise to create a new Makefile target, like man-pages and install-man-pages to allow the user to build and install man pages only (or don't abort docs build if latex is not found). Personally I don't have latex on my server, and I don't want to install it, but I would like to have the man pages when building Xen from source.

Quoted 9 lines

Tools, need to decide if pre- or post-4.2 feature:

     * Autoconf (Roger Pau Monet posted a patch)

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

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

#6 lore raw
Quoted 75 lines · Roger Pau Monné

2012/1/23 Ian Campbell <[email protected]>:

Quoted 57 lines

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

* round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
* get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
* mem event ring management posted, seems close to going in.
* sharing patches posted

tools, blockers:

* libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
* event handling (Ian Jackson, posted several rounds, nearing completion?)
* drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
* add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
* topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
* xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
* xl support for vcpu pinning (Dario Faggioli)
* xl feature parity with xend wrt driver domain support (George Dunlap)
* Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

* solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
* A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
* NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

Quoted 15 lines

* Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
* Block script support -- follows on from hotplug script (Roger Pau Monet)
* libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
* Configure/control paging via xl/libxl (Olaf Herring)
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard)
* Upstream qemu save restore (Anthony Perard)
* Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Quoted 7 lines

Just a random thought, but I find it quite annoying to need latex to compile the documentation. I think it will be wise to create a new Makefile target, like man-pages and install-man-pages to allow the user to build and install man pages only (or don't abort docs build if latex is not found). Personally I don't have latex on my server, and I don't want to install it, but I would like to have the man pages when building Xen from source.

"make -C docs man-pages" will do what you want.

I must admit I thought latex was optional and that "make docs" would simply skip those docs if it wasn't installed -- that's what the "if which $(TOOL)" construct used in there is (supposed to be) doing.

Ian.

Quoted 10 lines
Quoted 10 lines

Tools, need to decide if pre- or post-4.2 feature:

* Autoconf (Roger Pau Monet posted a patch)

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

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

#7 lore raw

2012/1/25 Ian Campbell <[email protected]>:

Quoted 84 lines · Roger Pau Monné
Quoted 75 lines

2012/1/23 Ian Campbell <[email protected]>:

Quoted 57 lines

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

     * round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
     * domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
     * get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
             * mem event ring management posted, seems close to going in.
             * sharing patches posted

tools, blockers:

     * libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
             * event handling (Ian Jackson, posted several rounds, nearing completion?)
             * drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
             * add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
             * topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
     * xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
     * xl support for vcpu pinning (Dario Faggioli)
     * xl feature parity with xend wrt driver domain support (George Dunlap)
     * Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
     * More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

     * solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
     * A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
     * NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

Quoted 15 lines

     * Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
     * Block script support -- follows on from hotplug script (Roger Pau Monet)
     * libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
     * Configure/control paging via xl/libxl (Olaf Herring)
     * Upstream qemu feature patches:
             * Upstream qemu PCI passthrough support (Anthony Perard)
             * Upstream qemu save restore (Anthony Perard)
     * Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Quoted 7 lines

Just a random thought, but I find it quite annoying to need latex to compile the documentation. I think it will be wise to create a new Makefile target, like man-pages and install-man-pages to allow the user to build and install man pages only (or don't abort docs build if latex is not found). Personally I don't have latex on my server, and I don't want to install it, but I would like to have the man pages when building Xen from source.

Quoted 1 line

"make -C docs man-pages" will do what you want.

Thanks, I've already done this to build them on my system, but I think we should provide some easy way for users without latex to build and install the man pages.

Quoted 3 lines

I must admit I thought latex was optional and that "make docs" would simply skip those docs if it wasn't installed -- that's what the "if which $(TOOL)" construct used in there is (supposed to be) doing.

If latex is not found, the compilation is aborted:

# make docs
sh ./docs/check_pkgs && make -C docs install || true
=================================================
=================================================
= WARNING: Package 'latex' is required
=          to build Xen documentation
=================================================
=================================================

I think make docs should just skip latex if not found.

Quoted 15 lines

Ian.

Quoted 10 lines
Quoted 10 lines

Tools, need to decide if pre- or post-4.2 feature:

     * Autoconf (Roger Pau Monet posted a patch)

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

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

#8 lore raw
Quoted 6 lines · Roger Pau Monné
Quoted 3 lines
Quoted 3 lines

don't want to install it, but I would like to have the man pages when

building Xen from source.

"make -C docs man-pages" will do what you

Quoted 1 line
Quoted 1 line

want.

Thanks, I've already done this to build them on my system, but I

Quoted 1 line
Quoted 1 line
Quoted 1 line

think

we should provide some easy way for users without latex to build

Quoted 1 line
Quoted 1 line
Quoted 1 line

and

install the man pages.

Quoted 6 lines

I must admit I thought latex was optional and

Quoted 1 line
Quoted 1 line

that "make docs" would

simply skip those docs if it wasn't installed --

Quoted 1 line
Quoted 1 line

that's what the "if

which $(TOOL)" construct used in there is (supposed to

Quoted 1 line
Quoted 1 line

be) doing.

If latex is not found, the compilation is aborted:

# make
Quoted 1 line
Quoted 1 line
Quoted 1 line

docs

sh ./docs/check_pkgs && make -C docs install ||

Quoted 1 line
Quoted 1 line
Quoted 1 line

true

=================================================
=====================

Quoted 1 line
Quoted 1 line
Quoted 1 line

============================

= WARNING: Package 'latex' is required
=

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

to build Xen
documentation

=================================================
============

Quoted 1 line
Quoted 1 line
Quoted 1 line

=====================================

I think make docs should just skip

Quoted 1 line
Quoted 1 line
Quoted 1 line

latex if not found.

I'm dubious whether the latex docs are at all useful these days. We could possibly just remove them entirely.

-- Keir

#9 lore raw
Quoted 2 lines · Keir Fraser

I'm dubious whether the latex docs are at all useful these days. We could possibly just remove them entirely.

Or at least not build them by default. Personally I'm happy to have them removed.

Ian.

#10 lore raw
In reply to Roger Pau Monné
Quoted 85 lines · Roger Pau Monné

2012/1/25 Ian Campbell <[email protected]>:

Quoted 84 lines · Roger Pau Monné
Quoted 82 lines

2012/1/23 Ian Campbell <[email protected]>:

Quoted 57 lines

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

* round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
* domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
* get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
* mem event ring management posted, seems close to going in.
* sharing patches posted

tools, blockers:

* libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
* event handling (Ian Jackson, posted several rounds, nearing completion?)
* drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
* add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
* topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
* xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
* xl support for vcpu pinning (Dario Faggioli)
* xl feature parity with xend wrt driver domain support (George Dunlap)
* Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

* solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
* A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
* NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

Quoted 15 lines

* Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
* Block script support -- follows on from hotplug script (Roger Pau Monet)
* libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
* Configure/control paging via xl/libxl (Olaf Herring)
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard)
* Upstream qemu save restore (Anthony Perard)
* Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Just a random thought, but I find it quite annoying to need latex to compile the documentation. I think it will be wise to create a new Makefile target, like man-pages and install-man-pages to allow the user to build and install man pages only (or don't abort docs build if latex is not found). Personally I don't have latex on my server, and I don't want to install it, but I would like to have the man pages when building Xen from source.

Quoted 5 lines
Quoted 1 line

"make -C docs man-pages" will do what you want.

Thanks, I've already done this to build them on my system, but I think we should provide some easy way for users without latex to build and install the man pages.

It's hard to get much easier, but...

Quoted 15 lines
Quoted 3 lines

I must admit I thought latex was optional and that "make docs" would simply skip those docs if it wasn't installed -- that's what the "if which $(TOOL)" construct used in there is (supposed to be) doing.

If latex is not found, the compilation is aborted:

# make docs
sh ./docs/check_pkgs && make -C docs install || true
=================================================
=================================================
= WARNING: Package 'latex' is required
=          to build Xen documentation
=================================================
=================================================
Quoted 1 line

I think make docs should just skip latex if not found.

Looks like it is simply the check which is too strict. AFAICT the actual docs build already skips those docs if you don't have Latex. You can test this with "make -C docs" which is basically the same as "make docs" but without the checks.

Ian.

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

#11 lore raw

2012/1/25 Ian Campbell <[email protected]>:

Quoted 109 lines · Roger Pau Monné
Quoted 85 lines

2012/1/25 Ian Campbell <[email protected]>:

Quoted 84 lines · Roger Pau Monné
Quoted 82 lines

2012/1/23 Ian Campbell <[email protected]>:

Quoted 57 lines

Newly updated list follows. Please send me corrections (especially "done"). I've stopped CCing everyone, since I guess it is mostly spam to the majority.

hypervisor, blockers:

     * round-up of the closing of the security hole in MSI-X passthrough (uniformly - i.e. even for Dom0 - disallowing write access to MSI-X table pages). (Jan Beulich -- more fixes required than first thought, patches posted)
     * domctls / sysctls set up to modify scheduler parameters, like the credit1 timeslice and schedule rate. (George Dunlap)
     * get the interface changes for sharing/paging/mem-events done and dusted so that 4.2 is a stable API that we hold to. (Tim Deegan, Andres Lagar-Cavilla et al)
             * mem event ring management posted, seems close to going in.
             * sharing patches posted

tools, blockers:

     * libxl stable API -- we would like 4.2 to define a stable API which downstream's can start to rely on not changing. Aspects of this are:
             * event handling (Ian Jackson, posted several rounds, nearing completion?)
             * drop libxl_device_model_info (move bits to build_info or elsewhere as appropriate) (Ian Campbell, first RFC sent)
             * add libxl_defbool and generally try and arrange that memset(foo,0,...) requests the defaults (Ian Campbell, first RFC sent)
             * topologyinfo datastructure should be a list of tuples, not a tuple of lists. (nobody currently looking at this, not 100% sure this makes sense, could possibly defer and change after 4.2 in a compatible way)
     * xl to use json for machine readable output instead of sexp by default (Ian Campbell to revisit existing patch)
     * xl support for vcpu pinning (Dario Faggioli)
     * xl feature parity with xend wrt driver domain support (George Dunlap)
     * Integrate qemu+seabios upstream into the build (patches reposted, pending). No change in default qemu for 4.2.
     * More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

hypervisor, nice to have:

     * solid implementation of sharing/paging/mem-events (using work queues) (Tim Deegan, Olaf Herring et al)
     * A long standing issue is a fully synchronized p2m (locking lookups) (Andres Lagar-Cavilla)
     * NUMA improvement: domain affinity consistent with cpupool membership (Dario Faggioli, Jeurgen Gross -- patch posted)

tools, nice to have:

Quoted 15 lines

     * Hotplug script stuff -- internal to libxl (I think, therefore I didn't put this under stable API above) but still good to have for 4.2? Roger Pau Monet was looking at this but its looking like a big can-o-worms. (discussion on-going)
     * Block script support -- follows on from hotplug script (Roger Pau Monet)
     * libyajl v2 support (patch posted by Roger Pau Monet, blocked on autoconf?)
     * Configure/control paging via xl/libxl (Olaf Herring)
     * Upstream qemu feature patches:
             * Upstream qemu PCI passthrough support (Anthony Perard)
             * Upstream qemu save restore (Anthony Perard)
     * Nested-virtualisation (currently should be marked experimental,likely to release that way? Consider nested-svm separate to nested-vmx. Nested-svm is in better shape)

Just a random thought, but I find it quite annoying to need latex to compile the documentation. I think it will be wise to create a new Makefile target, like man-pages and install-man-pages to allow the user to build and install man pages only (or don't abort docs build if latex is not found). Personally I don't have latex on my server, and I don't want to install it, but I would like to have the man pages when building Xen from source.

Quoted 5 lines
Quoted 1 line

"make -C docs man-pages" will do what you want.

Thanks, I've already done this to build them on my system, but I think we should provide some easy way for users without latex to build and install the man pages.

It's hard to get much easier, but...

Quoted 15 lines
Quoted 3 lines

I must admit I thought latex was optional and that "make docs" would simply skip those docs if it wasn't installed -- that's what the "if which $(TOOL)" construct used in there is (supposed to be) doing.

If latex is not found, the compilation is aborted:

# make docs
sh ./docs/check_pkgs && make -C docs install || true
=================================================
=================================================
= WARNING: Package 'latex' is required
=          to build Xen documentation
=================================================
=================================================
Quoted 6 lines
Quoted 1 line

I think make docs should just skip latex if not found.

Looks like it is simply the check which is too strict. AFAICT the actual docs build already skips those docs if you don't have Latex. You can test this with "make -C docs" which is basically the same as "make docs" but without the checks.

I'm not really sure latex is skipped if not found:

# make -C docs
make: Entering directory `/root/xen-work/docs'
latex src/user.tex >/dev/null
/bin/sh: latex: not found
make: *** [user.dvi] Error 127
make: Leaving directory `/root/xen-work/docs'

Either we remove the latex docs or we add some checks to skip the sections that require latex.

Quoted 4 lines

Ian.

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

#12 lore raw
Quoted 11 lines · Roger Pau Monné

I'm not really sure latex is skipped if not found:

# make -C docs
make: Entering directory `/root/xen-work/docs'
latex src/user.tex >/dev/null
/bin/sh: latex: not found
make: *** [user.dvi] Error 127
make: Leaving directory `/root/xen-work/docs'

Either we remove the latex docs or we add some checks to skip the sections that require latex.

Ah, I was looking at latex2html and missed the raw latex command, sorry. Yes we should gate them, or remove them as Keir suggests.

Ian.

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

#13 lore raw
Quoted 15 lines · Ian Campbell

On Wed, 2012-01-25 at 15:03 +0000, Roger Pau Monné wrote:

I'm not really
sure latex is skipped if not found:

# make -C docs
make: Entering
directory `/root/xen-work/docs'
latex src/user.tex >/dev/null
/bin/sh:
latex: not found
make: *** [user.dvi] Error 127
make: Leaving directory
`/root/xen-work/docs'
Quoted 3 lines

Either we remove the latex docs or we add some
checks to skip the
sections that require latex.

Ah, I was looking at

Quoted 1 line

latex2html and missed the raw latex command, sorry.

Yes we should gate them,

Quoted 2 lines

or remove them as Keir
suggests.

Ian.

_______________________________________________
Xen-devel

Quoted 2 lines

mailing
list

[email protected]
http://lists.xensource.com/xen-devel

I've removed them.

-- Keir