Skip to contentSkip to conversation

Xen 4.5 development update

DISCUSSION [email protected] 15 participants 17 messages Jun 18, 2014 – Jun 27, 2014

lore
Share & tools
lore
#0 lore raw

Below is a summary of the projects / features being worked on for the 4.5 time frame. The tentative feature freeze is scheduled for September 10th, which is months away. With that in mind, I think it's time to take stock of the development, so we know whether to ask for more help or divert resources.

The "prognosis" is now the likelihood of completion in the 4.5 timeframe. Instead of values (0->100) it is now five states:

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

For items involving code hosted on the Xen.org site (including qemu-xen), that means a likelihood of having the feature code-complete and mostly working by the feature freeze. (It's OK if there are still bugs to be worked out.) For items in Linux, it would mean having items on track to make it into the kernel released just after the scheduled 4.5 time frame.

Not exactly sure what that is in terms of libvirt.

= Timeline =

We are planning on a 9-month release cycle. Based on that, below are our estimated dates:

* Feature Freeze: 10th September 2014
* First RC: 10th October
* Release: 10th December 2014

The RCs and release will of course depend on stability and bugs, and will therefore be fairly unpredictable. The feature freeze may be slipped for especially important features which are near completion.

= Prognosis =

The states are: none -> fair -> ok -> good -> done

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

= Open =

== ARM ==

* ARM - IOMMU support (good)
- Julien Grall

* ARM - Device assigment on ARM (good)
Xen parts done. Linux at risk
- Julien Grall

* ARM XEN_DOMCTL_memory_mapping hypercall for ARM (good)
- Arianna Avanzini

* ARM Interrupt latency reduction (no maintenance interrupts) (good)
- Stefano Stabellini

* ARM Xen UEFI booting on ARM (none)
Based on Daniel's multiboot2-EFI work
- Roy Franz

* ARM PSCI v0.2 (good)
- Parth Dixit

* ARM GICv3 support (good)
- Vijay Kilari

* ARM GICv2m support (none)
- Linaro (unknown)

* ARM VM save/restore/live migration (fair)
- Wei Huang

== x86 ==

* New migration. (good)
- Andrew Cooper & David Vrabel

* PVH - AMD hardware support. (fair)
Issues with FSBASE MSRs
- Mukesh Rathor

* Xen multiboot2-EFI support (fair)
Needed for SecureBoot
- Daniel Kiper

* Re-write of vHPET (fair)
Xen 4.5 blocker
- Don Slutz

* HT enabled, virtualization overhead is high (Xen 4.4) (none) kernbench demonstrated it
- Dario Faggioli

* IOMMU ABI for guests to map their DMA regions (fair)
- Malcolm Crossley

* dirty vram / IOMMU bug (fair)
- Zhang, Yang Z

* Convert tasklet to per-cpu tasklets (fair)
- Konrad Rzeszutek Wilk

* VMware backdoor (hypercall) (ok)
Needs to be split up and redone
- Don Slutz

* VPMU - 'perf' support in Xen (good)
- Boris Ostrovsky

* ioreq-server, aka secondary emulators (good)
Chase down XSM maintainer
- Paul Durrant

* Soft affinity for vcpus (was NUMA affinity for vcpus) (good)
- Dario Faggioli

* Cache QoS Monitoring - hypercalls (fair)
Just hypercalls - no toolstack changes.
- Dongxiao Xu and Shantong Kang

* HVM guest NUMA (none)
- Matt Wilson

* 1TB slow destruction (ok)
- Bob Liu

* extending mem_access support to PV domain (ok)
- Aravindh Puthiyaparambil (aravindp)

* Stability fix (good)
- Jan Beulich

== QEMU ==

* Rebase of QEMU 2.0 and SeaBIOS (fair)
- Ian Jackson

* Using qemu-upstream in a stubdomain (fair)
- Ian Jackson

* Intel IGD PCI GPU passthrough (ok)
Maintainers of QEMU don't like it. Want a different way.
- Chen, Tiejun

* AMD Radeon PCI GPU passthrough (none)
Focusing on Xen 4.2 and qemu-traditional
- Kelly Zytaruk

* Bigger PCI hole in QEMU (ok)
Needs to be rebased
- Don Slutz

== lib{xc,xl} and toolstack ==

* libxl/xl - xm compatibility mode for mem-max and mem-set; (ok)
- Daniel Kiper

* Rearrange and cleanup installation destination directories (/var -> var/lib/xen) (fair)
- Daniel Kiper

* libxl work - JSON to keep track of guest configs (ok)
- Wei Liu

* pvscsi should be targeted for 4.5, a prototype exists (fair)
- Olaf Hering

* xl list --long (and some related xl commands) have some bugs (none)
- Zhigang Wang

* PVH - Migration of PVH DomUs. (none)
Depends on migration2 code
- Roger Pau Monné

* PVH - Migration of guests from a PVH dom0 (none) Depends on migration2 code
- Roger Pau Monné

* xl does not handle migrate interruption gracefully (none)
If you start a localhost migrate, and press "Ctrl-C" in the middle, you get two hung domains
- Ian Jackson

* Remus in Xen (ok)

  -  Gui Jianfeng
  -  Yang Hongyang
  -  Dong, Eddie

* COLO in Xen (fair)

  -  Gui Jianfeng
  -  Yang Hongyang
  -  Dong, Eddie

== Linux ==

* Linux block multiqueue (fair)
- Arianna Avanzini

* Netback grant table manipulations (ok)
- Zoltan Kiss

* VPMU - 'perf' support in Linux (ok)
Depends on Xen patches
- Boris Ostrovsky

* vNUMA in Linux (ok)
- Elena Ufimtseva

* vsyscall in Linux (fair)
- Konrad Rzeszutek Wilk

* Linux pvops of Xen EFI hypercall support (good)
- Daniel Kiper

* Netback multiqueue (good)
- Wei Liu

* COLO Agent in Linux (fair)

  -  Gui Jianfeng
  -  Yang Hongyang
  -  Dong, Eddie

== FreeBSD ==

* PVH FreeBSD dom0 (ok)
FreeBSD 11 goal. Toolstack side done in Xen 4.5
- Roger Pau Monné

== Other OSes (MiniOS, QNX) ==

* PV drivers for automotive kernels (fair)
- Artem Mygaiev

== GRUB2 ==

* GRUB2 multiboot2 (fair)
- Daniel Kiper

== OSSTEST ==

* OSSTest: libvirt (good)
- Ian Campbell

== Deferred to Xen 4.6 ==

* Default to credit2 (none)
cpu pinning, numa affinity and cpu reservation
- George Dunlap

* "Short" grant copy (just header) of packets. (none)
- Zoltan Kiss

* vNUMA in Xen (ok)
- Elena Ufimtseva

* cpuid leveling (none)
http://xenbits.xen.org/people/andrewcoop/feature-levelling/feature-levelling-D.pdf
- Andrew Cooper

* live migration knobs, there is no suitable code yet, just ideas (none)

    http://lists.xenproject.org/archives/html/xen-devel/2014-03/msg00785.html

- Olaf Hering

* Further tmem cleanups/fixes (16TB etc) (fair)
- Bob Liu

== Up for grabs ==

* PoD fixes
if you boot with memory <= maxmem we have a size estimation bug

* TLB flushing without locks in Xen

* xl does not support specifying virtual function for passthrough device
http://bugs.xenproject.org/xen/bug/22

* PCI hole resize support hvmloader/qemu-traditional/qemu-upstream with PCI/GPU passthrough
http://bugs.xenproject.org/xen/bug/28

* libx{c,l} error handling cleanup

* Adding missing 'xend' features in libxl

* xl list -l on a dom0-only system

* xl list -l doesn't contain tty console port

* xl: passing more defaults in configuration in xl.conf
There are a number of options for which it might be useful to pass a default in xl.conf. For example, if we could have a default "backend" parameter for vifs, then it would be easy to switch back and forth between a backend in a driver domain and a backend in dom0.

* PVH - PVH working with shadow.
Based on Tim's work

* PVH - PCI passthrough for DomU.

* AMD performance regressions

* Performance due to hypercall preemption. More preemptions - slower. (none)

== Completed ==

* alternative_asm in Xen (done)
- Feng Wu

* SMAP (done)
- Feng Wu

* Re-write of HPET (done)
- Don Slutz

* vAPIC in PVHVM guests (done)
- Boris Ostrovsky

* libvirt and xl discard support, so that libvirt can start using it (done)
- Olaf Hering

* Xen PVH dom0 (done)
- Mukesh Rathor

* Linux PVH dom0 (done)
- Mukesh Rathor

* OSSTest: upstream QEMU (done)
- Ian Campbell

* amd_ucode cleanups, verify patch size(enhancement) (mostly in master except one patch)

* Data breakpoint Extension support (new-feat) (in master)

* Feature masking MSR support (enhancement) (in master)

* Support BRCM TruManage chip (Serial over LAN support) (new-feat) (in master)

* fix vmce_amd* functions, unify mce_amd mcheck initialization (fixes/cleanups)
- Aravind and Suravee

* NUMA memory scrubbing (done)
- Konrad Rzeszutek Wilk

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

#1 lore raw

Hi Konrad,

Quoted 6 lines · On 18/06/14 21:22, [email protected] wrote:

= Open =

== ARM ==

* ARM - IOMMU support (good)
- Julien Grall

This has been fully pushed upstream a week ago.

Quoted 2 lines

* ARM - Device assigment on ARM (good)
Xen parts done. Linux at risk

I just sent an early RFC for the hypervisor side.

Regards,

Signature · 1 line
Julien Grall
#2 lore raw
In reply to [email protected]
Quoted 10 lines · On 18/06/2014 21:22, [email protected] wrote:

<snip>
The states are: none -> fair -> ok -> good -> done

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

Quoted 6 lines

= Open =
<snip>
== x86 ==

* New migration. (good)
- Andrew Cooper & David Vrabel

This is still very much "fair" given your definition above. The libxl work is still at the very start of planning without any real code yet, and there are other areas still not started such as remus and tmem. The libxc stuff is still RFC with TODOs remaining.

Quoted 5 lines

<snip>

* ioreq-server, aka secondary emulators (good)
Chase down XSM maintainer
- Paul Durrant

This is fully committed as far as I am aware, so is done.

~Andrew

#3 lore raw
Quoted 46 lines

-----Original Message-----
From: Andrew Cooper [mailto:[email protected]] On Behalf Of Andrew Cooper
Sent: 18 June 2014 21:48
To: [email protected]; [email protected]; [email protected]; Stefano Stabellini; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; David Vrabel; [email protected]; [email protected]; [email protected]; Dario Faggioli; Malcolm Crossley; [email protected]; [email protected]; Paul Durrant; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; Ian Jackson; [email protected]; [email protected]; Wei Liu; [email protected]; [email protected]; Roger Pau Monne; [email protected]; Eddie Dong; Zoltan Kiss; [email protected]; [email protected]; Ian Campbell; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: Xen 4.5 development update

Quoted 10 lines · On 18/06/2014 21:22, [email protected] wrote:

<snip>
The states are: none -> fair -> ok -> good -> done

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

Quoted 6 lines

= Open =
<snip>
== x86 ==

* New migration. (good)
- Andrew Cooper & David Vrabel

This is still very much "fair" given your definition above. The libxl work is still at the very start of planning without any real code yet, and there are other areas still not started such as remus and tmem. The libxc stuff is still RFC with TODOs remaining.

Quoted 7 lines
Quoted 5 lines

<snip>

* ioreq-server, aka secondary emulators (good)
Chase down XSM maintainer
- Paul Durrant

This is fully committed as far as I am aware, so is done.

Yes, it is. I do have a follow-up patch for a PCI hotplug controller that's not quite ready to go, but that's only loosely related.

Paul

Quoted 2 lines

~Andrew

#4 lore raw
In reply to [email protected]
Quoted 11 lines

The "prognosis" is now the likelihood of completion in the 4.5 timeframe. Instead of values (0->100) it is now five states:

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

* extending mem_access support to PV domain (ok)
- Aravindh Puthiyaparambil (aravindp)

This is in "fair" state given your definition above.

Thanks,
Aravindh

#5 lore raw
In reply to [email protected]
Quoted 3 lines

* ARM Xen UEFI booting on ARM (none)
Based on Daniel's multiboot2-EFI work
- Roy Franz

This is 'fair'. I have working prototype code and am preparing an RFC patchset.

Roy

#9 lore raw
In reply to [email protected]
Quoted 10 lines · On 06/18/14 16:22, [email protected] wrote:

Below is a summary of the projects / features being worked on for the 4.5 time frame. The tentative feature freeze is scheduled for September 10th, which is months away. With that in mind, I think it's time to take stock of the development, so we know whether to ask for more help or divert resources.

* Re-write of vHPET (fair)
Xen 4.5 blocker
- Don Slutz

I have no idea what this is if it is not the item below.

Quoted 4 lines

* VMware backdoor (hypercall) (ok)
Needs to be split up and redone
- Don Slutz

No change.

Quoted 4 lines

* Bigger PCI hole in QEMU (ok)
Needs to be rebased
- Don Slutz

Getting close to done for QEMU 2.1

Quoted 2 lines

* Re-write of HPET (done)
- Don Slutz

This is referring to vHPET changes as far as I know:

22d73d1 |Don Slutz| hvm/hpet: Detect comparator values in the past

etc.

-Don Slutz

#10 lore raw
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Don Slutz <[email protected]> 06/19/14 3:24 PM >>>

Quoted 3 lines · On 06/18/14 16:22, [email protected] wrote:

* Re-write of vHPET (fair)
Xen 4.5 blocker
- Don Slutz

I have no idea what this is if it is not the item below.

I think this and ...

Quoted 6 lines
Quoted 2 lines

* Re-write of HPET (done)
- Don Slutz

This is referring to vHPET changes as far as I know:

22d73d1 |Don Slutz| hvm/hpet: Detect comparator values in the past

... this got mixed up, much like also during the hackathon session. vHPET is done, HPET is in work (backburner afair) by Andrew.

Jan

#11 lore raw
Quoted 10 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Don Slutz <[email protected]> 06/19/14 3:24 PM >>>

Quoted 3 lines · On 06/18/14 16:22, [email protected] wrote:

* Re-write of vHPET (fair)
Xen 4.5 blocker
- Don Slutz

I have no idea what this is if it is not the item below.

I think this and ...

Quoted 2 lines
Quoted 2 lines

* Re-write of HPET (done)
- Don Slutz

Quoted 8 lines
Quoted 3 lines

This is referring to vHPET changes as far as I know:

22d73d1 |Don Slutz| hvm/hpet: Detect comparator values in the past

... this got mixed up, much like also during the hackathon session. vHPET is done, HPET is in work (backburner afair) by Andrew.

Jan

Ah yes, how about:

Xen HPET interrupt fixes (fair, backburner behind migration v2)
- Andrew Cooper

~Andrew

#13 lore raw
In reply to [email protected]
Quoted 9 lines · On mer, 2014-06-18 at 16:22 -0400, [email protected] wrote:

The states are: none -> fair -> ok -> good -> done

none - nothing yet
fair - still working on it, patches are prototypes or RFC
ok - patches posted, acting on review
good - some last minute pieces
done - all done, might have bugs

Quoted 8 lines

= Open =

== x86 ==

* HT enabled, virtualization overhead is high (Xen 4.4) (none) kernbench demonstrated it
- Dario Faggioli

Well, I'm looking into it, tracing, etc... 'none' is certainly accurate in term of patches posted, though.

Quoted 3 lines

* Soft affinity for vcpus (was NUMA affinity for vcpus) (good)
- Dario Faggioli

Correct.

Quoted 3 lines

* HVM guest NUMA (none)
- Matt Wilson

Sadly true.

Regards,
Dario

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

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

#15 lore raw
In reply to [email protected]

Culling CC's somewhat...

Quoted 8 lines · On Wed, 2014-06-18 at 16:22 -0400, [email protected] wrote:

= Timeline =

We are planning on a 9-month release cycle. Based on that, below are our estimated dates:

* Feature Freeze: 10th September 2014
* First RC: 10th October
* Release: 10th December 2014

FYI I'm on vacation Friday 1 August and from 6-18 August and at conferences 18-31 August, 15-19 September and 13-17 October.

So it mostly lines up OK :-P

Ian.

#16 lore raw
Quoted 8 lines · Ian Campbell

Culling CC's somewhat...

Quoted 5 lines · On Wed, 2014-06-18 at 16:22 -0400, [email protected] wrote:

= Timeline =

We are planning on a 9-month release cycle. Based on that, below are our estimated dates:

Quoted 8 lines
Quoted 3 lines

* Feature Freeze: 10th September 2014
* First RC: 10th October
* Release: 10th December 2014

FYI I'm on vacation Friday 1 August and from 6-18 August and at conferences 18-31 August, 15-19 September and 13-17 October.

So it mostly lines up OK :-P

:-)

Thanks for the update!

Quoted 3 lines

Ian.