-
Notifications
You must be signed in to change notification settings - Fork 39
Applying Xen Patches
Ross Philipson edited this page Oct 10, 2015
·
9 revisions
DO NOT EDIT: This page is no longer used and will not be migrated.
NOTE This is out of date and incorrect.
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.
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)
-
Clean the state for xen:
MACHINE=xenclient-dom0 ./bb -c cleanall xen
-
Run the patch queue:
MACHINE=xenclient-dom0 ./bb -v -c apply_patchqueue xen
-
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.3+git<blah>/xen-<version>
in the OE build directory (where<blah>
corresponds with the commit hash of the pq repo you are building against. it should be visible in the above build step logs).
The above does not verify that the patch works as intended and does not break anything. Please test accordingly!