Skip to content

Applying Xen Patches

pearsonk edited this page Oct 7, 2014 · 9 revisions

Xen patches are applied using the xen-common-pq repository

Patch files are stored in the "master" directory. Additionally, the filename for patches to be applied are added to the file "master/series" in an appropriate location.

Validating the Patch

In the absence of a test program, you can validate the patch application from the source in a build tree. (Replace version with appropriate value)

  1. Clean the state for xen: MACHINE=xenclient-dom0 ./bb -c clean xen-<version>
  2. Run the patch queue: MACHINE=xenclient-dom0 ./bb -v -c apply_patchqueue xen-<version>
  3. Validate the patch: You can either trust that the patch applied from the output above, or validate the source at tmp-eglibc/work/core2-oe-linux/xen-4.3.2-r0/xen-<version> in the OE build directory

Verifying the Patch

The above does not verify that the patch works as intended and does not break anything. Please test accordingly!