Skip to contentSkip to conversation

Xen 4.2 Release Plan / TODO

DISCUSSION Ian Campbell 6 participants 12 messages Jun 26, 2012 – Jun 28, 2012

lore
Share & tools
lore
#0 lore raw

A day late due to the Xen.org docs day yesterday. Thanks to all who took part -- next one is July 30!

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
When It's Ready -- First release candidate
Weekly -- RCN+1 until release

The updated TODO list follows.

If you are aware of any bugs which must/should be fixed for 4.2 then please reply to this thread (otherwise I may not remember to pick them up next week)

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.

hypervisor, blockers:

* None

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:

* Interfaces which may need to be async:

* libxl_domain_suspend. Move xc_domain_save/restore into a separate process (Ian Jackson, patches reviewed and reposted).

* libxl_device_{disk,nic,vkb,add,pci}_add (and remove). (Roger Pau Monné, patches posted for disk & nic, vkb trivial, not looked at pci yet)

* LIBXL_NIC_TYPE enum names are confusing. (Roger, included in calling hotplug scripts series)

* use libxl_cpumap for b_info.avail_cpus instead of an int, this allows setting more than 31 CPUS (Yang Z Zhang, patches posted, awaiting a repost)

* use an enum for VGA interface type (e.g. Cirrus, StdVGA). Allows for QXL support (in 4.3). (Zhou Peng, awaiting repost)

* xl compatibility with xm:

* [BUG] cannot create an empty CD-ROM drive on HVM guest, reported by Fabio Fantoni in <[email protected]>

* does not automatically try to select a (set of) node(s) on which to create a VM and pin its vcpus there. (Dario Faggioli, posted and reviewed, awaiting a repost)

* [CHECK] More formally deprecate xm/xend. Manpage patches already in tree. Needs release noting and communication around -rc1 to remind people to test xl.

* calling hotplug scripts from xl (Linux and NetBSD) (Roger Pau Monné, posted, awaiting review)

* Block script support -- follows on from hotplug script (Roger Pau Monné, "just be a matter of removing an "if"")

* Adjustments needed for qdisk backend to work on non-pvops Linux. "qemu/xendisk: set maximum number of grants to be used" (Jan Beulich, patch committed to qemu-xen-upstream, pending for qemu-xen-traditional)

* [CHECK] Confirm that migration from Xen 4.1 -> 4.2 works.

* [BUG] LIBLEAFDIR et al and libfsimage do the wrong thing on modern Debian/Ubuntu w/ multiarch capabilities (Matt Wilson, patch posted)

* [BUG] stub domains broken. HVM_PARAM_DM_DOMAIN needs to reset HVM_PARAM_BUFIOREQ_EVTCHN (Ian Campbell, Anthony Perard)

hypervisor, nice to have:

* PoD performance improvements (George Dunlap, and reviewed awaiting repost)

tools, nice to have:

* xl compatibility with xm:

* Accept "xl cr /dev/null param=value" to provide all config on the command line (W. Michael Petullo, patch posted)

* libxl stable API

* libxl_wait_for_free_memory/libxl_wait_for_memory_target. Interface needs an overhaul, related to locking/serialization over domain create. IanJ to add note about this interface being substandard but otherwise defer to 4.3.

* Interfaces which may need to be async:

* libxl_cdrom_insert. Should be easy once disk_{add,remove} done. This is basically a helper function and its functionality can be implemented in terms of the libxl_disk_* interfaces. If this is not done in time we should document as a substandard interface which is subject to change post 4.2.

* xl.cfg(5) documentation patch for qemu-upstream videoram/videomem support:
http://lists.xen.org/archives/html/xen-devel/2012-05/msg00250.html
qemu-upstream doesn't support specifying videomem size for the HVM guest cirrus/stdvga. (but this works with qemu-xen-traditional). (Pasi Kärkkäinen)

* [BUG] long stop during the guest boot process with qcow image, reported by Intel: http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1821

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

* Load blktap driver from xencommons initscript if available, thread at:
<db614e92faf743e20b3f.1337096977@kodo2>. To be fixed more properly in 4.3. (Patch posted, discussion, plan to take simple xencommons patch for 4.2 and revist for 4.3)

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

#1 lore raw
Quoted 2 lines · Ian Campbell

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

This may be a problem with the guest, rather than a problem with Xen or the toolstack. I tested on a domU running a 3.2.20-based Linux kernel. The domU kernel didn't automatically enable the vCPUs after calling "xl vcpu-set" to increase the allocation.

# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     1     -b---- 6617.6
# xl vcpu-set 2 4
# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     1     -b---- 6617.7

But when I hotplugged the CPUs on the domU side with

for online in /sys/devices/system/cpu/cpu*/online; do
echo 1 > $online
done

Now we see:

# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     4     -b---- 6617.8

I've added this as a comment to the bugzilla.

Matt

#2 lore raw
Quoted 23 lines · Matt Wilson
Quoted 2 lines · Ian Campbell

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

This may be a problem with the guest, rather than a problem with Xen or the toolstack. I tested on a domU running a 3.2.20-based Linux kernel. The domU kernel didn't automatically enable the vCPUs after calling "xl vcpu-set" to increase the allocation.

# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     1     -b---- 6617.6
# xl vcpu-set 2 4
# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     1     -b---- 6617.7

But when I hotplugged the CPUs on the domU side with

for online in /sys/devices/system/cpu/cpu*/online; do
echo 1 > $online
done

Quoted 7 lines

Now we see:

# xl list 2
Name                                        ID   Mem VCPUs      State Time(s)
test                                         2 15360     4     -b---- 6617.8

I've added this as a comment to the bugzilla.

That is a generic bug - its a race in the generic code where the cpuX directory is created; then udev kicks off and tries to echo 1 > cpuX/online (but online hasn't been created yet); the cpu-hotplug code creates 'online' directory.

I've asked Greg KH about it, and here is his take:
https://lkml.org/lkml/2012/4/30/198

But I never got to prep a patch. If somebody gets to do it before me, I owe them a beer!

#3 lore raw
Quoted 18 lines · Konrad Rzeszutek Wilk
Quoted 11 lines · Matt Wilson
Quoted 2 lines · Ian Campbell

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

This may be a problem with the guest, rather than a problem with Xen or the toolstack. I tested on a domU running a 3.2.20-based Linux kernel. The domU kernel didn't automatically enable the vCPUs after calling "xl vcpu-set" to increase the allocation.
[...]

I've added this as a comment to the bugzilla.

That is a generic bug - its a race in the generic code where the cpuX directory is created; then udev kicks off and tries to echo 1 > cpuX/online (but online hasn't been created yet); the cpu-hotplug code creates 'online' directory.

Quoted 5 lines

I've asked Greg KH about it, and here is his take:
https://lkml.org/lkml/2012/4/30/198

But I never got to prep a patch. If somebody gets to do it before me, I owe them a beer!

My problem was that I didn't even have a udev rule to auto-online hotplugged CPUs. Everything works as expected after adding the rule suggested on the wiki: http://wiki.xen.org/wiki/Paravirt_Linux_CPU_Hotplug

I'm thinking that the bug report is just this well hashed out problem. For historical reference, here's the thread discussing the behavior change in pv-ops kernels:
http://lists.xen.org/archives/html/xen-devel/2010-05/msg00516.html

Matt

#4 lore raw
Quoted 25 lines · Matt Wilson
Quoted 18 lines · Konrad Rzeszutek Wilk
Quoted 11 lines · Matt Wilson
Quoted 2 lines · Ian Campbell

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

This may be a problem with the guest, rather than a problem with Xen or the toolstack. I tested on a domU running a 3.2.20-based Linux kernel. The domU kernel didn't automatically enable the vCPUs after calling "xl vcpu-set" to increase the allocation.
[...]

I've added this as a comment to the bugzilla.

That is a generic bug - its a race in the generic code where the cpuX directory is created; then udev kicks off and tries to echo 1 > cpuX/online (but online hasn't been created yet); the cpu-hotplug code creates 'online' directory.

Quoted 5 lines

I've asked Greg KH about it, and here is his take:
https://lkml.org/lkml/2012/4/30/198

But I never got to prep a patch. If somebody gets to do it before me, I owe them a beer!

Quoted 8 lines

My problem was that I didn't even have a udev rule to auto-online hotplugged CPUs. Everything works as expected after adding the rule suggested on the wiki: http://wiki.xen.org/wiki/Paravirt_Linux_CPU_Hotplug

I'm thinking that the bug report is just this well hashed out problem. For historical reference, here's the thread discussing the behavior change in pv-ops kernels:
http://lists.xen.org/archives/html/xen-devel/2010-05/msg00516.html

I've added a link to that thread to the wiki page.

#5 lore raw
In reply to Matt Wilson
Quoted 39 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Matt Wilson
Sent: Wednesday, June 27, 2012 6:57 AM
To: Konrad Rzeszutek Wilk
Cc: Ian Campbell; xen-devel
Subject: Re: [Xen-devel] Xen 4.2 Release Plan / TODO

Quoted 11 lines · Konrad Rzeszutek Wilk
Quoted 10 lines · Matt Wilson
Quoted 2 lines · Ian Campbell

* [BUG] vcpu-set doesn't take effect on guest, reported by Intel:
http://bugzilla.xen.org/bugzilla/show_bug.cgi?id=1822

This may be a problem with the guest, rather than a problem with Xen or the toolstack. I tested on a domU running a 3.2.20-based Linux kernel. The domU kernel didn't automatically enable the vCPUs after calling "xl vcpu-set" to increase the allocation.
[...]

Quoted 5 lines
Quoted 1 line

I've added this as a comment to the bugzilla.

That is a generic bug - its a race in the generic code where the cpuX directory is created; then udev kicks off and tries to echo 1 > cpuX/online (but online hasn't been created yet); the

cpu-hotplug

Quoted 7 lines

code creates 'online' directory.

I've asked Greg KH about it, and here is his take:
https://lkml.org/lkml/2012/4/30/198

But I never got to prep a patch. If somebody gets to do it before me, I owe them a beer!

My problem was that I didn't even have a udev rule to auto-online hotplugged CPUs. Everything works as expected after adding the rule suggested on the wiki:
http://wiki.xen.org/wiki/Paravirt_Linux_CPU_Hotplug

Quoted 5 lines

I'm thinking that the bug report is just this well hashed out problem. For historical reference, here's the thread discussing the behavior change in pv-ops kernels:
http://lists.xen.org/archives/html/xen-devel/2010-05/msg00516.html

Hi Matt, thanks for the useful status.
According to my testing on xen-unstable(#25517) with linux3.4.3 dom0 and RHEL6.2 hvm guest, 'xl vcpu-set' can increase the number of the vCPU for guest. But it can't decrease the number of vCPU. After trying to decrease the number of vCPU, the number of the onlined CPU in /sys/devices/system/cpu/ or /proc/cpuinfo is not changed.

But I can do "echo 0 > /sys/devices/system/cpu/cpu3/online" to offline the CPU3 in the guest even if I didn't use any command line like 'xl vcpu-set'.

Also, I can do "echo 1 > /sys/devices/LNXSYSTM:00/LNXSYBUS:00/LNXCPU:03/eject" to remove CPU3 in the guest.

Note that 'CPU3' can be any CPU except for CPU0.

Also add a comment in the bugzilla.

#6 lore raw
In reply to Ian Campbell
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Ian Campbell

hypervisor, blockers:

* None

We should evaluate whether getting the vMCE interface into a sane state ought to be treated as a blocker (see Jinsong's recent posting about their design work). Otherwise we'll run into yet another round of compatibility issues when moving on to 4.3, particularly with respect to migration.

Jan

#7 lore raw
Quoted 10 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Ian Campbell

hypervisor, blockers:

* None

We should evaluate whether getting the vMCE interface into a sane state ought to be treated as a blocker (see Jinsong's recent posting about their design work). Otherwise we'll run into yet another round of compatibility issues when moving on to 4.3, particularly with respect to migration.

Isn't this way to late for 4.2 if it's only at the design stage right now?

Does vMCE exist in Xen unstable today? Did it exist in 4.1?

I think we'll need to just suck it up and accept that migration needs handling for 4.3.

Ian.

#8 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 5 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Ian Campbell

hypervisor, blockers:

* None

Quoted 8 lines
Quoted 5 lines

We should evaluate whether getting the vMCE interface into a sane state ought to be treated as a blocker (see Jinsong's recent posting about their design work). Otherwise we'll run into yet another round of compatibility issues when moving on to 4.3, particularly with respect to migration.

Isn't this way to late for 4.2 if it's only at the design stage right now?

That's why I'm bringing this up.

Quoted 1 line

Does vMCE exist in Xen unstable today? Did it exist in 4.1?

Yes. And what information get migrated is different between 4.1 and 4.2 already.

Quoted 2 lines

I think we'll need to just suck it up and accept that migration needs handling for 4.3.

I was hoping to have at least the HVM save records in 4.2 in a state suitable for 4.3.

Jan

#9 lore raw
Quoted 20 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 5 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Ian Campbell

hypervisor, blockers:

* None

Quoted 8 lines
Quoted 5 lines

We should evaluate whether getting the vMCE interface into a sane state ought to be treated as a blocker (see Jinsong's recent posting about their design work). Otherwise we'll run into yet another round of compatibility issues when moving on to 4.3, particularly with respect to migration.

Isn't this way to late for 4.2 if it's only at the design stage right now?

That's why I'm bringing this up.

Quoted 1 line

Does vMCE exist in Xen unstable today? Did it exist in 4.1?

Quoted 8 lines

Yes. And what information get migrated is different between 4.1 and 4.2 already.

Quoted 2 lines

I think we'll need to just suck it up and accept that migration needs handling for 4.3.

I was hoping to have at least the HVM save records in 4.2 in a state suitable for 4.3.

That might be reasonable, I guess it depends what that looks like and how much real code impact as opposed to just save record it has?

Ian.

#10 lore raw
Quoted 25 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 23 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 5 lines · Jan Beulich
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Ian Campbell

hypervisor, blockers:

* None

Quoted 8 lines
Quoted 5 lines

We should evaluate whether getting the vMCE interface into a sane state ought to be treated as a blocker (see Jinsong's recent posting about their design work). Otherwise we'll run into yet another round of compatibility issues when moving on to 4.3, particularly with respect to migration.

Isn't this way to late for 4.2 if it's only at the design stage right now?

That's why I'm bringing this up.

Quoted 1 line

Does vMCE exist in Xen unstable today? Did it exist in 4.1?

Yes. And what information get migrated is different between 4.1 and 4.2 already.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I think we'll need to just suck it up and accept that migration needs handling for 4.3.

I was hoping to have at least the HVM save records in 4.2 in a state suitable for 4.3.

That might be reasonable, I guess it depends what that looks like and how much real code impact as opposed to just save record it has?

Certainly. Minimally, code handling the expected to be extended save record would need to be added though.

In any case, I'd appreciate if you could add this at least to the nice-to-have section.

Jan

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

hypervisor, nice to have:

* PoD performance improvements (George Dunlap, and reviewed awaiting repost)

Reposted, and applied: DONE.

Tim.