-
Notifications
You must be signed in to change notification settings - Fork 39
Applying Xen Patches
cjp256 edited this page Nov 19, 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.
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 clean xen-<version>
-
Run the patch queue:
MACHINE=xenclient-dom0 ./bb -v -c apply_patchqueue xen-<version>
-
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 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!