Skip to content
Rian Quinn edited this page Feb 17, 2015 · 6 revisions

This page assumes that you have your development environment setup. If you do not, please see the following for instructions:

https://github.com/rianquinn/qemu-1.4/wiki/Setup

Once you have OpenXT and the QEMU development environment setup, you should be ready to start making changes to QEMU. The last step in the setup instructions has you download the qemu-1.4 repo. This repo contains the current version of QEMU 1.4 that we are using, as well as all of the patches that we are currently applying to this repo. This repo also contains a script called:

update-meta-layer.sh

This script will take a diff of your changes, generate a patch, and upload this patch to your OpenXT build. All you have to do is provide it with the location of your build, and a rev #. For example, on my system I would run:

./update-meta-layer.sh ~/openxt/builds/qemu14/ 10

T1: ./update-meta-layer.sh ~/openxt/builds/qemu14/ 10
T2: MACHINE=xenclient-dom0 ./bb -c cleanall qemu-dm
T2: MACHINE=xenclient-dom0 ./bb -c cleanall xenclient-dom0-image
T2: MACHINE=xenclient-dom0 ./bb qemu-dm
T2: MACHINE=xenclient-dom0 ./bb xenclient-dom0-image
T2: MACHINE=xenclient-stubdomain ./bb -c cleanall qemu-dm-stubdom
T2: MACHINE=xenclient-stubdomain ./bb -c cleanall xenclient-stubdomain-initramfs-image
T2: MACHINE=xenclient-stubdomain ./bb qemu-dm-stubdom
T2: MACHINE=xenclient-stubdomain ./bb xenclient-stubdomain-initramfs-image
T2: cd ../; ./do_build.sh -s ship; cd build
Clone this wiki locally