# qemu/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "qemu" 3.0.0 needs this configure switch. But 3.1.0 doesn't support it: --with-gtkabi=3.0 #--------------------------------------------------------------------- 2. Use Ctrl Alt F to un-fullscreen in "libvirt" mode. #--------------------------------------------------------------------- 3. Execute: grep 'svm\|vmx' /proc/cpuinfo If you get output, then the CPU supports virtualization extensions and KVM should work. Otherwise, confirm that virtualization is enabled in your BIOS. It's also a good idea to use the "-enable-kvm" command-line option to ensure that KVM is used. The "libvirt", "virt-manager", "virsh" stack will do this by default. #--------------------------------------------------------------------- 4. Usage example: umount /dev/shm 2> /dev/null mount -t tmpfs -o size=144m none /dev/shm aoss qemu-system-i386 -m 128 \ -machine pc,accel=kvm -soundhw es1370 \ -net nic,model=e1000 -net user,vlan=0 \ -localtime \ -hda harddisk.img -fda floppy.img -cdrom cdrom.iso \ -boot c "harddisk.img" should be a hard-disk image (including a standard partition table). "floppy.img" should be a floppy image. "cdrom.iso" should be a CD or DVD image; i.e., an ISO file. The "-boot" switch specifies which of the disks to boot: -boot a - Boot the [virtual] floppy -boot c - Boot the [virtual] hard disk -boot d - Boot the [virtual] CD or DVD Replace "128" in the preceding example with the number of MB of RAM to give the "qemu" session. Replace "144" with that number plus 16. #--------------------------------------------------------------------- [buildtimes] 00.07 hours (or 004.10 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.08 hours (or 005.00 minutes) - HP EliteBook 8560w 32GB RAM 00.12 hours (or 006.97 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.16 hours (or 009.73 minutes) - ThinkPad E540 i7 4x2 16GB RAM # Older times (obsolete due to configuration changes): 00.03 hours (or 001.95 minutes) - HP Pavilion dv8 8GB RAM 00.04 hours (or 002.18 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.13 hours (or 007.60 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.14 hours (or 008.48 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB #--------------------------------------------------------------------- [settings] altpkg = yes defer = glibc64, needs-kernel exepack = yes license = See "license*.txt" in installed tree licfile = COPYING nowerror = yes tmpsize = 2441M setpaths = \ alsa attr cairo curl eudev \ fuse310 gtkcore jackone jpeg libnfs \ libpng libsasl libseccomp libslirp libssh \ libusb pulseaudio sdl2 spice-server usbredir \ vte xorg zlib zstd #--------------------------------------------------------------------- [depends] actools alsa attr bridge-utils brotli bzip2 cairo cpan-xml-parser curl eudev expat flac fontconfig freetype2 fribidi fuse310 gawk gettext gnutls3 gpm graphite2 grep gtkcore jackone jpeg kernel:strict keyutils libaio libbsd libcapng libffi libgcrypt libgmp libicu libidn2 liblzo2 libnfs libogg libpng libpsl librtmp libsamplerate libsasl libseccomp libslirp libsndfile libssh libssh2 libunistring libusb libvorbis libwebp libxml2 meson ncurses nettle3 nghttp2 ninja numactl openldap openssl opus p11kit pcre pcre2 perl pkgconf pulseaudio python sdl sed slang spice-gtk spice-protocol spice-server tcp-wrappers tiff usbredir util-linux valgrind vte xf86-video-qxl xorg xzutils zlib zstd #--------------------------------------------------------------------- [configure] DATADIR=$PKGDIR_PROD/data ETCDIR=$PKGDIR_PROD/etc mkdir -p $DATADIR $ETCDIR chown -R 0.0 . export LACFIXQEMU=yes bash ./configure \ --prefix=$PKGDIR_PROD \ --audio-drv-list=alsa,oss,pa,sdl \ --disable-lto \ --disable-stack-protector \ \ --enable-attr \ --enable-bzip2 \ --enable-curl \ --enable-fuse \ --enable-gtk \ --enable-iconv \ --enable-kvm \ --enable-libnfs \ --enable-libusb \ --enable-linux-user \ --enable-lzo \ --enable-sdl \ --enable-spice \ --enable-usb-redir \ --enable-vdi \ --enable-virtfs \ --enable-vnc \ --enable-zstd \ \ --firmwarepath=/lib/firmware \ --interp-prefix=$DATADIR \ --sysconfdir=$ETCDIR \ --target-list="i386-softmmu,x86_64-softmmu" #--------------------------------------------------------------------- [build] export LACFIXQEMU=yes smpmake && make install #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/qemu url_home = http://www.qemu.org/ url_lfs = tbd url_tarball = https://download.qemu.org/qemu-9.1.0.tar.xz #--------------------------------------------------------------------- [history] 170728 Updated from 2.4.1 to 2.8.1 171004 Updated to 2.10.1 171214 Updated to 2.11.0 180303 Updated to 2.11.1 180316 Fixed FTBFS related to glibc 2.27 180511 Updated to 2.12.0 180814 Updated to 3.0.0 181215 Updated to 3.1.0 190425 Updated to 4.0.0 190818 Updated to 4.1.0 201223 Updated to 5.2.0 210430 Updated to 6.0.0 210825 Updated to 6.1.0 211216 Updated to 6.2.0 220503 Updated to 7.0.0 220831 Updated to 7.1.0 221217 Updated to 7.2.0 230406 Updated to 7.2.1 230703 Updated to 8.0.0 230713 Updated to 8.0.3 230814 Updated to 8.0.4 231106 Updated to 8.1.2 240123 Updated to 8.1.4 240708 Updated to 9.0.1 240722 Updated to 9.0.2 240909 Updated to 9.1.0