Changes between Initial Version and Version 1 of BuildingQEMU


Ignore:
Timestamp:
May 9, 2016 2:44:59 PM (8 years ago)
Author:
Geoff Lawler
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingQEMU

    v1 v1  
     1Notes on building a qemu 2.51 deb package for use in containers.
     2
     3Mostly followed instructions here: http://www.atrixnet.com/compile-qemu-from-source-and-make-a-debian-package-with-checkinstall. In brief though:
     4
     5
     6* Download qemu source and untar. cd to source dir.
     7* mkdir build && cd ./build
     8* {{../configure  --enable-libssh2 --enable-gnutls --enable-vde --enable-vnc --enable-vnc-png --enable-kvm --target-list=i386-linux-user,i386-softmmu,x86_64-linux-user
     9,x86_64-softmmu}}
     10* make -j24
     11* sudo checkinstall -D
     12  * set version to qemu version
     13  * set name to "qemu"
     14  * set requirements to: "libaio1, librbd1, libbluetooth3, libvdeplug2, libxen-4.4, libfdt1, libssh2-1, libvte-2.90-9, libsnappy1, liblzo2-2, libibverbs1, librdmacm1"
     15    * this will cause dpkg to install these libs so they do not have to be in ./etc/hv:qemu_packages in the containers source code tree.
     16 * set provides to "qemu"
     17
     18Once built, there will be a deb file in the current directory. Copy that to ./packages/hv:qemu/ and it will get picked up and 'dpkg -i' installed when containers is bootstrapped on the pnodes.