For those who like to work with various test systems at the same time, there are numerous alternatives, more or less free to run virtual machines. The most widely used of all is VMware, since it's the best performance and easier to manage it becomes, but has the major drawback of that is not free. To do this we Qemu, which is free, but with a lower yield, in addition to the network configuration is not as intuitive as it should. ExSite other options such as XEN , but has the big hits that have to modify the core of both the host system as the guests ... or access to one of the new mics Intel VT or AMD Pacifica virtualization and include instructions to beof our machine to compile correctly.
apt-get install kernel-headers-`uname-r`
course, all this whenever we go to install qemu on the same machine that we are repackaging. The following will get off both the source of the package qemu, as well as build dependencies have
mkdir-p ~ / sandbox & & cd ~ / sandbox
apt-get source qemu
apt-get build-dep qemu
And finally, kqemu modules within the directory to unzip qemu. Wget
http://fabrice.bellard.free.fr/qemu/kqemu-0.7.2.tar.gz
cd qemu-* tar xvzf ../kqemu-0.7.2.tar.gz Since
that kqemu, includes part which is distributed in binary format, if we try to create a package as we have done all my life, it will be impossible, so I simply create a binary package and install it. (All this as root) dpkg-buildpackage
-b dpkg-i .. / qemu *. deb
And voila! We already have qemu acceleration with support for Debian. As a final note, just add a
kqemu / etc / modules
and if we use udev, create the file / etc / modutils / kqemu with the following contents: options kqemu major = 0
To avoid qemu update the version of Debian, and not enjoy the acceleration, we can block
0 comments:
Post a Comment