Skip to content

Applying Xen Patches

pearsonk edited this page Oct 6, 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 Your Patch

In the absence of a test program, you can validate the patch application from the source in a build tree.

  1. Clean the state for xen: MACHINE=xenclient-dom0 ./bb -c clean xen-4.3.2
  2. Run the patch queue: MACHINE=xenclient-dom0 ./bb -v -c apply_patchqueue xen-4.3.2
  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-4.3.2" in the OE build directory