Xen 4.5 RC1 test instructions: Difference between revisions
No edit summary |
|||
Line 32: | Line 32: | ||
The stubdomains will not build. Fix is in staging (and will make RC2) or [[http://lists.xen.org/archives/html/xen-devel/2014-10/msg02925.html stubdom/Makefile should use QEMU_TRADITIONAL_LOC]] |
The stubdomains will not build. Fix is in staging (and will make RC2) or [[http://lists.xen.org/archives/html/xen-devel/2014-10/msg02925.html stubdom/Makefile should use QEMU_TRADITIONAL_LOC]] |
||
== Building against libxl (outside code) == |
|||
If you are building against libxl for any APIs before Xen 4.5 you will encounter building errors. |
|||
Patch for [[http://lists.xen.org/archives/html/xen-devel/2014-10/msg02022.html this issue] will be in RC2. |
|||
== Migrating large Windows guests can cause WMI service to hang == |
|||
Patch is in 'staging' and will be in RC2. |
|||
== pygrub parsing grub1 problems == |
|||
pygrub (Python code) has problems parsing grub.cfg file and hence cannot boot PV guests. |
|||
= Test instructions = |
= Test instructions = |
Revision as of 17:10, 24 October 2014
What needs to be tested
General things:
- Making sure that Xen 4.5 compiles and installs properly on different software configurations; particularly on distros
- Making sure that Xen 4.5, along with appropriately up-to-date kernels, work on different hardware.
For more ideas about what to test, please see Testing Xen.
Installing
Getting RC1
- xen: with a recent enough
git
(>= 1.7.8.2) just pull from the proper tag (4.5.0-rc1
) from the main repo directly:
git clone -b 4.5.0-rc1 git://xenbits.xen.org/xen.git
With an older git
version (and/or if that does not work, e.g., complaining with a message like this: Remote branch 4.5.0-rc1 not found in upstream origin, using HEAD instead
), do the following:
git clone git://xenbits.xen.org/xen.git ; cd xen ; git checkout 4.5.0-rc1
- tarball: here it is a 4.5.0 RC1 tarball (and its signature)
- RPM Packages: there is a temporary build of 4.5.0-RC1 RPMs, for Fedora 21 (thanks to Michael Young for doing this): XYZ
Building
Instructions are available for building Xen on Linux, NetBSD, and FreeBSD
Known issues
Systemd integration
Affects CentOS7, SLES12, Fedora Core 21 and Debian Jessie. Xen source contains systemd files that can be used to configure the various run-time services. In the past the distributions would carry their own version of it - but now we host them. This is not yet complete - [patches] for this are being worked on for RC2.
Stubdomains build issues
The stubdomains will not build. Fix is in staging (and will make RC2) or [stubdom/Makefile should use QEMU_TRADITIONAL_LOC]
Building against libxl (outside code)
If you are building against libxl for any APIs before Xen 4.5 you will encounter building errors. Patch for [this issue will be in RC2.
Migrating large Windows guests can cause WMI service to hang
Patch is in 'staging' and will be in RC2.
pygrub parsing grub1 problems
pygrub (Python code) has problems parsing grub.cfg file and hence cannot boot PV guests.
Test instructions
General
- Remove any old versions of Xen toolstack and userspace binaries (including
qemu
). - Download and install the most recent Xen 4.5 RC, as described above. Make sure to check the
README
for changes in required development libraries and procedures. Some particular things to note:- Since Xen 4.4 the default installation path has changed from
/usr
to/usr/local
. Take extra care when removing any old versions to allow for this.
- Since Xen 4.4 the default installation path has changed from
Once you have Xen 4.5 RC installed check that you can install a guest etc and use it in the ways which you normally would, i.e. that your existing guest configurations, scripts etc still work.
In particular if you were using the (deprecated) xm/XEND toolstack it is now REMOVED- hence please do try your normal use cases with the XL toolstack. The XL page has some information on the differences between XEND and XL.
Specific RC1 things
None at this time.
Specific ARM Test Instructions
Follow Xen_ARMv7_with_Virtualization_Extensions http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions
Specific x86 Test Instructions
PVH
Xen 4.4 added support to run certain PV guests in PVH mode. This requires the operating system to support a subset of PV ABI, as such only two exist:
- Linux 3.18-rc1 and later (The previous versions of Linux had an ABI violation so they do not work),
- FreeBSD guest wiki.
- FreeBSD initial domain support out of Roger's branch (based on stable/10 snapshot).
In Xen 4.5 we also added the support to run those guests as the initial domain (dom0). Unfortunately the work to make this work on AMD did not make, so it only works on Intel. To use this an extra parameter on Xen command line is required: dom0pvh=1.
Fedora
If you are using Fedora, you can install the RPMs mentioned above and use this test-case:
EFI
Xen 4.3 and later can be built as EFI binaries. Xen 4.5 can be built as an EFI under ARM.
Instruction on how to build Xen as EFI and boot under it can be found here.
libvirt
libvirt is usually shipped by the distro. You would need to use libvirt-daemon-driver-xen to manage your Xen instances. If you are building from scratch, follow [Libvirt compiling HOWTO]
For instructions on how to install guests, please visit: Guest install using libvirt
Reporting Bugs (& Issues)
- Use Freenode IRC channel #xentest to discuss questions interactively
- Report any bugs / missing functionality / unexpected results.
- Please put [TestDay] into the subject line
- Also make sure you specify the RC number you are using
- Make sure to follow the guidelines on Reporting Bugs against Xen.
Reporting success
We would love it if you could report successes by e-mailing xen-devel@lists.xen.org
, preferably including:
- Hardware: Please at least include the processor manufacturer (Intel/AMD). Other helpful information might include specific processor models, amount of memory, number of cores, and so on
- Software: If you're using a distro, the distro name and version would be the most helpful. Other helpful information might include the kernel that you're running, or other virtualization-related software you're using (e.g., libvirt, xen-tools, drbd, &c).
- Guest operating systems: If running a Linux version, please specify whether you ran it in PV or HVM mode.
- Functionality tested: High-level would include toolstacks, and major functionality (e.g., suspend/resume, migration, pass-through, stubdomains, &c)
The following template might be helpful: should you use Xen 4.5.0-RC1 for testing, please make sure you state that information!
Subject: [TESTDAY] Test report * Hardware: * Software: * Guest operating systems: * Functionality tested: * Comments:
For example:
Subject: [TESTDAY] Test report * Hardware: Dell 390's (Intel, dual-core) x15 HP (AMD, quad-core) x5 * Software: Ubuntu 10.10,11.10 Fedora 17 * Guest operating systems: Windows 8 Ubuntu 12.10,11.10 (HVM) Fedora 17 (PV) * Functionality tested: xl suspend/resume pygrub * Comments: Window 8 booting seemed a little slower than normal. Other than that, great work!