Xen 4.2 TODO / Release Plan
Plan for a 4.2 release:
http://lists.xen.org/archives/html/xen-devel/2012-03/msg00793.html
The time line is as follows:
19 March -- TODO list locked down
2 April -- Feature Freeze
<< WE ARE HERE
Mid/Late May -- First release candidate
Weekly -- RCN+1 until it is ready
The updated TODO list follows. Per the release plan a strong case will now have to be made as to why new items should be added to the list, especially as a blocker, rather than deferred to 4.3.
A lot of new DONE and one of the bigger items (IanJ's async bootloader/create/fork series) is now in. The remaining big items are the hotplug script series and asynchronisation of migration.
We have made a freeze exception for George's "pciback autobind" patch to xl, since it is self contained. Likewise Bastian's suggestion to rename xs.h -> xenstore.h (since the old name is too short and now conflicts with another project) has been accepted (with compat symlinks) for 4.2 in order to get the transition under way ASAP.
Other than that I think we should consider the freeze to be in full effect and the bar to entry to 4.2 to be very high.
hypervisor, blockers:
* Performance regression due to contention on p2m lock. Patches posted, reviewed, updated, to go in shortly (Tim, Andres)
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:
* Safe fork vs. fd handling hooks. Involves API changes
(Ian J, I think this was actually DONE a while back and
I missed it)
* libxl_wait_for_free_memory/libxl_wait_for_memory_target.
Interface needs an overhaul, related to
locking/serialization over domain create (deferred to
4.3). IanJ to add note about this interface being
substandard but otherwise defer to 4.3.
* libxl_*_path. Majority made internal, only configdir and
lockdir remain public (used by xl). Good enough?
* Interfaces which may need to be async:
* libxl_domain_suspend. Probably need to move
xc_domain_save into a separate process, as per <[email protected]>. Likely need to do the same for xc_domain_restore too. (IanJ).
* libxl_domain_create_{new,restore} -- IanJ has
patches as part of event series, (DONE).
* libxl_domain_core_dump. Can take a dummy ao_how
and remain synchronous internally. (IanC, DONE)
* libxl_device_{disk,nic,vkb,add,pci}_add (and
remove?). Roger Pau Monné fixes disk as part of
hotplug script series and adds infrastructure
which should make the others trivial. (Roger,
WIP)
* libxl_cdrom_insert. Should be easy once
disk_{add,remove} done, IanJ to look at (or
doing so?).
* libxl_device_disk_local_{attach,detach}. Become
internal as part of Stefano's domain 0 disk
attach series (patches posted, another round
required?)
* libxl_fork -- IanJ's event series will remove
all users of this. (DONE)
* [BUG] Manually ballooning dom0. xl mem-set 0 [foo] fails with
"libxl: error: libxl.c:2569:libxl_set_memory_target: cannot get
memory info from /local/domain/0/memory/static-max: No such file
or directory". This might be suitable for an enthusiastic
on-looker. (Seems to have been fixed, DONE)
* xl compatibility with xm:
* [BUG] cannot create an empty CD-ROM driver on HVM guest,
reported by Fabio Fantoni in
<[email protected]>
* [BUG] Spurious CPU params error message when starting a
domain, e.g. "Cpu weight out of range, valid values are
within range from 1 to 65535". ("George will do it if no
one else steps up")
* does not automatically try to select a (set of) node(s)
on which to create a VM and pin its vcpus there. (Dario
Faggioli, patches posted)
* More formally deprecate xm/xend. Manpage patches already in
tree. Needs release noting and communication around -rc1 to
remind people to test xl.
* xl to refuse to run if xend is running, Roger Pau Monné (patch
posted, needs rebase)
* Domain 0 block attach & general hotplug when using qdisk backend
(need to start qemu as necessary etc) (Stefano S, patches
posted, needs updates)
* Improved Hotplug script support (Roger Pau Monné, patches
posted)
* Block script support -- follows on from hotplug script (Roger
Pau Monné)
* xs.h -> xenstore.h. Should do this for 4.2 rather than have
distros carry their own patches. (Ian C, patch posted)
hypervisor, nice to have:
* PoD performance improvements (George Dunlap)
tools, nice to have:
* Upstream qemu feature patches:
* Upstream qemu PCI passthrough support (Anthony Perard, awaiting qemy upstream review)
* Upstream qemu is frozen for their next release. Unlikely that these will be accepted in the next few weeks. Given that upstream qemu is not yet the default I think it is acceptable to defer PCI passthrough support to 4.3.
* Upstream qemu save restore (Anthony Perard, Stefano Stabellini, qemu patches applied, libxl patches applied. Done)
* Initial xl support for Remus (memory checkpoint, blackholing) (Shriram, was waiting on libxl side of qemu upstream save/restore, now unblocked)
* xl compatibility with xm:
* xl support for autospawning vncviewer (vncviewer=1 or otherwise) (Goncalo Gomes, new version of patch posted recently)
* Directory usage in libxl (Bastian, as part of Debian packaging, likely to defer to 4.3 unless there is some big problem with packaging deviating from upstream)
* dumps in /var/xen: wtf?
* Bastian: "The FHS defines /var/crash for system crash dumps, but it is not used everywhere. So I would use /var/lib/xen/dump or so."
* user data files in /var/lib/xen:
* What are the guarantees given for this files?
* Bastian: "I don't think rebooting the control domain without rebooting Xen will work right now. So /var/run is the correct location."
* /var/run/libxl for temporary files
* "$TMPDIR or the fallback /tmp is the correct location."
* xl commands to help rebind pci devices to pciback.
[0] http://lists.xen.org/archives/html/xen-devel/2012-03/msg00883.html
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 2 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Quoted 1 line
hypervisor, nice to have:
IRQ problem for which debugging code got added by c/s 24707:96987c324a4f. I have a tentative adjustment to this which I would hope to at least eliminate the bad consequences of crashing the hypervisor (converting the unsolicited PIC-originated IRQ into a spurious one). I'll submit as soon as I got to test this a little, particularly also on an old box without APIC.
Jan
Quoted 6 lines · Jan Beulich
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 14.05.12 at 12:26, Ian Campbell <[email protected]>
Quoted 1 line · wrote:
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Can you remind me what those are please. Do they touch libxl or libxc?
Thanks,
Ian.
Quoted 10 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 6 lines · Jan Beulich
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 14.05.12 at 12:26, Ian Campbell <[email protected]>
Quoted 1 line · wrote:
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Can you remind me what those are please.
"qemu/xendisk: set maximum number of grants to be used"
(http://lists.xen.org/archives/html/xen-devel/2012-05/msg00715.html).
Unfortunately I didn't hear back from Olaf regarding the updated value that the supposed v2 of the patch (see the thread), which is at least partly due to him having further problems with the qdisk backend. Olaf - did you ever see gntdev allocation failures again after switching to the higher value?
Quoted 1 line
Do they touch libxl or libxc?
The libxc touching one went in already (25330:49ce39c88aee).
Jan
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 6 lines · Jan Beulich
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 14.05.12 at 12:26, Ian Campbell <[email protected]>
Quoted 1 line · wrote:
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Can you remind me what those are please.
Quoted 8 lines
"qemu/xendisk: set maximum number of grants to be used"
(http://lists.xen.org/archives/html/xen-devel/2012-05/msg00715.html).Unfortunately I didn't hear back from Olaf regarding the updated value that the supposed v2 of the patch (see the thread), which is at least partly due to him having further problems with the qdisk backend. Olaf - did you ever see gntdev allocation failures again after switching to the higher value?
I just did a successful installation of sles11sp2 guest on a xen-unstable host with changeset 25427:ad348c6575b8, and with the change below, and the second attempt I just started seems get through as well.
I'm sure I used this variant already two weeks ago, and the install still failed. Perhaps other changes made during the last two weeks make a difference.
I will also doublecheck how it goes without this change.
Olaf
hw/xen_disk.c +4 -0
@@ -536,6 +536,10 @@ static void blk_alloc(struct XenDevice *if (xen_mode !=XEN_EMULATE ) { batch_maps =1 ; } +if (xc_gnttab_set_max_grants (xendev->gnttabdev, +2 * max_requests *BLKIF_MAX_SEGMENTS_PER_REQUEST +1 ) <0 ) +xen_be_printf (xendev,0 ,"xc_gnttab_set_max_grants failed: %s\n" , +strerror (errno)); }static int blk_init (struct XenDevice *xendev)
Quoted 23 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 6 lines · Jan Beulich
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 14.05.12 at 12:26, Ian Campbell <[email protected]>
Quoted 1 line · wrote:
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Can you remind me what those are please.
Quoted 8 lines
"qemu/xendisk: set maximum number of grants to be used"
(http://lists.xen.org/archives/html/xen-devel/2012-05/msg00715.html).Unfortunately I didn't hear back from Olaf regarding the updated value that the supposed v2 of the patch (see the thread), which is at least partly due to him having further problems with the qdisk backend. Olaf - did you ever see gntdev allocation failures again after switching to the higher value?
Quoted 7 lines
I just did a successful installation of sles11sp2 guest on a xen-unstable host with changeset 25427:ad348c6575b8, and with the change below, and the second attempt I just started seems get through as well.
I'm sure I used this variant already two weeks ago, and the install still failed. Perhaps other changes made during the last two weeks make a difference.
That would be odd.
hw/xen_disk.c static void blk_alloc(struct XenDevice * · line 540
Quoted 12 lines
I will also doublecheck how it goes without this change.
Olaf
hw/xen_disk.c +2
-0@@ -536,6 +536,10 @@ static void blk_alloc(struct XenDevice *if (xen_mode !=XEN_EMULATE ) { batch_maps =1 ; } +if (xc_gnttab_set_max_grants (xendev->gnttabdev, +2 * max_requests *BLKIF_MAX_SEGMENTS_PER_REQUEST +1 ) <0 )
The + 1 at the end is certainly not needed anymore after the doubling.
hw/xen_disk.c static void blk_alloc(struct XenDevice * · line 545
Quoted 5 lines
hw/xen_disk.c +2
-0+xen_be_printf (xendev,0 ,"xc_gnttab_set_max_grants failed: %s\n" , +strerror (errno)); }static int blk_init (struct XenDevice *xendev)
So I think I'll re-submit with the doubled values then. That's in any case better than not setting an upper limit at all on those older kernels.
Jan
Quoted 53 lines · Jan Beulich
Quoted 23 lines
Quoted 1 line
Quoted 1 line · Olaf Hering
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 6 lines · Jan Beulich
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On 14.05.12 at 12:26, Ian Campbell <[email protected]>
Quoted 1 line · wrote:
tools, blockers:
Adjustments needed for qdisk backend to work on non-pvops Linux.
Can you remind me what those are please.
Quoted 8 lines
"qemu/xendisk: set maximum number of grants to be used"
(http://lists.xen.org/archives/html/xen-devel/2012-05/msg00715.html).Unfortunately I didn't hear back from Olaf regarding the updated value that the supposed v2 of the patch (see the thread), which is at least partly due to him having further problems with the qdisk backend. Olaf - did you ever see gntdev allocation failures again after switching to the higher value?
Quoted 7 lines
I just did a successful installation of sles11sp2 guest on a xen-unstable host with changeset 25427:ad348c6575b8, and with the change below, and the second attempt I just started seems get through as well.
I'm sure I used this variant already two weeks ago, and the install still failed. Perhaps other changes made during the last two weeks make a difference.
That would be odd.
hw/xen_disk.c static void blk_alloc(struct XenDevice * · line 540
Quoted 12 lines
I will also doublecheck how it goes without this change.
Olaf
hw/xen_disk.c +2
-0@@ -536,6 +536,10 @@ static void blk_alloc(struct XenDevice *if (xen_mode !=XEN_EMULATE ) { batch_maps =1 ; } +if (xc_gnttab_set_max_grants (xendev->gnttabdev, +2 * max_requests *BLKIF_MAX_SEGMENTS_PER_REQUEST +1 ) <0 )The + 1 at the end is certainly not needed anymore after the doubling.
Quoted 4 lines
hw/xen_disk.c +2
-0+xen_be_printf (xendev,0 ,"xc_gnttab_set_max_grants failed: %s\n" , +strerror (errno)); }
Quoted 5 lines
hw/xen_disk.c static void blk_alloc(struct XenDevice * · line 545
Quoted 1 line
hw/xen_disk.c +0
-0static int blk_init (struct XenDevice *xendev)So I think I'll re-submit with the doubled values then. That's in any case better than not setting an upper limit at all on those older kernels.
At this point I would prefer that you defined a MAX_GRANT_REQS constant and added a comment to explain what is for, and why it is set to (2 * max_requests).
Quoted 9 lines · Olaf Hering
I just did a successful installation of sles11sp2 guest on a xen-unstable host with changeset 25427:ad348c6575b8, and with the change below, and the second attempt I just started seems get through as well.
I'm sure I used this variant already two weeks ago, and the install still failed. Perhaps other changes made during the last two weeks make a difference.
I will also doublecheck how it goes without this change.
Without such a change an installation fails already in the disk partitioning stage with IO errors in the guest.
With v3 of your patch installation works for me.
Olaf
Quoted 3 lines · Ian Campbell
* xl compatibility with xm:
* cpus=[2,3] to select specific mapping vcpu0-->pcpu2, vcpu1-->pcpu3 as xm does. (Dario Faggioli, patches posted and reviewed, will repost)
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.xen.org/xen-devel
Ian Campbell writes ("[Xen-devel] Xen 4.2 TODO / Release Plan"):
Quoted 2 lines
Plan for a 4.2 release:
http://lists.xen.org/archives/html/xen-devel/2012-03/msg00793.html
...
Quoted 7 lines
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:
* Safe fork vs. fd handling hooks. Involves API changes (Ian J, I think this was actually DONE a while back and I missed it)
This is indeed committed.
Quoted 5 lines
* libxl_wait_for_free_memory/libxl_wait_for_memory_target. Interface needs an overhaul, related to locking/serialization over domain create (deferred to 4.3). IanJ to add note about this interface being substandard but otherwise defer to 4.3.
I have yet to write such a note.
Quoted 2 lines
* libxl_*_path. Majority made internal, only configdir and lockdir remain public (used by xl). Good enough?
Yes. We should perhaps add a note saying that the lockdir path function should not be used by out-of-tree callers.
Quoted 4 lines
* Interfaces which may need to be async:
*libxl_domain_suspend. Probably need to move
xc_domain_saveinto a separate process, as per <[email protected]>. Likely need to do the same forxc_domain_restoretoo. (IanJ).
I am working on this.
Quoted 2 lines
* libxl_domain_create_{new,restore} -- IanJ has patches as part of event series, (DONE).
Yes.
Quoted 2 lines
*
libxl_domain_core_dump. Can take a dummyao_howand remain synchronous internally. (IanC, DONE)
Yes.
Quoted 5 lines
* libxl_device_{disk,nic,vkb,add,pci}_add (and remove?). Roger Pau Monné fixes disk as part of hotplug script series and adds infrastructure which should make the others trivial. (Roger, WIP)
Right.
Quoted 3 lines
*
libxl_cdrom_insert. Should be easy once disk_{add,remove} done, IanJ to look at (or doing so?).
This isn't on my proximate todo list yet.
Quoted 4 lines
* libxl_device_disk_local_{attach,detach}. Become internal as part of Stefano's domain 0 disk attach series (patches posted, another round required?)
I believe I am expecting a revised series from Stefano, yes.
Quoted 2 lines
*
libxl_fork-- IanJ's event series will remove all users of this. (DONE)
Yes.
Quoted 4 lines
* xl compatibility with xm:
* [BUG] cannot create an empty CD-ROM driver on HVM guest, reported by Fabio Fantoni in <[email protected]>
This needs my attention.
Quoted 3 lines
* does not automatically try to select a (set of) node(s) on which to create a VM and pin its vcpus there. (Dario Faggioli, patches posted)
This is still in progress somehow ?
Quoted 3 lines
* More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.
Good.
Quoted 2 lines
* xl to refuse to run if xend is running, Roger Pau Monné (patch posted, needs rebase)
Committed.
Quoted 3 lines
* Domain 0 block attach & general hotplug when using qdisk backend (need to start qemu as necessary etc) (Stefano S, patches posted, needs updates)
Is this not the same as the libxl_device_disk_local_{attach,detach} series you mention above ?
Quoted 2 lines
* Improved Hotplug script support (Roger Pau Monné, patches posted)
These are currently undergoing review/rework.
Quoted 2 lines
* Block script support -- follows on from hotplug script (Roger Pau Monn�)
Right.
Quoted 2 lines
*
xs.h->xenstore.h. Should do this for 4.2 rather than have distros carry their own patches. (Ian C, patch posted)
I will be applying this today I hope.
Quoted 4 lines
tools, nice to have:
* Initial xl support for Remus (memory checkpoint, blackholing) (Shriram, was waiting on libxl side of qemu upstream save/restore, now unblocked)
Yes.
Quoted 4 lines
* xl compatibility with xm:
* xl support for autospawning vncviewer (vncviewer=1 or otherwise) (Goncalo Gomes, new version of patch posted recently)
I think we are awaiting a reworked series from Goncalo.
Quoted 3 lines
* Directory usage in libxl (Bastian, as part of Debian packaging, likely to defer to 4.3 unless there is some big problem with packaging deviating from upstream)
I think this can wait.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · Ian Jackson
Quoted 2 lines
* libxl_*_path. Majority made internal, only configdir and lockdir remain public (used by xl). Good enough?
Yes. We should perhaps add a note saying that the lockdir path function should not be used by out-of-tree callers.
Or move lockdir into xl, it's only actually used there.
So is config_dir_path now I look at it.
Quoted 5 lines
Quoted 3 lines
*
libxl_cdrom_insert. Should be easy once disk_{add,remove} done, IanJ to look at (or doing so?).This isn't on my proximate todo list yet.
OK.
Quoted 5 lines
Quoted 3 lines
* does not automatically try to select a (set of) node(s) on which to create a VM and pin its vcpus there. (Dario Faggioli, patches posted)
This is still in progress somehow ?
RFC posted, awaiting another round IIRC.
Quoted 6 lines
Quoted 3 lines
* Domain 0 block attach & general hotplug when using qdisk backend (need to start qemu as necessary etc) (Stefano S, patches posted, needs updates)
Is this not the same as the libxl_device_disk_local_{attach,detach} series you mention above ?
Yes it is.
The first entry was under "make them async if necessary", which noted that this would be fixed by Stefano's series which was making them internal, which is this second entry.
Quoted 6 lines
Quoted 4 lines
* xl compatibility with xm:
* xl support for autospawning vncviewer (vncviewer=1 or otherwise) (Goncalo Gomes, new version of patch posted recently)I think we are awaiting a reworked series from Goncalo.
Yes.
Quoted 5 lines
Quoted 3 lines
* Directory usage in libxl (Bastian, as part of Debian packaging, likely to defer to 4.3 unless there is some big problem with packaging deviating from upstream)
I think this can wait.
Agreed.
Ian.
Quoted 5 lines · Ian Jackson
Quoted 4 lines
* xl compatibility with xm:
* [BUG] cannot create an empty CD-ROM driver on HVM guest, reported by Fabio Fantoni in <[email protected]>
Quoted 8 lines
This needs my attention.
Quoted 3 lines
* does not automatically try to select a (set of) node(s) on which to create a VM and pin its vcpus there. (Dario Faggioli, patches posted)
This is still in progress somehow ?
It definitely is. I've it almost ready but got distracted by some other stuff in the last days... I'll post something again asap.
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)