Skip to contentSkip to conversation

Opinions on removing the old, legacy libvirt Xen driver

DISCUSSION Jim Fehlig 7 participants 8 messages Nov 18, 2016 – Nov 21, 2016

lore
Share & tools
lore

Jim Fehlig

author
#0 lore raw

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

Thanks for opinions and comments!

Regards,
Jim

[0] https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

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

#1 lore raw
Quoted 10 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev
Summit, but the list is certainly a better place to discuss such a topic. What
do folks think about finally removing the old, legacy, xend-based driver from
the libvirt sources?

As little as it is worth, I'd like to send my +1 to this.

Quoted 5 lines

As for downstreams, I doubt anyone is interested in running the last several
libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git
master. SUSE, which still supports Xen, has no interest in using a

Quoted 9 lines

new libvirt
on older (but still supported) SLES that uses the xm/xend toolstack. I struggle
to find a good reason to keep any of the old cruft under src/xen/. I do think we
should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it
is useful for converting old xm and sexpr config to libvirt domXML.

I totally agree with this analysis of yours.

And allow me to add that, for example, on Fedora 24, I have xen-4.6.4, which does not have xm/xend.

And yet it appear I can install libvirt-daemon-driver-xen-1.3.3.2-1.fc24.x86_64 which would be totally useless and, from a user perspective, very confusing.

So, again, +1.

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]
https://lists.xen.org/xen-devel

#2 lore raw
In reply to Jim Fehlig
Quoted 6 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

RIP.

It will make your life easier! All the code that Joao and Bob are doing is against libxl and I presume other folks are more interested in that.

Quoted 10 lines

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

Quoted 8 lines

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

/me nods.

Quoted 6 lines

Thanks for opinions and comments!

Regards,
Jim

Quoted 6 lines

[0] https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

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

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

#3 lore raw
In reply to Jim Fehlig
Quoted 25 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

Quoted 1 line

Thanks for opinions and comments!

FWIW I agree with your analysis.

Wei.

Quoted 10 lines

Regards,
Jim

[0] https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

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

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

#4 lore raw
In reply to Jim Fehlig
Quoted 23 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

Quoted 2 lines

Thanks for opinions and comments!

I'm not familiar with Xen to such detail, particularly with its history, but allow me to (hopefully) help you with the decision by saying that we dropped support for any QEmu older than 0.12.0 (released on December 2009). And by that I don't mean that we stopped fixing bugs for those, but that libvirt now *mandates* version 0.12.0 or newer. That is what is available in CentOS 6 and similar (or as Dan stated it "RHEL-6 era distros). For others like me, who don't know when the Xen releases were made, I found out (for you) that it should be March 2011 for 4.1 and September that year for 4.2. So I'm not even going to ask in which version xl/libxl was introduced. I think we're totally fine with that part being removed. But, please, take it as just an opinion from someone almost not touched by the Xen areas of the code.

Have a nice day,
Martin

Quoted 9 lines

Regards,
Jim

[0] https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

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

#5 lore raw
Quoted 8 lines · Martin Kletzander


I'm not familiar with Xen to such detail, particularly with its history,
but allow me to (hopefully) help you with the decision by saying that we
dropped support for any QEmu older than 0.12.0 (released on December 2009).  And by that I don't mean that we stopped fixing bugs for those,

Quoted 9 lines

but that libvirt now *mandates* version 0.12.0 or newer.  That is what
is available in CentOS 6 and similar (or as Dan stated it "RHEL-6 era distros).  For others like me, who don't know when the Xen releases were
made, I found out (for you) that it should be March 2011 for 4.1 and September that year for 4.2.  So I'm not even going to ask in which version xl/libxl was introduced.

FYI, xl was introduced in Xen 4.1:
https://wiki.xen.org/wiki/XL

Xen 4.1 was indeed released on 25th March 2011:
https://wiki.xen.org/wiki/Xen_4.1_Release_Notes

Xen 4.2 was released on 17 Sept _2012_:
https://wiki.xen.org/wiki/Xen_Project_Release_Features

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]
https://lists.xen.org/xen-devel

#6 lore raw
In reply to Jim Fehlig
Quoted 25 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

Quoted 7 lines

Thanks for opinions and comments!

Regards,
Jim

[0] https://wiki.xenproject.org/wiki/Xen_Project_Release_Features

For what it's worth, I totally agree with this proposal, as it will make it less confusing to identify what you actually need for Xen-based virtualization.

As an aside, I recently attempted to set up a Xen based system using libvirt on Fedora, and I was initially confused by the two drivers, and completely messed up my setup because of it. I think simply from a usability point of view, it makes a lot of sense to eliminate the old code and set up the libxl driver to be the "successor" of the old xen driver.

Signature · 6 lines
真実はいつも一つ!/ Always, there's only one truth!

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#7 lore raw
In reply to Jim Fehlig
Quoted 25 lines · Jim Fehlig

Hi All,

I briefly mentioned this at an evening event during the KVM Forum / Xen Dev Summit, but the list is certainly a better place to discuss such a topic. What do folks think about finally removing the old, legacy, xend-based driver from the libvirt sources?

The Xen community made xl/libxl the primary toolstack in Xen 4.1. In Xen 4.2, it was made the default toolstack. In Xen 4.5, xm/xend was completely removed from the Xen source tree. According to the Xen release support matrix [0], upstream maintenance of Xen 4.1-4.3 has been dropped for some time, including "long term" security support. Xen 4.4-4.5 no longer receive regular maintenance support, with security support ending in March for 4.4 and January 2018 for 4.5. In short, the fully maintained upstream Xen releases don't even contain xm/xend :-).

As for downstreams, I doubt anyone is interested in running the last several libvirt releases on an old Xen installition with xm/xend, let alone libvirt.git master. SUSE, which still supports Xen, has no interest in using a new libvirt on older (but still supported) SLES that uses the xm/xend toolstack. I struggle to find a good reason to keep any of the old cruft under src/xen/. I do think we should keep the xm/sexpr config parsing/formatting code src/xenconfig/ since it is useful for converting old xm and sexpr config to libvirt domXML.

Quoted 1 line

Thanks for opinions and comments!

As a point of reference, for the QEMU/KVM driver we took the decision to drop support for distros whose age is older than RHEL-6 (Nov 2010 release date). Xen 4.1 came out in early 2011 IIUC, so dropping support for Xen < 4.1 is a reasonable thing todo and consistent with what we've done for QEMU. So ACK to that from a project support POV.

Regards,
Daniel

Signature · 8 lines
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

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