Xen Project 4.5 Release Notes: Difference between revisions
Lars.kurth (talk | contribs) |
Lars.kurth (talk | contribs) |
||
Line 33: | Line 33: | ||
= Build Requirements = |
= Build Requirements = |
||
The default installation prefix has been changed to <tt>/usr/local</tt>. Previously the default installation prefix was <tt>/usr</tt> To restore the previous behaviour, specify <tt>--prefix=/usr</tt> when running <tt>./configure</tt>, e.g.: |
|||
{{TODO|Similar to Xen_Project_4.4_Release_Notes}} |
|||
$ ./configure --prefix=/usr |
|||
If you choose to accept the new default then be sure to cleanup any residual bits of the old installation in the old prefix, especially libraries and tools which you might pick up by mistake. |
|||
Due to this change it may also now be necessary to run <tt>/sbin/ldconfig</tt> as root after installing Xen. |
|||
Note also that Xen now requires gcc v4.1 or greater. |
|||
= Other changes = |
= Other changes = |
Revision as of 14:24, 6 January 2015
Overview
xm/xend have been removed
To Do:
This section needs re-writing after XL_vs_Xend_Feature_Comparison is updated. |
In Xen 4.5, the XM toolstack has been removed and been replaced by XL. XL has been designed to be backwards compatible with existing XM domain configuration files and command line syntax. It is therefore expected that any existing configurations should work with XL with the following exceptions:
- Arbitrary embedded python is not supported. Therefore it will be necessary to remove any python code from your configuration files.
- Managed domains (e.g.
xm vm-create
,xm vm-start
etc) are not supported byxl
. Other toolstacks which support managed domains are the XAPI toolstack and Libvirt. xl
does not support thew!
notation to share disks between several DomU's- For a complete comparison see XL vs Xend Feature Comparison
The other notable difference is that xl
, unlike xend
, will not perform any host networking configuration for you. The xend
code to reconfigure on startup is extremely fragile, prone to bugs when either distro or Xen are upgraded and rather difficult to debug. Instead xl
takes the approach of deferring such network configuration to the distribution configuration tools which are usually well understood and documented. Therefore upon upgrading to xl
it is necessary to configure your host networking stack appropriately. Please see Network_Configuration_Examples_(Xen_4.1+) for more details on how to do this.
xl
is designed to be compatible with xm
, except for the cases listed above. If you find a situation where xl
seems to be incompatible, please file a bug report using the process described in Reporting_Bugs_against_Xen_Project.
Also see:
- Short video overview: XM to XL: A Short, But Necessary, Journey
xl Upgrade Checklist
- Configure your host networking using the configuration tools provided by your distribution. (See: Network_Configuration_Examples_(Xen_4.1+))
- Remove any python code from domU configuration files.
- Disable xend startup script (if testing on Xen 4.4 or lower)
- Use
xl
command instead ofxm
New Feature Highlights
Build Requirements
The default installation prefix has been changed to /usr/local. Previously the default installation prefix was /usr To restore the previous behaviour, specify --prefix=/usr when running ./configure, e.g.:
$ ./configure --prefix=/usr
If you choose to accept the new default then be sure to cleanup any residual bits of the old installation in the old prefix, especially libraries and tools which you might pick up by mistake.
Due to this change it may also now be necessary to run /sbin/ldconfig as root after installing Xen.
Note also that Xen now requires gcc v4.1 or greater.
Other changes