debian/0000775000000000000000000000000012321254515007170 5ustar debian/qemu-utils.README.Debian0000664000000000000000000000101112274173537013341 0ustar qemu-utils for Debian -------------------- The qemu-utils package includes a simple script called qemu-make-debian-root under /usr/sbin, which uses debootstrap to create an image suitable for qemu with a fresh Debian installation inside. If you just want a test system, not wanting to go through any installation process, that might be just ideal. Take a look at the manual page qemu-make-debian-root (8) for further usage instructions. -- Guilherme de S. Pastore , Sun May 15 09:49:11 2005 debian/qemu-user-static.install0000664000000000000000000000027412274173537014006 0ustar debian/qemu-user-static.1 usr/share/man/man1/ debian/qemu-debootstrap usr/sbin debian/qemu-debootstrap.1 usr/share/man/man1/ debian/overrides/qemu-user-static usr/share/lintian/overrides/ debian/qemu-system-x86.links0000664000000000000000000000326412303425553013155 0ustar usr/share/seabios/bios.bin usr/share/qemu/bios.bin usr/share/seabios/bios-256k.bin usr/share/qemu/bios-256k.bin usr/share/seabios/optionrom/linuxboot.bin usr/share/qemu/linuxboot.bin usr/share/seabios/optionrom/multiboot.bin usr/share/qemu/multiboot.bin usr/share/seabios/optionrom/extboot.bin usr/share/qemu/extboot.bin usr/share/seabios/optionrom/kvmvapic.bin usr/share/qemu/kvmvapic.bin usr/share/seabios/acpi-dsdt.aml usr/share/qemu/acpi-dsdt.aml usr/share/seabios/q35-acpi-dsdt.aml usr/share/qemu/q35-acpi-dsdt.aml usr/share/seabios/vgabios-isavga.bin usr/share/qemu/vgabios.bin usr/share/seabios/vgabios-cirrus.bin usr/share/qemu/vgabios-cirrus.bin usr/share/seabios/vgabios-qxl.bin usr/share/qemu/vgabios-qxl.bin usr/share/seabios/vgabios-stdvga.bin usr/share/qemu/vgabios-stdvga.bin usr/share/seabios/vgabios-vmware.bin usr/share/qemu/vgabios-vmware.bin # pxe/efi netroms from ipxe-qemu package. # Point to old locations for pxe, but use new locations for efi -- # this way, we can use either old version of ipxe-qemu or new version. # Eventually we should switch to path-based search for these files. usr/lib/ipxe/pcnet32.rom usr/share/qemu/pxe-pcnet.rom usr/lib/ipxe/ns8390.rom usr/share/qemu/pxe-ne2k_pci.rom usr/lib/ipxe/eepro100.rom usr/share/qemu/pxe-eepro100.rom usr/lib/ipxe/qemu/efi-e1000.rom usr/share/qemu/efi-e1000.rom usr/lib/ipxe/qemu/efi-eepro100.rom usr/share/qemu/efi-eepro100.rom usr/lib/ipxe/qemu/efi-ne2k_pci.rom usr/share/qemu/efi-ne2k_pci.rom usr/lib/ipxe/qemu/efi-pcnet.rom usr/share/qemu/efi-pcnet.rom usr/lib/ipxe/qemu/efi-rtl8139.rom usr/share/qemu/efi-rtl8139.rom usr/lib/ipxe/qemu/efi-virtio.rom usr/share/qemu/efi-virtio.rom usr/lib/ipxe/eepro100.rom usr/share/qemu/eepro100.rom debian/watch0000664000000000000000000000021412274173537010231 0ustar version=3 opts=dversionmangle=s/\+dfsg.*$//g,uversionmangle=s/-rc/~rc/g \ http://wiki.qemu.org/Download .*/qemu-(.*)\.tar\.(?:gz|bz2|xz) debian/qemu-utils.install0000664000000000000000000000031412274173537012676 0ustar debian/tmp/usr/bin/qemu-img debian/tmp/usr/share/man/man1/qemu-img.1 debian/tmp/usr/bin/qemu-nbd debian/tmp/usr/share/man/man8/qemu-nbd.8 debian/tmp/usr/bin/qemu-io debian/qemu-make-debian-root usr/sbin/ debian/qemu-system-x86.qemu-kvm.default0000664000000000000000000000055712274212506015223 0ustar # To disable qemu-kvm's page merging feature, set KSM_ENABLED=0 and # sudo restart qemu-kvm KSM_ENABLED=1 SLEEP_MILLISECS=200 # To load the vhost_net module, which in some cases can speed up # network performance, set VHOST_NET_ENABLED to 1. VHOST_NET_ENABLED=0 # Set this to 1 if you want hugepages to be available to kvm under # /run/hugepages/kvm KVM_HUGEPAGES=0 debian/qemu.doc-base0000664000000000000000000000063212274173537011552 0ustar Document: qemu-doc Title: QEMU User Manual Author: Fabrice Bellard Abstract: The QEMU user manual intends to make the user understand what qemu is/does, and to guide them through the first steps of getting the emulator to work, documenting parameters and commands, among other useful things. Section: Emulators Format: HTML Index: /usr/share/doc/qemu/qemu-doc.html Files: /usr/share/doc/qemu/qemu-doc.html debian/qemu-system-sparc.links0000664000000000000000000000021012274173537013635 0ustar usr/share/openbios/openbios-sparc32 usr/share/qemu/openbios-sparc32 usr/share/openbios/openbios-sparc64 usr/share/qemu/openbios-sparc64 debian/qemu-debootstrap.10000664000000000000000000000120512274173537012556 0ustar .TH qemu\-debootstrap 1 2011-07-02 "0.14.1+dfsg" Debian .SH NAME qemu\-debootstrap \- QEMU debootstrap wrapper .SH SYNOPSIS .B qemu\-debootstrap .RI [ options ] .SH DESCRIPTION The .B qemu\-debootstrap wrapper calls .BR debootstrap (8) making use of the \-\-foreign and \-\-second-stage options, and copies the appropriate .BR qemu\-user\-static (1) binary into place in order to install cross-architecture chroots. In order for it to work seamlessly, the binfmt-support package must be installed. .SH SEE ALSO .BR debootstrap (8), .BR qemu\-user\-static (1). .SH AUTHOR This manual page was written by Vagrant Cascadian . debian/qemu-system-x86.modprobe0000664000000000000000000000003312274212524013632 0ustar options kvm_intel nested=1 debian/source/0000775000000000000000000000000012274173537010503 5ustar debian/source/format0000664000000000000000000000001412274173537011711 0ustar 3.0 (quilt) debian/source/options0000664000000000000000000000013712274173537012122 0ustar # ignore sources which are in submodules in upstream git extend-diff-ignore ^pixman/|^roms/.*/ debian/binfmts/0000775000000000000000000000000012276721607010644 5ustar debian/binfmts/qemu-cris0000664000000000000000000000037412274173537012501 0ustar package qemu-user-static interpreter /usr/bin/qemu-cris-static credentials yes offset 0 magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x4c\x00 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-sparc32plus0000664000000000000000000000040312274173537013713 0ustar package qemu-user-static interpreter /usr/bin/qemu-sparc32plus-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x12 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-sparc0000664000000000000000000000037512274173537012652 0ustar package qemu-user-static interpreter /usr/bin/qemu-sparc-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x02 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-i3860000664000000000000000000000037412274173537012232 0ustar package qemu-user-static interpreter /usr/bin/qemu-i386-static credentials yes offset 0 magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03\x00 mask \xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-mips0000664000000000000000000000037412274173537012511 0ustar package qemu-user-static interpreter /usr/bin/qemu-mips-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08 mask \xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-arm0000664000000000000000000000037312274173537012317 0ustar package qemu-user-static interpreter /usr/bin/qemu-arm-static credentials yes offset 0 magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-mipsel0000664000000000000000000000037612274173537013034 0ustar package qemu-user-static interpreter /usr/bin/qemu-mipsel-static credentials yes offset 0 magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x08\x00 mask \xff\xff\xff\xff\xff\xff\xff\x00\xfe\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-ppc640000664000000000000000000000037512274173537012476 0ustar package qemu-user-static interpreter /usr/bin/qemu-ppc64-static credentials yes offset 0 magic \x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-sh40000664000000000000000000000037312274173537012236 0ustar package qemu-user-static interpreter /usr/bin/qemu-sh4-static credentials yes offset 0 magic \x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a\x00 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-sparc640000664000000000000000000000037712274173537013026 0ustar package qemu-user-static interpreter /usr/bin/qemu-sparc64-static credentials yes offset 0 magic \x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2b mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-s390x0000664000000000000000000000037512274173537012430 0ustar package qemu-user-static interpreter /usr/bin/qemu-s390x-static credentials yes offset 0 magic \x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x16 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-m68k0000664000000000000000000000037412274173537012326 0ustar package qemu-user-static interpreter /usr/bin/qemu-m68k-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x04 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-armeb0000664000000000000000000000037512274174265012627 0ustar package qemu-user-static interpreter /usr/bin/qemu-armeb-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-ppc64abi320000664000000000000000000000040212274173537013306 0ustar package qemu-user-static interpreter /usr/bin/qemu-ppc64abi32-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x15 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-sh4eb0000664000000000000000000000037512274173537012547 0ustar package qemu-user-static interpreter /usr/bin/qemu-sh4eb-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x2a mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-microblaze0000664000000000000000000000040212274173537013660 0ustar package qemu-user-static interpreter /usr/bin/qemu-microblaze-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\xba\xab mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-ppc0000664000000000000000000000037312274173537012322 0ustar package qemu-user-static interpreter /usr/bin/qemu-ppc-static credentials yes offset 0 magic \x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x14 mask \xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-alpha0000664000000000000000000000037512274173537012627 0ustar package qemu-user-static interpreter /usr/bin/qemu-alpha-static credentials yes offset 0 magic \x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x26\x90 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/binfmts/qemu-aarch640000664000000000000000000000036712276721607012772 0ustar package qemu-user-static interpreter /usr/bin/qemu-aarch64-static credentials yes offset 0 magic \x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7 mask \xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff debian/binfmts/qemu-x86_640000664000000000000000000000037612274173537012501 0ustar package qemu-user-static interpreter /usr/bin/qemu-x86_64-static credentials yes offset 0 magic \x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00 mask \xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff debian/qemu-ifdown0000775000000000000000000000024312274173537011363 0ustar #! /bin/sh # Script to shut down a network (tap) device for qemu. # Initially this script is empty, but you can configure, # for example, accounting info here. : debian/qemu-make-debian-root0000775000000000000000000001135112274173537013215 0ustar #! /bin/sh -e # # $Id: qemu-make-debian-root 353 2008-10-16 20:28:22Z aurel32 $ # # Script to make a debian root image. # set -e which uudecode >/dev/null || { echo "error: missing sharutils package" >&2 exit 1 } which debootstrap >/dev/null || { echo "error: missing debootstrap package" >&2 exit 1 } KEEPFS=0 SPARSE=0 while :; do case "$1" in -k) KEEPFS=1 ;; -s) SPARSE=1 ;; -ks|-sk) KEEPFS=1 SPARSE=1 ;; *) break ;; esac shift done if [ $# -lt 4 ]; then echo Usage: "$0 [-ks] size-in-MB distrib deburl image [files_to_copy_in_/root]" >&2 echo "eg $0 150 sid http://proxy:10000/debian qemu" >&2 echo "-k keep file system -s sparse image" >&2 echo "$0 is normally run as root." >&2 exit 1 fi SIZE=$1 DISTRO=$2 URL=$3 IMAGE=$4 shift 4 # now files to copy are in "$@". We don't put them in a variable # because that would coufuse spaces-in-filenames with # whitespace-separation. if [ $SIZE -lt 130 ]; then echo 'Size must be at least 130 megabytes (Debian unstable takes 100)' >&2 exit 1 fi cleanup() { echo Cleaning up... >&2 umount -d $TMP_DIR || true rm -f $IMAGE.ext2 $IMAGE } trap cleanup EXIT HEADS=16 SECTORS=63 # 512 bytes in a sector: cancel the 512 with one of the 1024s... CYLINDERS=$(( $SIZE * 1024 * 2 / ($HEADS * $SECTORS) )) # Create a filesystem: one track for partition table. if [ "$SPARSE" = "1" ]; then dd bs=$(($SECTORS * 512)) if=/dev/zero of=$IMAGE.ext2 count=1 seek=$(($CYLINDERS * $HEADS - 2)) else dd bs=$(($SECTORS * 512)) if=/dev/zero of=$IMAGE.ext2 count=$(($CYLINDERS * $HEADS - 1)) fi mke2fs -q -m1 -F $IMAGE.ext2 TMP_DIR="$(mktemp -d /tmp/mount.XXXXXX)" || \ { echo >&2 "Failed to create temporary directory"; exit 1; } # Mount it. mount -o loop $IMAGE.ext2 $TMP_DIR # Do debian install on it. debootstrap --variant=minbase $DISTRO $TMP_DIR $URL # Final configuration. cat > $TMP_DIR/etc/fstab < $TMP_DIR/etc/inittab.new mv $TMP_DIR/etc/inittab.new $TMP_DIR/etc/inittab # Set hostname to base of image name. basename $IMAGE > $TMP_DIR/etc/hostname # Create /etc/shadow chroot $TMP_DIR pwconv # Set root password to "root" sed 's/^root:[^:]*/root:$1$aybpiIGf$cB7iFDNZvViQtQjEZ5HFQ0/' < $TMP_DIR/etc/shadow > $TMP_DIR/etc/shadow.new mv $TMP_DIR/etc/shadow.new $TMP_DIR/etc/shadow # Remove packages we don't need chroot $TMP_DIR /usr/bin/dpkg --remove console-common console-tools console-data base-config man-db manpages # Try to remove all libraries: some won't be removable. chroot $TMP_DIR dpkg --remove `chroot $TMP_DIR dpkg --get-selections | sed -n 's/^\(lib[^ \t]*\)[\t ]*install/\1/p'` 2>/dev/null || true # Copy wanted files to /root if asked to if [ $# -gt 0 ]; then cp -a "$@" $TMP_DIR/root/ fi umount -d $TMP_DIR # Create file with partition table. uudecode -o- << "EOF" | gunzip > $IMAGE begin 664 partition-table.gz M'XL("*_<##\"`W!A. debian/copyright0000664000000000000000000002545612274174265011151 0ustar This package was debianized by Paul Russell on Wed, 3 Mar 2004 02:18:54 +0100. Then maintained as part of the team by: Guilherme de S. Pastore Elrond Guillem Jover Now maintained as a team by: Aurelien Jarno Michael Tokarev Riku Voipio Vagrant Cascadian The upstream source was downloaded from: git://git.qemu.org/qemu.git All the binary blobs without sources contained in the pc-bios/ directory (*.dtb, *.bin, *rom, openbios-*, palcode-clipper) in the original upstream git repository have been removed starting from Debian package version 0.6.0.dfsg.1-1. Those roms which are free can be found in split packages of their own, represented accordingly in the dependecy relationships. Upstream Author: Fabrice Bellard Copyright: Copyright (C) 1982, 1986, 1988-1994 The Regents of the University of California Copyright (C) 1986-2007 Free Software Foundation Inc. Copyright (C) 1988-1992 Richard Outerbridge Copyright (C) 1991-1992, 1996 Linus Torvalds Copyright (C) 1992 Graven Imagery Copyright (C) 1995 Danny Gasparovski Copyright (C) 1996-1999 Eduardo Horvath Copyright (C) 1996 Paul Mackerras Copyright (C) 1997-1999, 2001, 2006-2009 Red Hat Inc. Copyright (C) 1998-1999 Philip Blundell Copyright (C) 1998-2001, 2003, 2006 Thomas Sailer Copyright (C) 1998, 2003-2008 Fabrice Bellard Copyright (C) 1998-2004 Samuel Rydh Copyright (C) 1998 Kenneth Albanowski Copyright (C) 1998 The Silver Hammer Group Ltd. Copyright (C) 1999-2000, 2002-2003 Maxim Krasnyansky Copyright (C) 1999-2000 Tatsuyuki Satoh Copyright (C) 1999-2006, 2008 Intel Corporation Copyright (C) 1999 AT&T Laboratories Cambridge Copyright (C) 2000-2001 Qualcomm Incorporated Copyright (C) 2000-2002, 2004-2009 Axis Communications AB. Copyright (C) 2000-2003, 2005 Martin Schwidefsky Copyright (C) 2000-2003 David McCullough Copyright (C) 2000-2005 All Rights Reserved. Copyright (C) 2000-2005 DENX Software Engineering Copyright (C) 2000-2005 Silicon Graphics Inc. Copyright (C) 2000-2005 Wolfgang Denk Copyright (C) 2000-2007 Tibor "TS" Schütz Copyright (C) 2001 OKTET Ltd. Copyright (C) 2001 Xilinx Inc. Copyright (C) 2002-2005 Vassili Karpov Copyright (C) 2002-2006 Marcel Holtmann Copyright (C) 2002 Greg Ungerer Copyright (C) 2002 Paul Dale Copyright (C) 2003-2004 James Yonan Copyright (C) 2003-2007 Jocelyn Mayer Copyright (C) 2003 Damion K. Wilson Copyright (C) 2003 Thomas M. Ogrisegg Copyright (C) 2004-2005 Johannes E. Schindelin Copyright (C) 2004, 2007 Magnus Damm Copyright (C) 2004 Antony T Curtis Copyright (C) 2004 Gianni Tedesco Copyright (C) 2004 Johannes Schindelin Copyright (C) 2004 Makoto Suzuki Copyright (C) 2005, 2007 Alex Beregszaszi Copyright (C) 2005-2007 Anthony Liguori Copyright (C) 2005-2008 Andrzej Zaborowski Copyright (C) 2005-2009 Paul Brook Copyright (C) 2005 Anthony Liguori Copyright (C) 2005 Filip Navara Copyright (C) 2005 International Business Machines Corp. Copyright (C) 2005 LLC. Written Copyright (C) 2005 Mike Kronenberg Copyright (C) 2005 Samuel Tardieu Copyright (C) 2006-2007, 2009 Aurelien Jarno Copyright (C) 2006-2007, 2009 Stefan Weil Copyright (C) 2006-2007 Thiemo Seufer Copyright (C) 2006-2007 Thorsten Zitterell Copyright (C) 2006-2008 Openedhand Ltd. Copyright (C) 2006-2008 Qumranet Technologies Copyright (C) 2006 Frederick Reeve Copyright (C) 2006 Igor Kovalenko Copyright (C) 2006 InnoTek Systemberatung GmbH Copyright (C) 2006 Joachim Henke Copyright (C) 2006 Lonnie Mendez Copyright (C) 2006 Marius Groeger Copyright (C) 2007-2008 Bull S.A.S. Copyright (C) 2007-2008 IBM Corporation Copyright (C) 2007-2008 Lauro Ramos Venancio Copyright (C) 2007-2008 Nokia Corporation Copyright (C) 2007-2008 OpenMoko Inc. Copyright (C) 2007, 2009 Alexander Graf Copyright (C) 2007-2009 Edgar E. Iglesias Copyright (C) 2007-2009 Herve Poussineau Copyright (C) 2007 Arastra Inc. Copyright (C) 2007 Armin Kuster Copyright (C) 2007 Dan Aloni Copyright (C) 2007 Marko Kohtala Copyright (C) 2007 MontaVista Software Inc. Copyright (C) 2007 Robert Reif Copyright (C) 2007 Vladimir Ananiev Copyright (C) 2008-2009 Arnaud Patard Copyright (C) 2008-2009 Citrix Systems Inc. Copyright (C) 2008-2009 Gerd Hoffmann Copyright (C) 2008 Dell MessageOne Copyright (C) 2008 Dmitry Baryshkov Copyright (C) 2008 Gleb Natapov Copyright (C) 2008 Jean-Christophe PLAGNIOL-VILLARD Copyright (C) 2008 Lubomir Rintel Copyright (C) 2008 Max Krasnyansky Copyright (C) 2008 Paul Mundt Copyright (C) 2008 Samuel Thibault Copyright (C) 2008 Shin-ichiro KAWASAKI Copyright (C) 2008 Takashi YOSHII Copyright (C) 2008 TJ Copyright (C) 2009 CodeSourcery Copyright (C) 2009 Freescale Semiconductor Inc. Copyright (C) 2009 Hewlett-Packard Development Company Copyright (C) 2009 Isaku Yamahata Copyright (C) 2009 Kevin Wolf Copyright (C) 2009 Laurent Vivier Copyright (C) 2009 Michael S. Tsirkin Copyright (C) 2009 Novell Inc. Copyright (C) 2009 Ulrich Hecht Copyright (C) 2009 VA Linux Systems Japan License: QEMU as a whole is released under the GNU General Public License version 2. On Debian systems, the complete text of the GNU General Public License version 2 can be found in the file /usr/share/common-licenses/GPL-2. Parts of QEMU have specific licenses which are compatible with the GNU General Public License. Hence each source file contains its own licensing information. In particular, the QEMU virtual CPU core library (libqemu.a) is released under the GNU Lesser General Public License version 2 or later. On Debian systems, the complete text of the GNU Lesser General Public License can be found in the file /usr/share/common-licenses/LGPL-2. The BSD emulator is released under the following BSD license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The slirp code is released under the following BSD license: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. The TCG code and many hardware device emulation sources are released under the following MIT license: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/overrides/0000775000000000000000000000000012274174265011204 5ustar debian/overrides/qemu-user-static0000664000000000000000000000032212274173537014335 0ustar # these are all statically compiled, so they need to embed their libraries. qemu-user-static: embedded-library usr/bin/qemu-i386-static: libm qemu-user-static: embedded-library usr/bin/qemu-x86_64-static: libm debian/qemu-user.install0000664000000000000000000000004712274173537012517 0ustar debian/qemu-user.1 usr/share/man/man1/ debian/changelog0000664000000000000000000040630312321254515011050 0ustar qemu (2.0.0~rc1+dfsg-0ubuntu3) trusty; urgency=medium * d/p/ubuntu/kvm_physical_sync_dirty_bitmap-ignore-ENOENT-from-kv.patch don't abort() just because the kernel has no dirty bitmap. (LP: #1303926) -- Serge Hallyn Tue, 08 Apr 2014 22:32:00 -0500 qemu (2.0.0~rc1+dfsg-0ubuntu2) trusty; urgency=medium * define-trusty-machine-type.patch: update the trusty machine type name to pc-i440fx-trusty (LP: #1304107) -- Serge Hallyn Tue, 08 Apr 2014 11:49:04 -0500 qemu (2.0.0~rc1+dfsg-0ubuntu1) trusty; urgency=medium * Merge 2.0.0-rc1 * debian/rules: consolidate ppc filter entries. * Move qemu-system-arch64 into qemu-system-arm * debian/patches/define-trusty-machine-type.patch: define a trusty machine type, currently the same as pc-i440fx-2.0, to put is in a better position to enable live migrations from trusty onward. (LP: #1294823) * debian/control: build-dep on libfdt >= 1.4.0 (LP: #1295072) * Merge latest upstream git to commit dc9528f * Debian/rules: - remove -enable-uname-release=2.6.32 - don't make the aarch64 target Ubuntu-specific. * Remove patches which are now upstream: - fix-smb-security-share.patch - slirp-smb-redirect-port-445-too.patch - linux-user-Implement-sendmmsg-syscall.patch (better version is upstream) - signal-added-a-wrapper-for-sigprocmask-function.patch - ubuntu/signal-sigsegv-protection-on-do_sigprocmask.patch - ubuntu/Don-t-block-SIGSEGV-at-more-places.patch - ubuntu/ppc-force-cpu-threads-count-to-be-power-of-2.patch * add link for /usr/share/qemu/bios-256k.bin * Remove all linaro patches. * Remove all arm64/ patches. Many but not all are upstream. * Remove CVE-2013-4377.patch which is upstream. * debian/control-in: don't make qemu-system-aarch64 ubuntu-specific -- Serge Hallyn Tue, 25 Feb 2014 22:31:43 -0600 qemu (1.7.0+dfsg-3ubuntu7) trusty; urgency=low * No-change rebuild to build with libxen-4.4. -- Stefan Bader Fri, 21 Mar 2014 10:04:36 +0100 qemu (1.7.0+dfsg-3ubuntu6) trusty; urgency=medium * d/p/ubuntu/ppc-force-cpu-threads-count-to-be-power-of-2.patch: cherrypick upstream patch to force cpu count on ppc to be a power of 2. (LP: #1279682) -- Serge Hallyn Tue, 11 Mar 2014 00:03:00 -0500 qemu (1.7.0+dfsg-3ubuntu5) trusty; urgency=medium [ dann frazier ] * Add patches from the susematz tree to avoid intermittent segfaults: - ubuntu/signal-added-a-wrapper-for-sigprocmask-function.patch - ubuntu/signal-sigsegv-protection-on-do_sigprocmask.patch - ubuntu/Don-t-block-SIGSEGV-at-more-places.patch [ Serge Hallyn ] * Modify do_sigprocmask to only change behavior for aarch64. (LP: #1285363) -- Serge Hallyn Thu, 06 Mar 2014 16:15:50 -0600 qemu (1.7.0+dfsg-3ubuntu4) trusty; urgency=medium [ Steve Langasek ] * Merge debian/control with unreleased Debian branch: our architecture lists should now be in sync. [ Dann Frazier ] * ubuntu/linux-user-Implement-sendmmsg-syscall.patch: Fix user mode DNS on arm64 and maybe others. (LP: #1284344) [ Serge Hallyn ] * Move the OVMF.fd link to the ovmf package. -- Serge Hallyn Fri, 21 Feb 2014 12:14:53 -0800 qemu (1.7.0+dfsg-3ubuntu3) trusty; urgency=medium * Add ppc64el to the architecture list (supposedly added in the previous upload, but really wasn't). -- Steve Langasek Thu, 20 Feb 2014 23:40:07 -0800 qemu (1.7.0+dfsg-3ubuntu2) trusty; urgency=medium * Backport changes to enable qemu-user-static support for aarch64 * debian/control: add ppc64el to Architectures * debian/rules: only install qemu-system-aarch64 on arm64. Fixes a FTBFS when built twice in a row on non-arm64 due to a stale debian/qemu-system-aarch64 directory -- dann frazier Tue, 11 Feb 2014 15:41:53 -0700 qemu (1.7.0+dfsg-3ubuntu1) trusty; urgency=medium * Fix broken filter_binfmts * Remove use of dpkg-version in postinsts, as we're not Depending on dpkg-dev. -- Serge Hallyn Wed, 05 Feb 2014 21:57:38 -0600 qemu (1.7.0+dfsg-3ubuntu1~ppa1) trusty; urgency=medium * Merge 1.7.0+dfsg-3 from debian. Remaining changes: - debian/patches/ubuntu: * expose-vmx_qemu64cpu.patch * linaro (omap3) and arm64 patches * ubuntu/target-ppc-add-stubs-for-kvm-breakpoints: fix FTBFS on ppc * ubuntu/CVE-2013-4377.patch: fix denial of service via virtio - debian/qemu-system-x86.modprobe: set kvm_intel nested=1 options - debian/control: * add arm64 to Architectures * add qemu-common and qemu-system-aarch64 packages - debian/qemu-system-common.install: add debian/tmp/usr/lib - debian/qemu-system-common.preinst: add kvm group - debian/qemu-system-common.postinst: remove acl placed by udev, and add udevadm trigger. - qemu-system-x86.links: add eepro100.rom, remove pxe-virtio, pxe-e1000 and pxe-rtl8139. - add qemu-system-x86.qemu-kvm.upstart and .default - qemu-user-static.postinst-in: remove arm64 binfmt - debian/rules: * allow parallel build * add aarch64 to system_targets and sys_systems * add qemu-kvm-spice links * install qemu-system-x86.modprobe - add debian/qemu-system-common.links for OVMF.fd link * Remove kvm-img, kvm-nbd, kvm-ifup and kvm-ifdown symlinks. -- Serge Hallyn Tue, 04 Feb 2014 12:13:08 -0600 qemu (1.7.0+dfsg-3) unstable; urgency=low * qemu-kvm: fix versions for Breaks/Replaces/Depends on qemu-system-x86 * qemu-system-ppc: depend on openbios-ppc >= 1.1+svn1229 to fix boot issues * qemu-system-sparc: depend on openbios-sparc >= 1.1+svn1229 too * remove unused lintian overrides for qemu-user from qemu (meta)package * qemu-system-*: depend on unversioned qemu-keymaps and qemu-system-common packages (no particular version of any is hard-required) * remove debian/README.source (was from quilt) * add myself to debian/copyright * reorder d/control to have Recommends:/Suggests: closer to Depends. * rename d/control to d/control-in and add a d/rules rule to build it based on ${VENDOR} * allow different content in d/control for debian/ubuntu * added debian/README-components-versions * fixed qemu-armeb binfmt (Closes: #735078) * added powerpcspe host arch (Closes: #734696) * do not check for presence of update-alternatives which is part of dpkg (Closes: #733222) * do not call update-alternative --remove from postrm:remove (lintian complains about this) * add efi netrom links. This requires new ipxe-qemu. -- Michael Tokarev Thu, 16 Jan 2014 15:17:46 +0400 qemu (1.7.0+dfsg-2ubuntu9) trusty; urgency=medium * debian/qemu-user-static.postinst-in: remove arm64 qemu-user binfmt, which may have been installed up to 1.6.0+dfsg-2ubuntu4 (LP: #1273654) -- Serge Hallyn Tue, 28 Jan 2014 14:41:20 +0000 qemu (1.7.0+dfsg-2ubuntu8) trusty; urgency=medium * SECURITY UPDATE: denial of service via virtio device hot-plugging - debian/patches/CVE-2013-4377.patch: upstream commits to refactor virtio device unplugging. - CVE-2013-4377 -- Marc Deslauriers Mon, 27 Jan 2014 09:10:37 -0500 qemu (1.7.0+dfsg-2ubuntu7) trusty; urgency=medium * d/p/target-ppc-add-stubs-for-kvm-breakpoints: fix FTBFS on powerpc. -- Serge Hallyn Wed, 22 Jan 2014 11:59:26 -0600 qemu (1.7.0+dfsg-2ubuntu6) trusty; urgency=medium [ Serge Hallyn ] * add arm64 patchset from upstream. The three arm virt patches previously pushed are in that set, so drop them. [ dann frazier ] * Add packaging for qemu-system-aarch64. This package is currently only available for arm64, as full software emulation is not yet supported. -- Serge Hallyn Fri, 10 Jan 2014 12:19:08 -0600 qemu (1.7.0+dfsg-2ubuntu5) trusty; urgency=medium * Drop d/p/fix-pci-add: upstream does not intend for pci_add to be supported any longer. * Add patchset from git://git.linaro.org/qemu/qemu-linaro.git#rebasing * Refresh debian/patches/hw_arm_add_virt_platform.patch against context churn caused by linaro patchset. * debian/rules: enable parallel builds. -- Serge Hallyn Fri, 03 Jan 2014 10:53:17 -0600 qemu (1.7.0+dfsg-2ubuntu4) trusty; urgency=medium * d/control: enable usbredir (LP: 1126390) -- Serge Hallyn Thu, 02 Jan 2014 08:55:43 -0600 qemu (1.7.0+dfsg-2ubuntu3) trusty; urgency=medium * add missing arm virt patches from the mach-virt-v7 branch of git://git.linaro.org/people/cdall/qemu-arm.git -- Serge Hallyn Wed, 18 Dec 2013 12:25:59 -0600 qemu (1.7.0+dfsg-2ubuntu2) trusty; urgency=medium * debian/control: add arm64 to list of architectures. -- Serge Hallyn Thu, 12 Dec 2013 10:22:47 -0600 qemu (1.7.0+dfsg-2ubuntu1) trusty; urgency=low * Merge 1.7.0+dfsg-2 from debian experimental. Remaining changes: - debian/control * update maintainer * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev from build-deps * enable rbd * add qemu-system and qemu-common B/R to qemu-keymaps * add D:udev, R:qemu, R:qemu-common and B:qemu-common to qemu-system-common * qemu-system-arm, qemu-system-ppc, qemu-system-sparc: - add qemu-common, qemu-kvm, kvm to B/R - remove openbios-sparc from qemu-system-sparc D - drop openbios-ppc and openhackware Depends to Suggests (for now) * qemu-system-x86: - add qemu-common to Breaks/Replaces. - add cpu-checker to Recommends. * qemu-user: add B/R:qemu-kvm * qemu-kvm: - add armhf armel powerpc sparc to Architecture - C/R/P: qemu-kvm-spice * add qemu-common package * drop qemu-slof which is not packaged in ubuntu - add qemu-system-common.links for tap ifup/down scripts and OVMF link. - qemu-system-x86.links: * remove pxe rom links which are in kvm-ipxe - debian/rules * add kvm-spice symlink to qemu-kvm * call dh_installmodules for qemu-system-x86 * update dh_installinit to install upstart script * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2) - Add qemu-utils.links for kvm-* symlinks. - Add qemu-system-x86.qemu-kvm.upstart and .default - Add qemu-system-x86.modprobe to set nesting=1 - Add qemu-system-common.preinst to add kvm group - qemu-system-common.postinst: remove bad group acl if there, then have udev relabel /dev/kvm. - New linaro patches from qemu-linaro rebasing branch - Dropped patches: * linaro patchset * mach-virt patchset - Kept patches: * expose_vms_qemu64cpu.patch * fix-pci-add * qemu-system-common.install: add debian/tmp/usr/lib to install the qemu-bridge-helper -- Serge Hallyn Sat, 07 Dec 2013 06:08:11 +0000 qemu (1.7.0+dfsg-2) unstable; urgency=low * switch from vgabios to seavgabios * rework update-alternatives handling for qemu-system (Closes: #722914) * mention closing of #326886, #390444, #706237 and CVE-2013-4375 for 1.7.0 * rearrange libvte-dev build-dependency to come together with gtk, and comment it out (since gtk frontend isn't being built) * re-introduce qemu-kvm package with just a wrapper (/usr/bin/kvm) and make this wrapper to force kvm mode (Closes: #727762) * use less strict dependency on qemu-keymaps * added fix-smb-security-share.patch by Michael Büsch (Closes: #727756) * added move-ncalrpc-dir-to-tmp.patch by Michael Büsch (Closes: #728876) -- Michael Tokarev Fri, 29 Nov 2013 00:16:44 +0400 qemu (1.7.0+dfsg-1) unstable; urgency=low * new upstream release (Closes: #724758, #326886, #390444, #706237) Also fixes CVE-2013-4375 (xen-specific qemu disk backend (qdisk) resource leak) * tweak kvm loading script to not load module for 3.4+ kernel (kernel autoloads kvm modules since 3.4) (Closes: #717811) * mention closing of #721713, #710971, #674201 * refresh use-fixed-data-path.patch to contain just the min. changes * fix pxe-eepro100.rom link (never worked in qemu due to wrong name) * remove old $Id$ line from debian/rules -- Michael Tokarev Thu, 28 Nov 2013 03:14:21 +0400 qemu (1.6.0+dfsg-2ubuntu2) trusty; urgency=low * debian/control: qemu-utils must Replace: qemu-kvm as it did in raring, to prevent lts-to-lts updates from breaking. (LP: #1243403) -- Serge Hallyn Wed, 23 Oct 2013 14:31:05 -0500 qemu (1.6.0+dfsg-2ubuntu1) trusty; urgency=low * Merge 1.6.0~rc0+dfsg-2exp from debian experimental. Remaining changes: - debian/control * update maintainer * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev from build-deps * enable rbd * add qemu-system and qemu-common B/R to qemu-keymaps * add D:udev, R:qemu, R:qemu-common and B:qemu-common to qemu-system-common * qemu-system-arm, qemu-system-ppc, qemu-system-sparc: - add qemu-kvm to Provides - add qemu-common, qemu-kvm, kvm to B/R - remove openbios-sparc from qemu-system-sparc D - drop openbios-ppc and openhackware Depends to Suggests (for now) * qemu-system-x86: - add qemu-common to Breaks/Replaces. - add cpu-checker to Recommends. * qemu-user: add B/R:qemu-kvm * qemu-kvm: - add armhf armel powerpc sparc to Architecture - C/R/P: qemu-kvm-spice * add qemu-common package * drop qemu-slof which is not packaged in ubuntu - add qemu-system-common.links for tap ifup/down scripts and OVMF link. - qemu-system-x86.links: * remove pxe rom links which are in kvm-ipxe * add symlink for kvm.1 manpage - debian/rules * add kvm-spice symlink to qemu-kvm * call dh_installmodules for qemu-system-x86 * update dh_installinit to install upstart script * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2) - Add qemu-utils.links for kvm-* symlinks. - Add qemu-system-x86.qemu-kvm.upstart and .default - Add qemu-system-x86.modprobe to set nesting=1 - Add qemu-system-common.preinst to add kvm group - qemu-system-common.postinst: remove bad group acl if there, then have udev relabel /dev/kvm. - New linaro patches from qemu-linaro rebasing branch - Dropped patches: * xen-simplify-xen_enabled.patch * sparc-linux-user-fix-missing-symbols-in-.rel-.rela.plt-sections.patch * main_loop-do-not-set-nonblocking-if-xen_enabled.patch * xen_machine_pv-do-not-create-a-dummy-CPU-in-machine-.patch * virtio-rng-fix-crash - Kept patches: * expose_vms_qemu64cpu.patch - updated * linaro arm patches from qemu-linaro rebasing branch - New patches: * fix-pci-add: change CONFIG variable in ifdef to make sure that pci_add is defined. * Add linaro patches * Add experimental mach-virt patches for arm virtualization. * qemu-system-common.install: add debian/tmp/usr/lib to install the qemu-bridge-helper -- Serge Hallyn Tue, 22 Oct 2013 22:47:07 -0500 qemu (1.6.0+dfsg-2) unstable; urgency=low * Build-depend in seccomp again once it is in -testing * 1.6.1 upstream bugfix release (Closes: #725944, #721713) * fix "allows [one] to" in qemu-ga description * fix descriptions for qemu-system and qemu-system-common packages -- Michael Tokarev Fri, 11 Oct 2013 01:15:48 +0400 qemu (1.6.0+dfsg-1) unstable; urgency=low [ Michael Tokarev ] * final upstream v1.6.0 (Closes: #718180, #714273, #605525, #701855) * removed configure-explicitly-disable-virtfs-if-softmmu=no.patch * mention closing of #717724 by 1.6 * mention closing of #710971 by 1.5 (which disabled gtk support) [ Riku Voipio ] * - set --cross-prefix in debian/rules when cross-compiling -- Michael Tokarev Mon, 02 Sep 2013 15:18:49 +0400 qemu (1.6.0~rc0+dfsg-1exp) experimental; urgency=low * uploading to experimental (rc0) * new upstream release (release candidate) (Closes: #718016, #717724) * removed patches: - qemu-1.5.1.diff - sparc-linux-user-fix-missing-symbols-in-.rel-.rela.plt-sections.patch * refreshed use-fixed-data-path.patch * ship new qemu_logo_no_text.svg * stop shipping sgabios symlink, it is moved to sgabios package * bump version of libseccomp build dependency to 2.1 (minimum required to build) and disable libseccomp for now (because it isn't available in debian yet) -- Michael Tokarev Wed, 31 Jul 2013 10:49:30 +0400 qemu (1.5.0+dfsg-5) unstable; urgency=low * new upstream 1.5.1 stable/bugfix release (as qemu-1.5.1.diff) removed qemu_openpty_raw-helper.patch (included upstream) * configure-explicitly-disable-virtfs-if-softmmu=no.patch -- do not build virtfs-proxy-helper stuff if not building system emulator (fix FTBFS on s390) * disable gtk ui and build dependencies, as it adds almost nothing compared with sdl (well, except bugs and limitations), and has lots of additional dependencies (Closes: #710971) * remove obsolete /etc/init.d/qemu-kvm (Closes: #712898) * fix versions of obsolete qemu-kvm conffiles to be removed * provide manpage for obsolete kvm (Closes: #716891, #586973) * add --daemonize option to the guest-agent startup script (Closes: #715502) * clarify what qemu-guest-agent does (Closes: #714270) and provide its json schema as a doc -- Michael Tokarev Tue, 23 Jul 2013 22:39:54 +0400 qemu (1.5.0+dfsg-4) unstable; urgency=medium * urgency is medium to make it go faster because, on one hand, we've been in unstable for quite a bit longer than needed already and have nothing but (build) fixes in there, but on the other hand we're holding migration of other packages which are waiting for us, again, for too long already * added qemu_openpty_raw-helper.patch - a cleanup patch submitted upstream which removes #include from common header and hence works around FTBFS problem on debian sparc where somehow, conflicts with . -- Michael Tokarev Thu, 06 Jun 2013 01:50:32 +0400 qemu (1.5.0+dfsg-3ubuntu6) trusty; urgency=low * No change rebuild for new seccomp. -- Stéphane Graber Mon, 21 Oct 2013 18:34:50 -0400 qemu (1.5.0+dfsg-3ubuntu5) saucy; urgency=low * Cherrypick upstream patch to fix crash with rng device (LP: #1235017) - virtio-rng-fix-crash -- Serge Hallyn Wed, 09 Oct 2013 17:46:49 -0500 qemu (1.5.0+dfsg-3ubuntu4) saucy; urgency=low * Re-introduce snippet in upstart job to load kvm modules if needed. (LP: #1218459) -- Serge Hallyn Mon, 16 Sep 2013 22:43:52 +0000 qemu (1.5.0+dfsg-3ubuntu3) saucy; urgency=low * Cherry-picking three Xen related patches targetted for qemu-stable: * xen-simplify-xen_enabled.patch * main_loop-do-not-set-nonblocking-if-xen_enabled.patch * xen_machine_pv-do-not-create-a-dummy-CPU-in-machine-.patch -- Stefan Bader Fri, 26 Jul 2013 15:01:44 +0200 qemu (1.5.0+dfsg-3ubuntu2) saucy; urgency=low * Drop openbios-ppc and openhackware Depends to Suggests for now. -- Adam Conrad Wed, 05 Jun 2013 03:23:56 -0600 qemu (1.5.0+dfsg-3ubuntu1) saucy; urgency=low * Merge 1.5.0+dfs-3 from debian unstable. Remaining changes: - debian/control * update maintainer * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev from build-deps * enable rbd * add qemu-system and qemu-common B/R to qemu-keymaps * add D:udev, R:qemu, R:qemu-common and B:qemu-common to qemu-system-common * qemu-system-arm, qemu-system-ppc, qemu-system-sparc: - add qemu-kvm to Provides - add qemu-common, qemu-kvm, kvm to B/R - remove openbios-sparc from qemu-system-sparc D * qemu-system-x86: - add qemu-common to Breaks/Replaces. - add cpu-checker to Recommends. * qemu-user: add B/R:qemu-kvm * qemu-kvm: - add armhf armel powerpc sparc to Architecture - C/R/P: qemu-kvm-spice * add qemu-common package * drop qemu-slof which is not packaged in ubuntu - add qemu-system-common.links for tap ifup/down scripts and OVMF link. - qemu-system-x86.links: * remove pxe rom links which are in kvm-ipxe * add symlink for kvm.1 manpage - debian/rules * add kvm-spice symlink to qemu-kvm * call dh_installmodules for qemu-system-x86 * update dh_installinit to install upstart script * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2) - Add qemu-utils.links for kvm-* symlinks. - Add qemu-system-x86.qemu-kvm.upstart and .default - Add qemu-system-x86.modprobe to set nesting=1 - Add qemu-system-common.preinst to add kvm group - qemu-system-common.postinst: remove bad group acl if there, then have udev relabel /dev/kvm. - Dropped patches: * 0001-fix-wrong-output-with-info-chardev-for-tcp-socket.patch - Kept patches: * expose_vms_qemu64cpu.patch - updated * gridcentric patch - updated * linaro arm patches from qemu-linaro rebasing branch -- Serge Hallyn Tue, 04 Jun 2013 22:56:43 +0200 qemu (1.5.0+dfsg-3) unstable; urgency=low * fix sections: misc => otherosfs * remove obsolete conffiles (kvm-ifup, kvm-ifdown, target-x86_64.conf) from /etc/kvm/ in qemu-kvm (Closes: #710328) * rework debian/rules a bit, to build various bits depending on which packages are requested, not depending on ad-hoc host/arch logic * do not fail at install if kvm module loading failed on x86 or if modprobe isn't installed (Closes: #710496) * also suggest kmod to be able to load x86 kvm modules * suggest sgabios for qemu-system-x86 and put a symlink to sgabios.bin (Closes: #696985) * add rules to build just one of arch/indep parts, to make buildd log scanner happier (E-binary-arch-produces-all) * use verbose build by default (V=1) and let it to be overridden -- Michael Tokarev Sun, 02 Jun 2013 01:49:47 +0400 qemu (1.5.0+dfsg-2ubuntu1) saucy; urgency=low * Merge 1.5.0+dfs-2 from debian unstable. Remaining changes: - debian/control * update maintainer * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev from build-deps * enable rbd * add qemu-system and qemu-common B/R to qemu-keymaps * add D:udev, R:qemu, R:qemu-common and B:qemu-common to qemu-system-common * qemu-system-arm, qemu-system-ppc, qemu-system-sparc: - add qemu-kvm to Provides - add qemu-common, qemu-kvm, kvm to B/R - remove openbios-sparc from qemu-system-sparc D * qemu-system-x86: - add qemu-common to Breaks/Replaces. - add cpu-checker to Recommends. * qemu-user: add B/R:qemu-kvm * qemu-kvm: - add armhf armel powerpc sparc to Architecture - C/R/P: qemu-kvm-spice * add qemu-common package * drop qemu-slof which is not packaged in ubuntu - add qemu-system-common.links for tap ifup/down scripts and OVMF link. - qemu-system-x86.links: * remove pxe rom links which are in kvm-ipxe * add symlink for kvm.1 manpage - debian/rules * add kvm-spice symlink to qemu-kvm * call dh_installmodules for qemu-system-x86 * update dh_installinit to install upstart script * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2) - Add qemu-utils.links for kvm-* symlinks. - Add qemu-system-x86.qemu-kvm.upstart and .default - Add qemu-system-x86.modprobe to set nesting=1 - Add qemu-system-common.preinst to add kvm group - qemu-system-common.postinst: remove bad group acl if there, then have udev relabel /dev/kvm. - Dropped patches: * 0001-fix-wrong-output-with-info-chardev-for-tcp-socket.patch - Kept patches: * expose_vms_qemu64cpu.patch - updated * gridcentric patch - updated * linaro arm patches from qemu-linaro rebasing branch -- Serge Hallyn Tue, 28 May 2013 08:18:30 -0500 qemu (1.5.0+dfsg-2) unstable; urgency=low * merged development history of wheezy and experimental branches. Now the history is ordered by version, but is not chronological. As a base we now have wheezy (1.1.2+dfsg-6a) version. * removed trailing whitespaces from changelog file * run dh_installinit properly (Closes: #709199) * run dh_installman (Closes: #709241) * remove build-dependendy on texi2html, upstream switched to makeinfo -- Michael Tokarev Tue, 28 May 2013 10:48:41 +0400 qemu (1.5.0+dfsg-1) unstable; urgency=low * update to 1.5.0 (Closes: #707732) * upload to unstable * mention that 1.5 closes #697641 and #705544 * bump dependency on openbios (openbios-ppc for qemu-system-ppc, openbios-sparc for qemu-system-sparc) from 1.0+svn1060 to 1.1 (Closes: #707727) * bump dependency on seabios to be >= 1.7.2-2 * add retry-pxe-after-efi.patch to try pxe-XXXX.rom after unsuccessfully trying efi-XXXX.rom - this is for NICs, until pxe-qemu package will be able to provide necessary efi-XXXX.rom files. * add (versioned) dependency on libusb-1.0 now when the right version is available in debian * use-fixed-data-path.patch: do not try to derive data path from executable location, always use /usr/share/qemu -- Michael Tokarev Tue, 21 May 2013 00:49:47 +0400 qemu (1.5.0~rc0+dfsg-1) experimental; urgency=low * update to new upstream release candidate (1.5.0-rc0) (Closes: #697641, #705544) * remove --audio-card-list * added new moxie system target * added new linux-user targets: mips64 mips64el mipsn32 mipsn32el * add libgtk2 and libvte to dependencies (new UI) * added libssh2 to dependencies (new block device) * s/libvdeplug2-dev/libvdeplug-dev/ * define localstatedir (for guest-agent) -- Michael Tokarev Wed, 08 May 2013 01:01:01 +0400 qemu (1.4.0+dfsg-2exp) experimental; urgency=low [ Michael Tokarev ] * set qemu-kvm priority to extra * fix distribution field in last qemu-system.NEWS entry * bump Standards-Version to 3.9.4 (no changes needed) * fix update-rc.d args for qemu-system-x86 * pre-Depend on adduser for qemu-system-common (Closes: #700840) * move guest agent binary (qemu-ga) to /usr/sbin * add versioned build-depends on libspice-protocol-dev (>= 0.12.3) * refresh qemu-ifunc-sparc.patch, use proper submission from patchwork (sparc-linux-user-fix-missing-symbols...) instead. * apply 1.4.1 upstream stable patch * release as 1.4.0 [ Aurelien Jarno ] * debian/rules: don't build spapr-rtas.bin from .hex file. * qemu-system-ppc: add a depends on qemu-slof and add the corresponding links (Closes: #686979). -- Michael Tokarev Thu, 18 Apr 2013 14:45:30 +0400 qemu (1.4.0+dfsg-1expubuntu4) raring; urgency=low * re-add qemu-system-x86.modprobe to set nesting=1 (LP: #1155177) * qemu-system-x86.qemu-kvm.upstart: - remove NESTED workarounds from upstart file. - remove loading of modules which is now always done - remove TAPR define which is no longer used * move customizable defines back to qemu-kvm.default * copy creation of group kvm to preinst - the group must exist when the kvm udev rule is installed (LP: #1103022) (LP: #1092715) * add adduser to qemu-system-common Pre-Depends for use by preinst. -- Serge Hallyn Thu, 14 Mar 2013 14:21:53 -0500 qemu (1.4.0+dfsg-1expubuntu3) raring; urgency=low * debian/rules: add a symlink from kvm-spice to kvm in qemu-kvm, on i386/amd64 targets. (LP: #1126258) -- Serge Hallyn Thu, 28 Feb 2013 15:17:16 -0600 qemu (1.4.0+dfsg-1expubuntu2) raring; urgency=low * substitute (apparently identical) patches from 1.4.0 qemu-linaro rebasing tree. * add qemu-common to qemu-system-common B/R (was accidentally dropped from 1.3.0 in 1.4.0 merge). * debian/control: fix kvm P/C/B/R: - make all C/B/R against kvm versioned - don't have any qemu-system-* other than x86 Provides: kvm -- Serge Hallyn Fri, 22 Feb 2013 13:34:07 -0600 qemu (1.4.0+dfsg-1expubuntu1) raring; urgency=low * Merge 1.4.0+dfsg-1exp from debian. Remaining changes: - debian/control: * update maintainer * remove libiscsi, usb-redir, vde, and vnc-jpeg from build-deps * enable rbd * add qemu-system and qemu-common B/R to qemu-keymaps * add D:udev and R:qemu to qemu-system-common * qemu-system-arm, qemu-system-ppc, qemu-system-sparc: - add qemu-kvm and kvm to Provides - add qemu-common and qemu-kvm to Breaks/Replaces qemu-system-ppc, qemu-system-sparc: - remove openbios-$arch from Depends * qemu-system-x86: - add qemu-common to Breaks/Replaces. - add cpu-checker to Recommends. * qemu-user: - add B/R qemu-kvm * qemu-utils: - add B/R qemu-user and qemu-kvm * qemu-kvm: add armhf armel powerpc sparc to Architecture * add qemu-common package - add qemu-system-common.links for tap ifup/down scripts and OVMF link. - qemu-system-x86.links: * remove pxe rom links which are in kvm-ipxe * add symlink for kvm.1 manpage - Add qemu-utils.links for kvm-* symlinks. - Add qemu-kvm.conf upstart job to qemu-system - Clear /dev/kvm acls on install - Add linaro arm patches. - Add gridcentric patches. - Re-add expose_vms_qemu64cpu.patch (from Daviey) * Add 0001-fix-wrong-output-with-info-chardev-for-tcp-socket.patch -- Serge Hallyn Wed, 20 Feb 2013 11:58:27 -0600 qemu (1.4.0+dfsg-1exp) experimental; urgency=low [ Michael Tokarev ] * 1.4.0 final release * remove fix-virtio-net-for-win-guests.patch (upstream now has better fix) * fix debian/control arch fields. Build-Depends: foo [bar] means foo will be selected for build on LINUX-bar, not any-bar. So stop using [bar], always use [linux-bar] or [any-bar], as appropriate. This fix spice and xen (non)selection on kfreebsd-{i386,amd64}. * fix manpage "links" generation (man qemu-system-* was broken) * change Vcs fields to point to anonscm.debian.org (lintian) * add a check for (lxc) container to qemu-system-x86 initscript [ Michael Tokarev - committed after 1.4.0+dfsg-1exp] * fix distribution field in last qemu-system.NEWS entry * bump Standards-Version to 3.9.4 (no changes needed) * pre-Depend on adduser for qemu-system-common (Closes: #700840) [ Steve Langasek ] * Pass --enable-uname-release=2.6.32 for the user emulation builds, so that we have a sensible baseline kernel value regardless of what the underlying host kernel is. This makes eglibc happier when running under emulation on a very old kernel for instance (whose host syscall ABI has nothing to do with what emulated syscalls are supported), and probably also lets us steer clear for the moment of code that has problem with the new kernel upstream versioning convention. LP: #921078. -- Michael Tokarev Sat, 16 Feb 2013 12:34:54 +0400 qemu (1.4.0~rc0+dfsg-1exp) experimental; urgency=low * new upstream 1.4.0-rc0 (first release candidate). (Closes: #549195) * remove patches included upstream: e1000-discard-oversized-packets-based-on-SBP_LPE.patch link-seccomp-only-with-softmmu-targets.patch revert-serial-fix-retry-logic.patch savevm.c-cleanup-system-includes.patch * refresh qemu-ifunc-sparc.patch * add fix-virtio-net-for-win-guests.patch bandaid to make virtio-net in windows guest to work again * don't install virtfs-proxy-helper in its own subdir in /usr/bin * add qemu-io manpage. Thank you Asias He for the work! (Closes: #652518) * move config options from debian/configure-opts into debian/control, to keep list of build-deps & corresponding config flags in one place * use initscript from old qemu-kvm package to load kvm modules for qemu-system-x86, and clean it up (Closes: #699404) * load vhost_net module in the initscript too * mention default NIC change in qemu-kvm.NEWS and old conffiles * remove mentions of (ubuntu-specific) qemu-common from debian/control for now, as it does not help anyway (other changes are needed anyway and it is better to keep them in one place) * add a (preliminary) qemu-guest-agent startup script * qemu-system-x86 break libvirt0 << 1.0, because older versions didn't work with qemu 1.3+ correctly -- Michael Tokarev Sat, 02 Feb 2013 21:05:28 +0400 qemu (1.3.0+dfsg-5expubuntu5) raring; urgency=low * qemu-system-common.postinst: only run setfacl when /dev/kvm exists. (LP: #1130591) -- Serge Hallyn Wed, 20 Feb 2013 08:58:53 -0600 qemu (1.3.0+dfsg-5expubuntu4) raring; urgency=low * Update workarounds for udev/inotify: (LP: #1092715) - qemu-system-common.udev: go back to original, simple rule - qemu-system-common.postinst: manually run setfacl - (keep Depends: on acl as well) - this can be removed once bug 1092715 is fixed. -- Serge Hallyn Tue, 19 Feb 2013 12:41:22 -0600 qemu (1.3.0+dfsg-5expubuntu3) raring; urgency=low * Now that qemu provides spice support, and qemu-kvm-spice is removed from the archive, have qemu-kvm (which qemu-kvm-spice always depended on) P/C/R qemu-kvm-spice. -- Serge Hallyn Thu, 14 Feb 2013 13:43:27 -0600 qemu (1.3.0+dfsg-5expubuntu2) raring; urgency=low * Enable spice. * Address lintian warning by adding ${misc:Depends} to qemu-common and qemu-kvm. -- Serge Hallyn Tue, 12 Feb 2013 16:07:04 -0600 qemu (1.3.0+dfsg-5expubuntu1) raring; urgency=low [ Serge Hallyn ] * Merge 1.3.0+dfsg-5exp from Debian. * remaining changes from 1.3.0+dfsg-1~exp3ubuntu1: - debian/control: * update maintainer * remove vde2 recommends * build-deps: remove libusbredir, libvdeplug2-dev, libspice-server-dev, libspice-protocol-dev, libiscsi-dev * qemu-system: - break/replace qemu-common - depend on udev - remove openbios-ppc, openbios-sparc, and openhackware from Depends. (Intend to add them back once we can build them.) * qemu-utils: break/replace qemu-kvm - qemu-kvm.upstart: - add qemu-system.qemu-kvm.upstart - debian/rules: add dh_installinit to get qemu-system.upstart installed. - take the defaults from the old qemu-kvm.defaults, and move them into the upstart job - debian/patches: - apply gridcentric patches from lp:~amscanne/+junk/gridcentric-qemu-patches - apply arm patches from git://git.linaro.org/qemu/qemu-linaro.git - add links for qemu-ifup/down in qemu-system-common.links - debian/qemu-system-common.postinst - udevadm trigger to fix up /dev/kvm perms - debian/qemu-system.links: - remove pxe-virtio, pxe-e1000 and pxe-rtl8139 links (which conflict with ones from kvm-ipxe). We may want to move the links from kvm-ipxe back to qemu-system at some point. * remaining changes from after 1.3.0+dfsg-1~exp3ubuntu1: - qemu-system-common.links: add link for OVMF - Add qemu-utils.links for kvm-img and kvm-nbd utils and manpages. - qemu-system.links: * Add link to usr/share/ovmf/OVMF.fd * Fix target of /etc/kvm/kvm-if{up,down} links - debian/control: qemu-system should Recommend cpu-checker - Add qemu-kvm breaks/replaces to qemu-user, to handle conflict over (i.e.) qemu-x86_64. - add qemu-kvm, and qemu-common transitional packages. - Add breaks/replaces to qemu-keymaps for qemu-system. - Add provides: qemu-kvm and kvm to qemu-system-ppc. - Add breaks/replaces to qemu-system-ppc for qemu-kvm and qemu-common. - Add breaks/replaces to qemu-kvm for qemu-common. - Add breaks/replaces to qemu-utils for qemu-user and qemu-kvm. - Add armhf, armel, powerpc and sparc arches to qemu-kvm transitional package. - Add qemu-common package. - Make sure /dev/kvm gets its acls cleared: * Add acl to qemu-system.depends * update qemu-system.udev to run setfacl to set g::rw acl - Remove vnc-jpeg, libiscsi-dev, and vde from debian/configure-opts * dropped debian/patches/CVE-2012-6075.patch (duplicate of e1000-discard-oversize-packets-based-on-SBP_LPE.patch) * debian/{control,configure-opts}: enable rbd (LP: #1118406) * add symlink for kvm.1 -> qemu.1 manpage (LP: #1117636) * add replaces to qemu-system-common for qemu - we briefly moved conflicting docs to qemu, which debian moved to qemu-system-common. This can be dropped after raring. * move qemu-kvm.upstart from qemu-system to qemu-system-x86. * Support upgrade from qemu-kvm on non-x86 arches: - Add Provides: qemu-kvm, kvm to qemu-system-{arm,ppc,sparc,x86} - Add Breaks/Replaces for qemu-{common,system,kvm} and kvm. * Re-add expose_vms_qemu64cpu.patch (from Daviey) from quantal. [ Steve Langasek ] * Pass --enable-uname-release=2.6.32 for the user emulation builds, so that we have a sensible baseline kernel value regardless of what the underlying host kernel is. This makes eglibc happier when running under emulation on a very old kernel for instance (whose host syscall ABI has nothing to do with what emulated syscalls are supported), and probably also lets us steer clear for the moment of code that has problem with the new kernel upstream versioning convention. LP: #921078. -- Serge Hallyn Thu, 07 Feb 2013 14:15:26 -0600 qemu (1.3.0+dfsg-5exp) experimental; urgency=low * qemu-system-split: split qemu-system into several target-specific packages: qemu-system-arm, qemu-system-mips, qemu-system-ppc, qemu-system-sparc, qemu-system-x86, and qemu-system-misc, plus qemu-system-common. (Closes: #636000) * add initial qemu-guest-agent package (just the binary for now, no startup script) (Closes: #676959) * do not try to install (linux-specific) virtfs-proxy-helper on kfreebsd * change order of audio drivers, in particular put pulseaudio (pa) first * ship OS-specific qemu-ifup (use trivial ifconfig invocation on kfreebsd) * qemu-system replaces qemu-utils due to virtfs-proxy-helper binary * chmod +x qemu-ifdown -- Michael Tokarev Mon, 28 Jan 2013 15:05:57 +0400 qemu (1.3.0+dfsg-4exp) experimental; urgency=low * install forgotten /etc/qemu-ifdown (dummy, but qemu complains without it) * install virtfs-proxy-helper in qemu-system not qemu-utils * add qemu-kvm.NEWS mentioning transition from qemu-kvm to qemu-system-x86_64. * do not pass -cpu kvm64 to qemu in kvm wrapper script, previous qemu-kvm used qemu64 cpu instead - the same as new qemu uses. * install kvm wrapper on x86 only, and install it as /usr/bin/kvm not /usr/bin/kvm/kvm (Closes: #698736). * stop shipping /usr/share/qemu/vapic.bin link (qemu uses kvmvapic.bin) * stop shipping /usr/share/qemu/vgabios.bin link (qemu uses vgabios-*.bin) * enable all guest audio devices * add breaks/replaces/provides/conflicts with kvm (very old package), qemu-kvm, and ubuntu's qemu-common. * stop caring about old (pre-squeeze) qemu -- Michael Tokarev Wed, 23 Jan 2013 11:08:47 +0400 qemu (1.3.0+dfsg-3exp) experimental; urgency=low * add ability to specify os-arch in configure-opts * libseccomp is linux-x86 not linux-any * e1000-discard-oversized-packets-based-on-SBP_LPE.patch CVE-2012-6075 (Closes: #696051) -- Michael Tokarev Mon, 21 Jan 2013 02:54:15 +0400 qemu (1.3.0+dfsg-2exp) experimental; urgency=low * qemu-nbd and qemu-io should be installed on kFreeBSD too * install qemu-system docs into /usr/share/doc/qemu-system, not .../qemu (Closes: #697085) * do not depend on ipxe, it does not provide our ROMs * move vde2 from Recommends to Suggests, since it isn't used often * require libspice-server-dev >= 0.12.2 and require it on i386 too, enable spice support * require libusbredirparser-dev >= 0.6, enable usb-redir * enable xen explicitly on amd64|i386 * enable xfsctl explicitly on linux * sort build-deps in debian/control and add comments * set permissions of /dev/kvm in qemu-system.postinst the same way it is done in old qemu-kvm package * set --localstatedir=/var (will be used later by guest agent) * bump qemu-system dependency on seabios to 1.7.2 and add symlinks for acpi-dsdt.aml and q35-acpi-dsdt.aml * import qemu-ifup and qemu-ifdown scripts from qemu-kvm, and modify qemu-ifup to allow usage of just `ip' command from iproute package (if installed) instead of old brctl+ifconfig. Add Breaks: for old iproute without bridge controls. Add iproute to Recomments, so that the scripts will actually work (previous script used sudo which should be in recommends too) * enable seccomp (and libseccomp-dev b-d) on linux, and add link-seccomp-only-with-softmmu-targets.patch * use $(MAKE) not make when building spapr-rtas.bin * update debian/watch (new place and new extensions) * add qemu-kvm package (transitional, depends on qemu-system), and add /usr/bin/kvm wrapper that calls qemu-system-x86_64 with some arguments to match original qemu-kvm behavour. (Closes: #560853) -- Michael Tokarev Sun, 20 Jan 2013 22:12:11 +0400 qemu (1.3.0+dfsg-1~exp3ubuntu8) raring; urgency=low * qemu-system.links: - Add link to usr/share/ovmf/OVMF.fd (LP: #1074207) - Fix target of /etc/kvm/kvm-if{up,down} links -- Serge Hallyn Tue, 29 Jan 2013 10:52:22 -0600 qemu (1.3.0+dfsg-1~exp3ubuntu7) raring; urgency=low * debian/control: qemu-system should Recommend cpu-checker (LP: #1103982) -- Serge Hallyn Mon, 28 Jan 2013 11:52:10 -0600 qemu (1.3.0+dfsg-1~exp3ubuntu6) raring; urgency=low * configure-opts: add audio-cards list (LP: #1102487) * configure-opts: change order of audio-drv-list for ubuntu, putting pa first. -- Serge Hallyn Mon, 21 Jan 2013 12:02:09 -0600 qemu (1.3.0+dfsg-1~exp3ubuntu5) raring; urgency=low * Add qemu-kvm breaks/replaces to qemu-user, to handle conflict over (i.e.) qemu-x86_64. (LP: #1102332) -- Serge Hallyn Mon, 21 Jan 2013 08:58:07 -0600 qemu (1.3.0+dfsg-1~exp3ubuntu4) raring; urgency=low * Move three docs from qemu-system.install to qemu.docs (LP: #1101798) -- Adam Conrad Sat, 19 Jan 2013 20:12:48 -0700 qemu (1.3.0+dfsg-1~exp3ubuntu3) raring; urgency=low * debian/patches/CVE-2012-6075.patch: Fix guest denial of service and possible code execution in hw/e1000.c by dropping oversize packets. -- Adam Conrad Sat, 19 Jan 2013 07:31:50 -0700 qemu (1.3.0+dfsg-1~exp3ubuntu2) raring; urgency=low * debian/rules: empty MAKEFLAGS when building spapr-rtas.bin on powerpc, to fix FTBFS due to parallel compile. -- Serge Hallyn Fri, 18 Jan 2013 15:51:09 -0600 qemu (1.3.0+dfsg-1~exp3ubuntu1) raring; urgency=low * Merge 1.3.0+dfsg-1~exp3. Remaining ubuntu delta: - debian/control: * update maintainer * remove vde2 recommends * build-deps: remove libusbredir, libvdeplug2-dev, libspice-server-dev, libspice-protocol-dev, libiscsi-dev, and libxen-dev. * qemu-keymaps: break/replace qemu-common * qemu-system: - break/replace qemu-common - depend on udev - remove openbios-ppc, openbios-sparc, and openhackware from Depends. (Intend to add them back once we can build them.) - provides: qemu-kvm * qemu-utils: break/replace qemu-kvm * set up transitional packages for qemu-kvm, qemu-common, and kvm. - qemu-kvm.upstart: - add qemu-system.qemu-kvm.upstart - debian/rules: add dh_installinit to get qemu-system.upstart installed. - take the defaults from the old qemu-kvm.defaults, and move them into the upstart job - debian/patches: - apply gridcentric patches from lp:~amscanne/+junk/gridcentric-qemu-patches - apply arm patches from git://git.linaro.org/qemu/qemu-linaro.git - ifup/down: - copy Debian qemu-kvm's kvm-ifup/down into debian/ - fix dh_install for kvm-ifup/down in debian/rules - add links for qemu-ifup/down in qemu-system.links - remove (debian's original) qemu-ifup from qemu-system.install - debian/qemu-system.postinst - udevadm trigger to fix up /dev/kvm perms - make the 'qemu' symlink point to qemu-system-x86_64, not -i386. - debian/qemu-system.links: - point 'kvm' to qemu-system-x86_64 - remove pxe-virtio, pxe-e1000 and pxe-rtl8139 links (which conflict with ones from kvm-ipxe). We may want to move the links from kvm-ipxe back to qemu-system at some point. * Add note about kvm to qemu-system.README.debian. * Copy kvm-ifup and kvm-ifdown from debian's qemu-kvm * Remove TAPBR from qemu-kvm.conf. * Make sure /dev/kvm gets its acls cleared: - Add acl to qemu-system.depends - update qemu-system.udev to run setfacl to set g::rw acl * qemu-system.qemu-kvm.conf: don't rmmod at stop * Remove vnc-jpeg, libiscsi-dev, and vde from debian/configure-opts * Remove hugepages sysctl file - qemu now supports transparent hugepages. -- Serge Hallyn Mon, 14 Jan 2013 23:22:51 -0600 qemu (1.3.0+dfsg-1~exp3) experimental; urgency=low * enable vde on kFreebsd too (no idea why it was disabled) * bluez (libbluetooth) is linux-specific * savevm.c-cleanup-system-includes.patch: remove excessive #includes from savevm.c (fixes FTBFS on kFreebsd due to wrong #include) -- Michael Tokarev Mon, 31 Dec 2012 15:52:23 +0400 qemu (1.3.0+dfsg-1~exp2) experimental; urgency=low * mention that 1.3: Closes #622319, #597527, #593547, #660154 * libcap and libcap-ng are linux-specific * include spapr-rtas.bin file in a pre-compiled pseudo-hex-with-assembly form in debian/spapr-rtas.hex, "compile" it (using sed magic) in build step and compare the result with the actually built binary on ppc. This binary is needed for ppc system emulation (qemu-system-ppc*). (Closes: #670909). * rename system-build to qemu-build, and merge user-build to qemu-build, building qemu-system and qemu-user in one go. Only qemu-system-static is left in separate build dir. Note that current qemu-user is linux-specific, even if qemu has bsd-user targets. * add or32 user target * debian/configure-opts - list of (possible arch- or os-specific) features to enable/disable. This is in order to ensure we always build with specific options enabled and error out if new upstream will dislike our dependencies, or if the deps will not work. Move config_audio_drv from debian/rules to this file too. For now do not explicitly enable xen, spice, usb-redir, since these requires some more work. Also pass $(QEMU_CONFIGURE_OPTIONS) to qemu configure line, to be able to quickly override some options. * do not build-depend on sharutils, since no uuencoded binaries are shipped anymore * do not build-depend on nasm, we don't compile from assembly anymore * remove libgpmg1-dev from build-depends. It was due to #267174, because of static link of qemu with libsdl. Now only qemu-user-static is linked statically, and this one does not use libsdl. * add myself to uploaders, and remove dm-upload-allowed * added main docs to qemu-system package * specify --libexecdir=/usr/lib to configure * mark all packages as Multi-Arch: foreign (at least it is possible to install i386 versions on amd64 arch) * replace "flags OC" with "credentials yes" in debian/binfmts/*, since that's the format update-binfmts expects to enable setuid binaries. (Closes: #683205) * build-depend on debhelper 9, and set debian/compat to 9 -- Michael Tokarev Mon, 31 Dec 2012 01:40:35 +0400 qemu (1.2.0.dfsg-1~exp1-0ubuntu2) raring; urgency=low * Remove kvm package - make qemu-system P/C/B: kvm. -- Serge Hallyn Mon, 14 Jan 2013 12:03:19 -0600 qemu (1.2.0.dfsg-1~exp1-0ubuntu1) raring; urgency=low [ Serge Hallyn ] * debian/control: - update maintainer - remove vde2 recommends - build-deps: remove libusbredir, libvdeplug2-dev, libspice-server-dev, libspice-protocol-dev, libiscsi-dev, and libxen-dev. - qemu-keymaps: break/replace qemu-common - qemu-system: - break/replace qemu-common - depend on udev - remove openbios-ppc, openbios-sparc, and openhackware from Depends. (Intend to add them back once we can build them.) - provides: qemu-kvm - qemu-utils: break/replace qemu-kvm - set up transitional packages for qemu-kvm, qemu-common, and kvm. * debian/rules: - install kvm-ifup and kvm-ifdown - dh_installinit the qemu-kvm upstart job * install a 30-qemu-kvm.conf into /etc/sysctl.c for nr_hugepages. * qemu-kvm.upstart: - add qemu-system.qemu-kvm.upstart - add mv_confile to qemu-system.preinst, postinst, and .postrm to rename /etc/init/qemu-kvm.conf to qemu-system.conf - debian/rules: add dh_installinit to get qemu-system.upstart installed. - take the defaults from the old qemu-kvm.defaults, and move them into the upstart job * debian/patches: - apply gridcentric patches from lp:~amscanne/+junk/gridcentric-qemu-patches - apply arm patches from git://git.linaro.org/qemu/qemu-linaro.git - apply nbd-fixes-to-read-only-handling.patch from upstream to make read-write mount after read-only mount work. (LP: #1077838) * ifup/down: - copy Ubuntu qemu-kvm's kvm-ifup/down into debian/ - fix dh_install for kvm-ifup/down in debian/rules - add links for qemu-ifup/down in qemu-system.links - remove (debian's original) qemu-ifup from qemu-system.install * debian/qemu-system.postinst - udevadm trigger to fix up /dev/kvm perms - make the 'qemu' symlink point to qemu-system-x86_64, not -i386. * debian/qemu-system.links: - point 'kvm' to qemu-system-x86_64 - remove pxe-virtio, pxe-e1000 and pxe-rtl8139 links (which conflict with ones from kvm-ipxe). We may want to move the links from kvm-ipxe back to qemu-system at some point. - add qemu-ifdown and qemu-ifup links * debian/qemu-system.install: - remove /etc/qemu-ifup link - add /etc/sysctl.d/30-qemu-kvm.conf [ Adam Conrad ] * Appease apt-get's dist-upgrade resolver by creating a qemu-common transitional package to upgrade more gracefully to qemu-keymaps. * Move all the empty transitional packages to the oldlibs section. * Restore the versioned dep from qemu-kvm (and kvm) to qemu-system. -- Serge Hallyn Fri, 04 Jan 2013 08:50:24 -0600 qemu (1.2.0+dfsg-1~exp1) UNRELEASED; urgency=low [ Michael Tokarev ] * new upstream version (1.3.0) (Closes: #676374, #622319, #597527, #593547, #660154) - Removed patches included upstream: do-not-include-libutil.h.patch configure-nss-usbredir.patch tcg_s390-fix-ld_st-with-CONFIG_TCG_PASS_AREG0.patch net-add--netdev-options-to-man-page.patch - update 02_kfreebsd.patch - do not build mpc8544ds.dtb - include new targets * Cleaned up the build system ALOT. Larger changes: - used explicit lists of emulated targets in debian/rules and generate everything else from there, instead of repeating these lists in lots of places. - stop using debian/$pkg.manpages and other auxilary files like this, moving eveything to debian/$pkg.install, because with the number of packages growing, amount of these small files becomes very large and the result is difficult to maintain. * ship forgotten target-x86_64.conf in qemu-system. * ship virtfs-proxy-helper in qemu-utils. * stop shipping tundev.c, since it does not reflect the reality for a long time now (Closes: #325761, #325754). * re-introduce support parallel build using DEB_BUILD_OPTIONS=parallel=N, this time by adding to $MAKEFLAGS instead of passing down to submakes * build-depend on libcap-ng-dev (for virtfs-proxy-helper) [ Vagrant Cascadian ] * Add libcap-dev to Build-Depends to support virtfs-proxy-helper. -- Michael Tokarev Sun, 30 Dec 2012 01:52:21 +0400 qemu (1.1.2+dfsg-6a) unstable; urgency=low * reupload to remove two unrelated files slipped in debian/ -- Michael Tokarev Mon, 18 Mar 2013 10:09:37 +0400 qemu (1.1.2+dfsg-6) unstable; urgency=low * another bugfix for USB, upstream from early days of past-1.1. usb-split-endpoint-init-and-reset.patch. With certain redirected to guest USB devices, qemu process may crash: usb_packet_complete: Assertion `((&ep->queue)->tqh_first) == p' failed. The patch fixes this by de-coupling reset and complete paths. Big thanks goes to Joseph Price who found the fix by doing a reverse git bisection. (Closes: #701926) -- Michael Tokarev Mon, 18 Mar 2013 09:07:24 +0400 qemu (1.1.2+dfsg-5) unstable; urgency=low * fix USB regression introduced in 1.1 (Closes: #683983) uhci-don-t-queue-up-packets-after-one-with-the-SPD-flag-set.patch Big thanks to Peter Schaefer (https://bugs.launchpad.net/bugs/1033727) for the help identifying the fix. -- Michael Tokarev Mon, 14 Jan 2013 12:20:29 +0400 qemu (1.1.2+dfsg-4) unstable; urgency=medium * linux-user-fix-mips-32-on-64-prealloc-case.patch (Closes: #668658) * e1000-discard-oversized-packets-based-on-SBP_LPE.patch: the second half of the fix for CVE-2012-6075. (Finally Closes: #696051) -- Michael Tokarev Wed, 09 Jan 2013 23:05:17 +0400 qemu (1.1.2+dfsg-3) unstable; urgency=low * add build-dependency on libcap-dev [linux-any] to enable virtfs support which has been dropped in 1.1. (Closes: #677654) * intel_hda-do-not-call-msi_reset-when-only-device-state-needs-resetting.patch patch to fix Fixing reset of MSI function in intel-hda virtual device. The fix (applied to stable-1.1.1) was partially wrong, as it actually added the msi_reset() call to two code paths instead of one as planned. Fix this by splitting the function in question into two parts. (Closes: #688964) * blockdev-preserve-readonly-and-snapshot-states-across-media-changes.patch: allow opening of read-only cdrom images/devices (Closes: #686776) * ahci-properly-reset-PxCMD-on-HBA-reset.patch: fix windows install on ahci (Closes: #696052) * e1000-discard-packets-that-are-too-long-if-not-SBP-and-not-LPE.patch: discard too long rx packets which may overflow guest buffer (Closes: #696051) * eepro100-fix-network-hang-when-rx-buffers-run-out.patch: fix e100 stall (Closes: #696061) * fix possible network stalls/slowness in e1000 device emulation: net-notify-iothread-after-flushing-queue.patch e1000-flush-queue-whenever-can_receive-can-go-from-false-to-true.patch (Closes: #696063) * fixes-related-to-processing-of-qemu-s-numa-option.patch: fixes numa handling (Closes: #691343) * qcow2-fix-avail_sectors-in-cluster-allocation-code.patch: fixes data corruption in stacked qcow2 (Closes: #695905) * qcow2-fix-refcount-table-size-calculation.patch: another possible corruption or crash in qcow2 (Closes: #691569) * tap-reset-vnet-header-size-on-open.patch: always ensure tap device is in known state initially (Closes: #696057) * vmdk-fix-data-corruption-bug-in-WRITE-and-READ-handling.patch: possible data corruption bug in vmdk image format (Closes: #696050) -- Michael Tokarev Sun, 16 Dec 2012 23:08:40 +0400 qemu (1.1.2+dfsg-2) unstable; urgency=low * remove debian/patches/fix-armhf-prctl.patch, it is included upstream in 1.1.0 version and is misapplied since 1.1.0~rc3+dfsg-1. * drop -jN passing to downstream makes, as it breaks dpkg-buildpackage -j and actually breaks build (Closes: #597524 - said to be fixed in 0.14.1 but was still present) * add revert-serial-fix-retry-logic.patch that restores old (semi-)working behavour of a virtual serial port. -- Michael Tokarev Wed, 19 Sep 2012 13:54:05 +0400 qemu (1.1.2+dfsg-1) unstable; urgency=low [Michael Tokarev] * new upstream stable/bugfix release, fixing a LOT of bugs, including CVE-2012-3515 (Closes: #686973, #681985) * bump versioned depends of seabios to 1.7.0~, since this version ships kvmvapic.bin. * ship /usr/share/qemu/qemu-icon.bmp (Closes: #681317) * do not build-depend on ceph (librbd-dev librados-dev), since ceph is having longstanding issues in wheezy. * add tcg_s390-fix-ld_st-with-CONFIG_TCG_PASS_AREG0.patch - upstream fix to un-break s390[x] emulation code. Similar fixes were included for other platforms in 1.1.2 changeset. Without this fix, qemu is basically useless on s390. * document -netdev option in the manpage, a long-standing omission (net-add--netdev-options-to-man-page.patch) [Vagrant Cascadian] * qemu-system: Add symlinks for extboot.bin, kvmvapic.bin and vapic.bin to binaries shipped in seabios. Closes: #678217, #679004. * qemu-system: Remove dead link for ne2k_isa.rom, which is not included in ipxe. Closes: #679004. * qemu-system: Bump versioned openbios-sparc and openbios-ppc Depends to 1.0+svn1060, to ensure we use at least version which is used by upstream. Wheezy already has the right version, but we should not break partial upgrades. -- Michael Tokarev Sun, 09 Sep 2012 18:52:57 +0400 qemu (1.1.0+dfsg-1) unstable; urgency=low [ Vagrant Cascadian ] * New upstream release. (Closes: #655604, #655145) [ Michael Tokarev ] * do-not-include-libutil.h.patch - don't include libutil.h&Co when not needed. Fixes FTBFS on kFreebsd with recent libbsd-dev. * drop libbsd-dev support on kFreebsd - no longer needed. * do not build USB host support on kFreebsd (qemu uses obsolete, now removed, USB API). Use the same hack/technique as FreeBSD qemu port does -- changing HOST_USB to "stub" after configure run. -- Vagrant Cascadian Thu, 07 Jun 2012 13:44:26 -0700 qemu (1.1.0~rc3+dfsg-1) experimental; urgency=low * New upstream release candidate. * debian/patches: - Update 02_kfreebsd. - Remove dont-block-sigchld, applied upstream. - Update configure-nss-usbredir. - Update fix-armhf-prctl. * debian/rules: Remove --disable-darwin-user from configure, as it is no longer present. * Apply patch to qemu-make-debian-root to improve argument handling. (Closes: #671723). Thanks to Askar Safin. * qemu-utils: Add recommends on sharutils, used by qemu-make-debian-root (Closes: #660296). * Add Build-Depends on libusbredirparser-dev to support usbredir protocol. * Add Build-Depends on libbsd-dev for kfreebsd. -- Vagrant Cascadian Wed, 30 May 2012 20:24:59 -0700 qemu (1.0.1+dfsg-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream stable version: - remove debian/patches/fix-malta-i8259 - remove debian/patches/qemu-ifunc-ppc.patch - remove debian/patches/x86-fix-cmpxchg.patch [ Michael Tokarev ] * apply patch to change backticks `` in debian/rules variables to $(shell) construct, by Allard Hoeve. (Closes: #660133) * depend on vgabios >= 0.6c-3~ not 0.6c-3, to assist backporting [ Hector Oron ] * Fix prctl syscall (Closes: #656926, #651083). [ Vagrant Cascadian ] * Update to Standards-Version 3.9.3, no changes necessary. -- Vagrant Cascadian Mon, 05 Mar 2012 13:05:14 -0800 qemu (1.0+dfsg-3) unstable; urgency=low [ Aurelien Jarno ] * Add a build-depends on libfdt-dev to enable some more emulated machines. * Really add binfmt support for s390x. [ Michael Tokarev ] * Depend on ipxe-qemu | ipxe (<< 1.0.0+git-20120202.f6840ba-2) after ipxe package split. This will probably need to be changed to just ipxe-qemu once it will be landed properly. [ Vagrant Cascadian ] * Apply patch to use dpkg-buildflags (Closes: #656276). Thanks to Moritz Muehlenhoff. -- Vagrant Cascadian Mon, 06 Feb 2012 17:56:15 -0800 qemu (1.0+dfsg-2) unstable; urgency=low [ Aurelien Jarno ] * Add patch from upstream to fix cmpxchg on x86. * Add patch to not link user builds with NSS (Closes: #648202). * Add binfmt support for s390x. * Bump depends on openbios-ppc and openbios-sparc on versions compatible with version 1.0. * Build on s390x (Closes: #651048). [ Vagrant Cascadian ] * qemu-make-debian-root: Fix argument processing to handle when both -s and -k are specified. Thanks to Mats Erik Andersson (Closes: #638047). * Add Patch from upstream to fix regression on malta with i8259 interrupts. * qemu-debootstrap: Add support for armhf and s390x. * debian/rules: remove config.log in the clean target. * qemu-make-debian-root: Use debootstrap's minbase variant, instead of a long list of excludes. -- Vagrant Cascadian Mon, 09 Jan 2012 16:01:17 -0800 qemu (1.0+dfsg-1) experimental; urgency=low * New upstream version. * Add build-dep on libxen-dev to enable xen support. * Add build-dep on libiscsi-dev to enable iscsi support. * Add patch from upstream to not block SIGCHLD (Closes: #618743). -- Vagrant Cascadian Fri, 30 Dec 2011 16:12:03 -0800 qemu (1.0~rc4+dfsg-1) experimental; urgency=low * New upstream version: - Fixes CVE-2011-4111. * remove patches applied upstream: - security/leftover.patch - Move_QEMU_INCLUDES_before_QEMU_CFLAGS - runnning-typo.patch * Install new qemu-system variants: xtensa, xtensaeb, alpha * debian/rules: Drop hack to rename "qemu" binary to "qemu-system-i386", as upstream now does the same. * Enable spice support on amd64: - Add Build-Depends: libspice-server-dev, libspice-protocol-dev * debian/rules: use dh_prep instead of "dh_clean -k", which is deprecated. * qemu-system: Bump dependency on seabios to 1.6.3~. -- Vagrant Cascadian Mon, 28 Nov 2011 23:40:24 -0800 qemu (0.15.1+dfsg-3) unstable; urgency=low * Add patch from upstream to fix FTBFS on ia64. -- Vagrant Cascadian Fri, 09 Dec 2011 23:48:21 -0800 qemu (0.15.1+dfsg-2) unstable; urgency=low * Add patch that fixes a buffer overrun (CVE-2011-4111). * Enable spice support on amd64: - Add Build-Depends: libspice-server-dev, libspice-protocol-dev * debian/rules: Use dh_prep instead of "dh_clean -k", which is deprecated. -- Vagrant Cascadian Mon, 28 Nov 2011 20:34:50 -0800 qemu (0.15.1+dfsg-1) unstable; urgency=low * New upstream version. -- Vagrant Cascadian Sun, 06 Nov 2011 10:37:31 -0800 qemu (0.15.0+dfsg-1) unstable; urgency=low * New upstream version. * Install new qemu-system, qemu-user and qemu-user-static variants: lm32, microblazeel, s390x, unicore32 * Patch from upstream to set QEMU_INCLUDES before QEMU_CFLAGS. * Update debian/watch to check http://qemu.org/download. -- Vagrant Cascadian Mon, 03 Oct 2011 12:29:18 -0700 qemu (0.15.0~rc2+dfsg-1) experimental; urgency=low * New upstream version. * qemu-debootstrap: Return the exit status of debootstrap instead of hard-coding a sucessful exit status. * Build-depend on librbd-dev. * Remove qemu-mipsel-debian-rootfs.patch, a variation was applied upstream. * Remove pcnet-ipxe patch, applied upstream. * Add Build-Depends on python. * Rename pxe rom symlinks to match upstream rename. -- Vagrant Cascadian Sun, 07 Aug 2011 13:27:43 +0200 qemu (0.14.1+dfsg-3) unstable; urgency=low [ Aurelien Jarno ] * Add patches/qemu-ifunc-ppc.patch and patches/qemu-ifunc-sparc.patch to fix FTBFS on ppc and sparc. [ Vagrant Cascadian ] * Apply patch to fix qemu-user-static mipsel emulation (Closes: #562887). * Drop support for esd (Closes: #633390). Thanks to Adrian Bunk. * Add dummy debian/rules build-indep/build-arch targets to resolve lintian warnings and future policy requirements. * Remove needless mention of "Author(s)" which triggers a lintian warning. * Fix maintainer-script-without-set-e lintian checks. * Fix hyphen-used-as-minus-sign lintian check for qemu-debootstrap manpage. -- Vagrant Cascadian Sat, 23 Jul 2011 10:18:37 +0200 qemu (0.14.1+dfsg-2) unstable; urgency=low * Add override for qemu-user-static binaries which embed needed libraries. * Add qemu-debootstrap manpage. * Add patch to fix typo in qemu-system-* (runnning -> running). * Update to Standards-Version 3.9.2, no changes necessary. -- Vagrant Cascadian Sat, 02 Jul 2011 22:29:17 -0700 qemu (0.14.1+dfsg-1) unstable; urgency=low * New upstream version. * Depend on ipxe instead of etherboot-qemu. * Add pcnet-ipxe.patch from upstream to fix ipxe with pcnet nic. * Add symlink for network boot with eepro100 cards (i82551, i82557b, i82559er). * Drop 01_rdb.patch, applied upstream. * Add support for building on armhf architecture. * Support debootstrap options that require arguments in qemu-debootstrap. Thanks to Stefano Rivera for the patch. Closes: #605660. -- Vagrant Cascadian Fri, 01 Jul 2011 22:49:40 -0700 qemu (0.14.0+dfsg-5.1) unstable; urgency=low * Non-maintainer upload. * Replace "librados1-dev" by "librados-dev" in Build-Dependencies. -- Mehdi Dogguy Fri, 29 Apr 2011 17:45:05 +0200 qemu (0.14.0+dfsg-5) unstable; urgency=low * Don't register qemu-mips(el) with binfmt on mips(el). Closes: #618369. -- Aurelien Jarno Thu, 17 Mar 2011 20:13:27 +0100 qemu (0.14.0+dfsg-4) unstable; urgency=low * Reupload without automatically generated patch debian-changes-0.14.0+dfsg-3. -- Aurelien Jarno Mon, 28 Feb 2011 15:10:04 +0100 qemu (0.14.0+dfsg-3) unstable; urgency=low [ Aurelien Jarno ] * Depends on vgabios (>= 0.6c-3) and add symlinks for qxl, stdvga and vmware bioses. Closes: #614252, #614169. * Tighten build-depends on linux-libc-dev to (>= 2.6.34), to get vhost-net support. * Build-depends on xfslibs-dev in order to get TRIM support on XFS filesystems. * Build-depends on librados1-dev to get rdb support. Closes: #614150. -- Aurelien Jarno Mon, 28 Feb 2011 09:06:00 +0100 qemu (0.14.0+dfsg-2) unstable; urgency=low [ Aurelien Jarno ] * Tighten dependencies on openbios-ppc, openbios-sparc and seabios to the versions in upstream 0.14.0. * patches/02_kfreebsd.patch: don't consider futimens/utimensat available if it is a stub. -- Aurelien Jarno Sun, 20 Feb 2011 00:36:20 +0100 qemu (0.14.0+dfsg-1) unstable; urgency=low [ Vagrant Cascadian ] * New upstream release candidate version. * qemu-user-static: - Drop binfmt support for emulating amd64 on i386, as it is broken and including it interferes with environments capable of running amd64 natively. Closes: #604712. - Remove binfmt support for installed targets in postinst before installing supported targets, to ensure no-longer-supported targets are actually removed. - Remove binfmt support for installed targets in prerm. [ Aurelien Jarno ] * Fix configuration files directory. Closes: #600735. * Enable AIO support. [ Vagrant Cascadian ] * Update debian/copyright to refer to upstream git repositry and clarify which binary blobs are removed to make the dfsg-free tarball. * Refresh debian/patches/security/leftover.patch. -- Vagrant Cascadian Fri, 18 Feb 2011 21:07:01 -0800 qemu (0.13.0+dfsg-2) experimental; urgency=low * Fix Build-Depends to exclude kfreebsd-any wildcards where appropriate. Thanks to Jon Severinsson. Closes: #592215 -- Vagrant Cascadian Sun, 24 Oct 2010 09:02:27 -0700 qemu (0.13.0+dfsg-1) experimental; urgency=low [ Aurelien Jarno ] * mips/mipsel binfmt registration: also match EI_ABIVERSION=1, used by OpenWRT. Closes: #591543. * Build-depends on libattr1-dev to enable VirtFS (9p) support. Closes: #592215. * Use architecture wildcards instead of explicit architecture list. [ Vagrant Cascadian ] * Switch to source format 3.0 (quilt). * New upstream version. * Drop 99_stable.diff, applied in new upstream version. * debian/watch: update to properly handle upstream rc versions. -- Vagrant Cascadian Mon, 18 Oct 2010 10:22:44 -0700 qemu (0.13.0~rc0+dfsg-2) experimental; urgency=low [ Aurelien Jarno ] * Add ia64 to the list of supported architectures. * Bump Standards-Version to 3.9.1 (no changes). * Update seabios, openbios-ppc and openbios-sparc dependencies. * Add 99_stable.diff to update from the stable-0.13 branch: - Fix sparc FTBFS. Closes: #591249. * Add qemu-debootstrap from Loïc Minier in qemu-static. Closes: #572952. -- Aurelien Jarno Tue, 03 Aug 2010 07:25:06 +0200 qemu (0.13.0~rc0+dfsg-1) experimental; urgency=low * New upstream release candidate version. * Do not configure audio drivers for qemu-user and qemu-user-static targets. * Remove patches: - 05_bochs_vbe, applied upstream. - 06_sh4, applied upstream. - 03_support_pselect_in_linux_user_arm, upstream implemented a simpler workaround. * Add Build-Depends on texinfo. * Drop libqemu-dev package. -- Vagrant Cascadian Thu, 29 Jul 2010 19:51:01 -0400 qemu (0.12.5+dfsg-3) unstable; urgency=medium * qemu-user-static: - Drop binfmt support for emulating amd64 on i386, as it is broken and including it interferes with environments capable of running amd64 natively. Closes: #604712. - Remove binfmt support for installed targets in postinst before installing supported targets, to ensure no-longer-supported targets are actually removed. - Remove binfmt support for installed targets in prerm. -- Vagrant Cascadian Sun, 28 Nov 2010 15:57:11 -0800 qemu (0.12.5+dfsg-2) unstable; urgency=low * mips/mipsel binfmt registration: also match EI_ABIVERSION=1, used by OpenWRT. Closes: #591543. * Update 99_stable.diff from the stable branch: - Fix windows XP boot with libvirt. Closes: bug#579166. -- Aurelien Jarno Tue, 17 Aug 2010 12:56:30 +0200 qemu (0.12.5+dfsg-1) unstable; urgency=low * New upstream stable version. * qemu-system: don't suggests kqemu-source. Closes: bug#589217. * qemu-keymaps: fix short description. -- Aurelien Jarno Fri, 23 Jul 2010 19:02:14 +0200 qemu (0.12.4+dfsg-4) unstable; urgency=high * Update debian/copyright. Closes: bug#588911. * Update 99_stable.diff from the stable branch: - Add documentation for the stdio signal option. Closes: bug#588514. * Split out keymaps in the qemu-keymaps package. Closes: bug#559174. * Bump Standards-Version to 3.9.0 (no changes). -- Aurelien Jarno Wed, 14 Jul 2010 15:13:04 +0200 qemu (0.12.4+dfsg-3) unstable; urgency=low * Update 99_stable.diff from the stable branch. -- Aurelien Jarno Wed, 16 Jun 2010 23:07:36 +0200 qemu (0.12.4+dfsg-2) unstable; urgency=low [ Vagrant Cascadian ] * qemu-system: Depend on etherboot-qemu package for PXE roms. Closes: #552406. [ Aurelien Jarno ] * Add 99_stable.diff to update from the stable branch. * Use --with-pkgversion to set the packaging version. -- Aurelien Jarno Wed, 02 Jun 2010 21:24:26 +0200 qemu (0.12.4+dfsg-1) unstable; urgency=low * New upstream stable version: - remove debian/patches/01_redir_doc.patch - remove debian/patches/04_cmd646.patch - update debian/patches/06_sh4.diff -- Aurelien Jarno Fri, 07 May 2010 19:43:48 +0200 qemu (0.12.3+dfsg-4) unstable; urgency=low * Add 05_bochs_vbe.diff backported from uptream to support vgabios 0.6c. * Add 06_sh4.diff containing a few SH4 specific fixes backported from upstream. -- Aurelien Jarno Fri, 09 Apr 2010 01:44:38 +0200 qemu (0.12.3+dfsg-3) unstable; urgency=low * Add symlink for seabios's multiboot.bin. * Change configure-stamp depends to non-phony target $(QUILT_STAMPFN). Closes: #574444. * Fix a crash in cmd646 bmdma code that can be triggered by the guest. Closes: #574539. * Explain that KQEMU support has been removed in qemu-system.NEWS. * Build-Conflicts with oss4-dev, as this package install a broken header. Closes: #575320. -- Aurelien Jarno Sat, 03 Apr 2010 17:07:23 +0200 qemu (0.12.3+dfsg-2) unstable; urgency=low [ Aurelien Jarno ] * Disable KVM support on PowerPC, as it needs at least 2.6.33 kernel headers. [ Vagrant Cascadian ] * Support pselect for linux-user arm target. Patch by Michael Casadevall. * Add symlink for seabios's linuxboot.bin to fix -kernel option. Thanks to Sami Liedes. Closes: #574174. * qemu-system: Switch back to using versioned dependencies for vgabios, bochsbios, openhackware, openbios-ppc and openbios-sparc rather than recommends/conflicts, to ensure a proper upgrade path. Closes: #573397. Reopens: #436094. -- Vagrant Cascadian Fri, 19 Mar 2010 09:31:29 -0700 qemu (0.12.3+dfsg-1) unstable; urgency=low [ Vagrant Cascadian ] * New upstream version: - Fix access to block devices on GNU/kFreeBSD. Closes: #558447. - Correctly update clock when waking up from sleep. Closes: #414165. - Slirp works with other network interfaces. Closes: #407702. - Add the possibility to specify a host to bind to with the -redir option. Closes: #366847. - Fix cirrus graphics card with windows 98. Closes: #522124. * Indicate repackaged upstream tarball by adding "+dfsg" to the version. Closes: #388740. * Remove second libgnutls-dev from build depends. * Update debian/watch with current location of tarball releases. * Drop binutils-gold patch, applied upstream. * Switch from bochsbios to seabios. Update bios.bin symlink and recommends/conflicts. * Bump Standards-Version to 3.8.4 (no changes). * Update my email address to vagrant@debian.org. [ Aurelien Jarno ] * Create a kvm group in postinst and set the group of /dev/kvm to kvm. Closes: #570544. * Add mips and mipsel to the list of supported architectures. * Add patches/01_redir_doc.patch to fix a mistake in the redirection documentation. * Add patches/02_kfreebsd.patch to use the legacy USB stack on GNU/kFreeBSD. * Force the depends from qemu on qemu-system, qemu-user and qemu-utils to (>= {source:Version}). * Update openbios related conflicts. -- Vagrant Cascadian Sun, 07 Mar 2010 09:20:43 -0800 qemu (0.11.1-2) unstable; urgency=low * Add versioned build-depends on etherboot. * Add PXE boot support for virtio network adapters. * Move qemu-make-debian-root to qemu-utils package, as it only produces disk images not useable by qemu-user. Lower recommends on debootstrap to suggests. Add Conflicts and Replaces on older versions of qemu-user. * Register /usr/bin/qemu with the alternatives system. Closes: #413840. * qemu: Add ${misc:Depends} so that debhelper can add dependencies if needed. -- Vagrant Cascadian Fri, 08 Jan 2010 09:26:11 -0800 qemu (0.11.1-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream version. * Drop build-depends on libfreebsd-dev on GNU/kFreeBSD. * qemu: suggests qemu-user-static. * qemu-user-static: register QEMU with binfmt mecanism. Closes: #306637. * Bump conflicts on openbios-ppc to (<< 1.0+svn505-1). * Add 01-binutils-gold.diff to fix FTBFS with binutils-gold. Closes: #556301. * Add sparc64 support. * Use new roms location in etherboot package. [ Vagrant Cascadian ] * qemu-utils, qemu-user, qemu-system: Set both Conflicts and Replaces for older versions of qemu to ensure proper upgrade path. * Add versioned build-dep on linux-libc-dev to ensure that KVM support is enabled. * qemu-system: Lower dependencies on vgabios, bochsbios, openhackware, openbios-ppc and openbios-sparc to recommends. Conflict with versions that are incompatible. Closes: #436094. * qemu-utils: Tighten the versioned conflicts with kvm, as not all older versions actually conflict. * qemu-make-debian-root: Apply modified patch from Nicolas Boulenguez that documents usage of -s, exits on error, and mentions that it is normally run as root. Closes: #447034. -- Aurelien Jarno Sun, 27 Dec 2009 12:09:11 +0100 qemu (0.11.0-6) unstable; urgency=low * Update from stable-0.11 branch. * qemu-utils: add Replaces: qemu (<< 0.11.0-2). Closes: #556627, #556860. -- Aurelien Jarno Fri, 20 Nov 2009 08:24:32 +0100 qemu (0.11.0-5) unstable; urgency=low * Change the Conflicts: into Replaces: to handle the move of /etc/ifup from one package to another correctly. Tighten the version. Closes: #556627. -- Aurelien Jarno Wed, 18 Nov 2009 16:30:39 +0000 qemu (0.11.0-4) unstable; urgency=low [ Aurelien Jarno ] * Update from stable-0.11 branch. * Default to alsa before OSS. Closes: #451234. [ Vagrant Cascadian ] * Updated Vcs-Git to a url more likely to work with debcommit. -- Aurelien Jarno Wed, 18 Nov 2009 16:26:17 +0100 qemu (0.11.0-3) unstable; urgency=low * qemu-system, qemu-user: fix conflicts version. Closes: #556627. * qemu-utils: conflicts with kvm (<= 85+dfsg-4.1), as it also provides qemu-io. -- Aurelien Jarno Tue, 17 Nov 2009 09:49:24 +0100 qemu (0.11.0-2) unstable; urgency=low * Update from stable-0.11 branch. * Move qemu-user.1 and qemu-make-debian-root.8 to the qemu-user package. * Add build-depends on uuid-dev. * Use a specific install file for qemu-utils on GNU/kFreeBSD. * Call dh_install with -s. -- Aurelien Jarno Tue, 17 Nov 2009 09:11:29 +0100 qemu (0.11.0-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream version. - Documents virtio NIC. Closes: #541182. - Increase the maximum TCG op a target instruction op can expand to. Closes: #530645, #542297. - KVM is enabled by default. Closes: #520894. - Fix CVE-2009-3616. Closes: #553589. * Drop 65_kfreebsd.patch. * Split the qemu package and use out of tree building. Based on a patch from Vagrant Cascadian. Closes: #524774. * Only recommends debootstrap for qemu-user and qemu-user static. Closes: #543356. * Remove /usr/share/qemu/proll.elf. Closes: bug#542247. * Add build-depends on libcurl4-gnutls-dev, libgnutls-dev and libsasl2-dev to enable new upstream features. * Bump Standards-Version to 3.8.3 (no changes). * Update Vcs-* fields to point to the new git repository. * Add Vagrant Cascadian to uploaders, and set DM-Upload-Allowed to yes. -- Aurelien Jarno Mon, 26 Oct 2009 10:17:57 +0000 qemu (0.10.50+git20090729-1) experimental; urgency=low [ Josh Triplett ] * Remove myself from Uploaders. [ Riku Voipio ] * new upstream RC version * nuke all linux-user patches (applied upstream) 06_exit_segfault 12_signal_powerpc_support 21_net_soopts 30_syscall_ipc 32_syscall_sysctl 35_syscall_sockaddr 48_signal_terminate 55_unmux_socketcall * nuke all other applied-upstream patches 01_nostrip (better version upstream) 07_i386_exec_name (can be reintroduced in debian/rules) 50_linuxbios_isa_bios_ram (shouldn't be needed anymore) 51_linuxbios_piix_ram_size (applied) 56_dhcp (crap) 60_ppc_ld (reintroduce if needed) 64_ppc_asm_constraints (ditto) 66_tls_ld.patch (ditto) 81_compile_dtb.patch (applied upstream) 82_qemu-img_decimal (ditto) * move to git * simplify build rules * Correct my email address -- Riku Voipio Wed, 29 Jul 2009 13:28:05 +0300 qemu (0.10.6-1) unstable; urgency=low [ Josh Triplett ] * Remove myself from Uploaders. [ Aurelien Jarno ] * New upstream version. * Bump Standards-Version to 3.8.2 (no changes). * Update debian/watch (closes: bug#538781). -- Aurelien Jarno Fri, 31 Jul 2009 15:25:36 +0200 qemu (0.10.5-1) unstable; urgency=low * New upstream version. -- Aurelien Jarno Sun, 24 May 2009 16:15:35 +0200 qemu (0.10.4-1) unstable; urgency=low * New upstream version. * debian/NEWS.Debian: new file, describing the cache policy options (closes: bug#526832). * debian/patches/70_versatile_memsize.patch: new patch to set a upper limit on the memory size of the versatile boards (closes: bug#527264). -- Aurelien Jarno Tue, 12 May 2009 18:31:29 +0200 qemu (0.10.3-1) unstable; urgency=low * New upstream version. * Tighten dependency on bochsbios. -- Aurelien Jarno Sat, 02 May 2009 10:14:21 +0200 qemu (0.10.2-2) unstable; urgency=low * Add missing comma in build-depends (closes: bug#524207). * Tighten dependency on vgabios. -- Aurelien Jarno Wed, 15 Apr 2009 22:30:43 +0200 qemu (0.10.2-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream stable release. -- Aurelien Jarno Tue, 07 Apr 2009 07:37:15 +0200 qemu (0.10.1-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream stable release: - patches/80_stable-branch.patch: remove. * debian/control: - Remove depends on proll. - Move depends on device-tree-compiler to build-depends. - Bump Standards-Version to 3.8.1 (no changes). * patches/82_qemu-img_decimal.patch: new patch from upstream to make qemu-img accept sizes with decimal values (closes: bug#501400). -- Aurelien Jarno Sun, 22 Mar 2009 10:13:17 +0100 qemu (0.10.0-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream release: - Fix fr-be keyboard mapping (closes: bug#514462). - Fix stat64 structure on ppc-linux-user (closes: bug#470231). - Add a chroot option (closes: bug#415996). - Add evdev support (closes: bug#513210). - Fix loop on symlinks in user mode (closes: bug#297572). - Bump depends on openbios-sparc. - Depends on openbios-ppc. - Update 12_signal_powerpc_support.patch. - Update 21_net_soopts.patch. - Drop 44_socklen_t_check.patch (merged upstream). - Drop 49_null_check.patch (merged upstream). - Update 64_ppc_asm_constraints.patch. - Drop security/CVE-2008-0928-fedora.patch (merged upstream). - Drop security/CVE-2007-5730.patch (merged upstream). * patches/80_stable-branch.patch: add patches from stable branch: - Fix race condition between signal handler/execution loop (closes: bug#474386, bug#501731). * debian/copyright: update. * Compile and install .dtb files: - debian/control: build-depends on device-tree-compiler. - debian/patches/81_compile_dtb.patch: new patch from upstream. - debian/rules: compile and install bamboo.dtb and mpc8544.dtb. -- Aurelien Jarno Sat, 07 Mar 2009 06:20:34 +0100 qemu (0.9.1+svn20090104-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. * Disable security/CVE-2008-0928-fedora.patch, it still breaks qcow format. -- Aurelien Jarno Sun, 04 Jan 2009 16:31:40 +0100 qemu (0.9.1+svn20081223-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - Fix CVE-2008-2382 * Update patches/48_signal_terminate.patch. * debian/rules: remove upstream flags from CFLAGS. -- Aurelien Jarno Tue, 23 Dec 2008 14:51:25 +0100 qemu (0.9.1+svn20081214-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - Fix jmp im on x86_64 when executing 32-bit code. Fix grub installation (Closes: bug#467148). -- Aurelien Jarno Sun, 14 Dec 2008 23:26:04 +0100 qemu (0.9.1+svn20081207-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - Do not depend on gcc-3.4 anymore (Closes: bug#440425, bug#463066). - Fix broken display introduced by CVE-2007-1320 (Closes: bug#422578). * debian/control: remove build-dependency on gcc-3.4. * debian/rules: remove code for dyngen targets. * Split 90_security.patch into - security/CVE-2007-5730.patch - security/leftover.patch * Replace 91_security.patch by security/CVE-2008-0928-fedora.patch taken from fedora repository and enable it (Closes: #469649). [ Riku Voipio ] * 2 patches gone, 19 to go: - 10_signal_jobs.patch: drop, merged upstream - 11_signal_sigaction.patch: drop, merged upstream - series: update -- Aurelien Jarno Sun, 07 Dec 2008 19:40:09 +0100 qemu (0.9.1+svn20081128-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - Include documentation for network downscript option (Closes: bug#506994). - Drop 00_bios.patch and pass --disable-blobs instead. - Update 12_signal_powerpc_support.patch. [ Riku Voipio ] * Drop 31_syscalls.patch as it makes no sense using host uselib to load target code into qemu's host memoryspace. -- Aurelien Jarno Sat, 29 Nov 2008 09:04:41 +0100 qemu (0.9.1+svn20081112-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - does not need a disk image anymore (Closes: bug#260935). - 53_openbios_size.patch: drop (merged upstream). - 90_security: update. * debian/control: depend on openbios-sparc (>= 1.0~alpha2+20081109) (Closes: bug#502411, bug#502414). -- Aurelien Jarno Sun, 09 Nov 2008 14:42:37 +0100 qemu (0.9.1+svn20081101-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - fix a heap overflow in Cirrus emulation (CVE-2008-4539). - 50_linuxbios_isa_bios_ram.patch: update. - 90_security.patch: update. -- Aurelien Jarno Sat, 01 Nov 2008 09:26:45 +0100 qemu (0.9.1+svn20081023-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. - 12_signal_powerpc_support.patch: update. - 50_linuxbios_isa_bios_ram.patch: update. -- Aurelien Jarno Thu, 23 Oct 2008 21:34:26 +0200 qemu (0.9.1+svn20081016-1) experimental; urgency=low [ Aurelien Jarno ] * New upstream snapshot. * patches/31_syscalls.patch: remove parts merged upstream. * debian/qemu-make-debian-root: - Fix bug introduced when fixing bug#496394 (Closes: bug#502325). -- Aurelien Jarno Mon, 13 Oct 2008 23:11:15 +0200 qemu (0.9.1+svn20081012-1) experimental; urgency=low [ Riku Voipio ] * Add a bunch of patches from scratchbox - 44_socklen_t_check work better with badbehavin net apps - 48_signal_terminate make qemu binary terminate on signals as expected - 49_null_checks don't bother some syscalls when null/zero is passed [ Aurelien Jarno ] * New upstream snapshot. - alpha is now a TCG target. - comma has been added to sendkey (closes: bug#414342). * patches/31_syscalls.patch: remove parts merged upstream. * patches/39_syscall_fadvise64.patch: remove (merged upstream). * patches/90_security.patch: remove parts merged upstream. * debian/control: build-depends on libbluetooth-dev. -- Aurelien Jarno Sun, 12 Oct 2008 18:46:54 +0200 qemu (0.9.1+svn20080905-1) experimental; urgency=low * New upstream snapshot. - SH4 is now a TCG target. * debian/watch: update URL location. -- Aurelien Jarno Tue, 02 Sep 2008 01:43:24 +0200 qemu (0.9.1+svn20080826-1) experimental; urgency=low * New upstream snapshot. * debian/qemu-make-debian-root: - Use mktemp instead of $$ to create temporary directories (Closes: bug#496394). * Ship a libqemu-dev package (Closes: bug#451618). -- Aurelien Jarno Tue, 26 Aug 2008 09:55:36 +0200 qemu (0.9.1+svn20080822-1) experimental; urgency=low * New upstream snapshot. - Focus to monitor to ask password (Closes: bug#473240). - TCG SPARC host support (Closes: bug#450817). - Check KQEMU availability before allocating memory (Closes: bug#414566). - Fix dead keys (Closes: bug#489594). - Fix ES1370 emulation (Closes: bug#494462). - New USB UHCI implemnation (Closes: bug#457651). - Add debian/patches/00_bios.patch. - Remove debian/patches/02_snapshot_use_tmpdir.patch (merged). - Remove debian/patches/04_do_not_print_rtc_freq_if_ok.patch (merged). - Remove patches/05_non-fatal_if_linux_hd_missing.patch (merged). - Update debian/patches/07_i386_exec_name.patch - Update debian/patches/12_signal_powerpc_support.patch - Remove debian/patches/33_syscall_ppc_clone.patch (merged differently). - Remove debian/patches/41_arm_fpa_sigfpe.patch (merged). - Remove debian/patches/42_arm_tls.patch (merged differently). - Update debian/patches/55_unmux_socketcall.patch. - Remove debian/patches/63_sparc_build.patch (useless). - Update debian/patches/65_kfreebsd.patch. - Update debian/patches/66_tls_ld.patch. - Remove debian/patches/70_manpage.patch (merged). - Remove debian/patches/71_doc.patch (merged). - Remove debian/patches/80_ui_curses.patch (merged). - Remove debian/patches/81_mips32r2_fpu.patch (merged). - Remove debian/patches/82_mips_abs.patch (merged). - Remove debian/patches/83_usb-serial.patch (merged). - Remove debian/patches/84_rtl8139.patch (merged). - Remove debian/patches/85_vvfat.patch (merged). - Remove debian/patches/86_df.patch (merged). - Remove debian/patches/87_eoi.patch (merged). - Remove debian/patches/88_dma.patch (merged). - Remove debian/patches/89_braille.patch (merged). - Remove debian/patches/92_no_shutdown.patch (merged). - Remove debian/patches/93_tmpfs.patch (merged). - Remove debian/patches/94_security.patch (merged). * debian/README.source: new file. * debian/patches/*: convert to patchlevel 1 (Closes: bug#484963). * debian/control: - Add build-depends on libesd0-dev. - Add build-depends on libpulse-dev. - Add build-depends on libvdeplug2-dev. - Add build-depends on etherboot. - Update list of supported targets (Closes: bug#488339). - Suggests kqemu-source. - Bump Standards-Version to 3.8.0. * debian/links: - Add missing manpage symlinks. * debian/rules: - Enable audio drivers depending on the system. - Enable DYNGEN targets depending on the system. - Install PXE bios from etherboot (Closes: bug#412010). - Don't ignore make clean errors. - Don't build DYNGEN targets on kfreebsd-amd64 (Closes: bug#494353). * debian/patches/22_net_tuntap_stall.patch: remove (outdated). -- Aurelien Jarno Fri, 22 Aug 2008 01:00:54 +0200 qemu (0.9.1-5) unstable; urgency=high [ Guillem Jover ] * Add Homepage field. * Add Vcs-Browser and Vcs-Svn fields. * Remove packaging repository information from debian/copyright. * Add former package co-maintainers to debian/copyright. * Serialize patch and configure steps in debian/rules to support parallel builds, as we are patching configure. * Remove myself from Uploaders. [ Aurelien Jarno ] * debian/patches/70_manpage.patch: remove curses documentation, it is already in debian/patches/80_ui_curses.patch (Closes: bug#477369). * debian/patches/94_security.patch: add format= to drive options (CVE-2008-2004). -- Aurelien Jarno Mon, 28 Apr 2008 21:54:12 +0200 qemu (0.9.1-4) unstable; urgency=high * debian/patches/52_ne2000_return.patch: drop, the patch is wrong. * Backports from upstream: - Typo in curses_keys.h - Documentation for the -curses option - Fix broken absoluteness check for cabs.d.*. - USB-to-serial device. - rtl8139: fix endianness on big endian targets - restore rw support for vvfat - x86-64: recompute DF after eflags has been modified when emulating SYSCALL - ignore reads to the EOI register - IDE: Improve DMA transfers by increasing the buffer size - Braille device support - Add -no-shutdown option (Closes: #326406) - Ask to use "mount -o remount" instead of "umount" and "mount" /dev/shm (Closes: #476539). * debian/qemu.doc-base: fix section. -- Aurelien Jarno Sun, 20 Apr 2008 23:29:42 +0200 qemu (0.9.1-3) unstable; urgency=low [ Aurelien Jarno ] * debian/patches/42_arm_tls.patch: fix to get qemu-system-arm working again. (Closes: #471722). * debian/patches/56_dhcp.patch: fix DHCP server to correctly support MS-Windows guests. (Closes: #471452). -- Aurelien Jarno Wed, 19 Mar 2008 18:58:29 +0100 qemu (0.9.1-2) unstable; urgency=low [ Aurelien Jarno ] * debian/patches/80_ui_curses.patch: pull new patch from upstream CVS (Closes: #442274). * debian/patches/65_kfreebsd.patch: link with -lfreebsd. (Closes: #465932). * debian/patches/81_mips32r2_fpu.patch: patch pulled from upstream to fix FPU issue on MIPS32R2. * debian/patches/42_arm_tls.patch: reenable, mistakenly disabled in the previous upload. (Closes: #469743). * debian/rules: fix parallel building. (Closes: #469981). * debian/patches/07_i386_exec_name.patch: install the i386 emulator as qemu-system-i386, and change qemu into a link pointing to the i386 version. * debian/README.Debian: add notes about qemu-system-ppc and video.x (Closes: #388735). * debian/patches/70_manpage.patch: describe the -curses option. (Closes: #433658). * debian/patches/71_doc.patch: fix the monitor change option. (Closes: #467106). * debian/patches/35_syscall_sockaddr.patch: fix sockaddr (Closes: #469351). * debian/patches/43_arm_cpustate.patch: disable (Closes: #444171). -- Aurelien Jarno Mon, 17 Mar 2008 01:29:03 +0100 qemu (0.9.1-1) unstable; urgency=low [ Aurelien Jarno ] * New upstream version. (Closes: #459801) - Supports s390 host. (Closes: #441119) - Fix PCI bar allocation. (Closes: #413315) - Fix typo in keys name. (Closes: #426181) - Fix segfault of qemu-i386 (Closes: #446868). - debian/control: bump depends on openbios-sparc to >= 1.0~alpha2+20080106. - debian/patches/02_snapshot_use_tmpdir.patch: Refreshed. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Likewise. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/06_exit_segfault.patch: Likewise. - debian/patches/10_signal_jobs.patch: Likewise. - debian/patches/11_signal_sigaction.patch: Likewise. - debian/patches/12_signal_powerpc_support.patch: Likewise. - debian/patches/21_net_soopts.patch: Likewise. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/32_syscall_sysctl.patch: Likewise. - debian/patches/33_syscall_ppc_clone.patch: Likewise. - debian/patches/35_syscall_sockaddr.patch: Likewise. - debian/patches/41_arm_fpa_sigfpe.patch: Likewise. - debian/patches/42_arm_tls.patch: Likewise. - debian/patches/50_linuxbios_isa_bios_ram.patch: Likewise - debian/patches/51_linuxbios_piix_ram_size.patch: Likewise - debian/patches/61_safe_64bit_int.patch: Removed, merged upstream. - debian/patches/63_sparc_build.patch: Refreshed. - debian/patches/80_ui_curses.patch: Likewise. * debian/patches/90_security.patch: fix 64-bit overflow. (Closes: #425634) * debian/qemu-make-debian-root: add a -s option to create sparse image. (Closes: #322325) * debian/control: bump depends on bochsbios to >= 2.3.5-1. Use BIOS-qemu-latest instead of BIOS-bochs-latest. (Closes: #402289, #442822) * debian/rules: build the non-dyngen part with default gcc. * debian/rules: support DEB_BUILD_OPTIONS="parallel=n". * debian/patches/70_manpage.patch: describe the arguments of the -usbdevice option in the manpage. (Closes: #443801) * debian/control: now using Standards-Version 3.7.3 (no changes needed). * debian/control: build-depends on libgnutls-dev to enable TLS support in VNC. * debian/patches/01_nostrip.patch: don't strip binaries during make install. (Closes: #437866) * debian/patches/53_openbios_size.patch: increase maximum prom size to support latest openbios. -- Aurelien Jarno Mon, 28 Jan 2008 21:24:14 +0100 qemu (0.9.0+20070816-1) unstable; urgency=low [ Guillem Jover ] * New upstream snapshot. - Fix hang on ARM during Etch installation. (Closes: #430164) - Fix data corruption with qcow 2. (Closes: #440296) - Fix errors with raw images > 4 GiB. (Closes: #425634) - debian/patches/01_typo_qemu-img.patch: Removed, merged upstream. - debian/patches/03_machines_list_no_error.patch: Likewise. - debian/patches/36_syscall_prctl.patch: Likewise. - debian/patches/37_syscall_mount.patch: Likewise. - debian/patches/38_syscall_semctl.patch: Likewise. - debian/patches/40_sparc_fp_to_int.patch: Likewise. - debian/patches/44_arm_eabi_built_on_64bit_arches.patch: Likewise. - debian/patches/62_linux_boot_nasm.patch: Likewise. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Synced. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/35_syscall_sockaddr.patch: Likewise. - debian/patches/42_arm_tls.patch: Likewise. - debian/patches/43_arm_cpustate.patch: Likewise. - debian/patches/51_linuxbios_piix_ram_size.patch: Likewise. - debian/patches/55_unmux_socketcall.patch: Likewise. - debian/patches/60_ppc_ld.patch: Likewise. - debian/patches/65_kfreebsd.patch: Likewise. - debian/patches/80_ui_curses.patch: Likewise. - debian/patches/90_security.patch: Likewise. * Remove Elrond and Guilherme de S. Pastore from Uploaders, with their permission, and add Aurelien Jarno and Riku Voipio. * Remove Tag field, this is better maintained outside of the package. * Add openbios-sparc64 to qemu_bios_files in debian/rules. [ Aurelien Jarno ] * Fix FTBFS on amd64. (Closes: #434296) - Drop debian/patches/34_syscalls_types.patch * debian/control: - Suggest samba. (Closes: #430368) * Add OpenBIOS for sparc. (Closes: #407076) - debian/control: depends on openbios-sparc. - debian/links: provide symlinks in /usr/share/qemu. -- Guillem Jover Tue, 04 Sep 2007 04:04:47 +0300 qemu (0.9.0-2) unstable; urgency=high [ Guillem Jover ] * Fix several security issues. (Closes: #424070) Thanks to Tavis Ormandy . - Cirrus LGD-54XX "bitblt" heap overflow. CVE-2007-1320 - NE2000 "mtu" heap overflow. - QEMU "net socket" heap overflow. - QEMU NE2000 "receive" integer signedness error. CVE-2007-1321 - Infinite loop in the emulated SB16 device. - Unprivileged "aam" instruction does not correctly handle the undocumented divisor operand. CVE-2007-1322 - Unprivileged "icebp" instruction will halt emulation. CVE-2007-1322 - debian/patches/90_security.patch: New file. * Enable adlib audio emulation. (Closes: #419170) * Fix structure padding for target_eabi_flock64 when built for a 64 bit architecture. (Closes: #414799) Thanks to Stuart Anderson . - debian/patches/44_arm_eabi_built_on_64bit_arches.patch: New file. * Fix qemu to be able to use LinuxBios. (Closes: #412212) Thanks to Ed Swierk . - debian/patches/50_linuxbios_isa_bios_ram.patch: New file. - 51_linuxbios_piix_ram_size.patch: Likewise. * Fix segfault when booting a Linux kernel w/o a disk image, by exiting but clarifying the message, as to use '/dev/null'. (Closes: #409817, #411780) Thanks to Robert Millan . - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Updated. * Fix segfault by using addrlen instead of target_addrlen in do_getpeername()/do_getsockname(). (Closes: #411910) Thanks to Stuart Anderson . - debian/patches/35_syscall_sockaddr.patch: Updated. * Fix semctl() for 32 bit targets on 64 bit hosts. (Closes: #414809) Thanks to Stuart Anderson . - debian/patches/38_syscall_semctl.patch: New file. * Remove Elrond from Uploaders with consent, always welcome to join back anytime. -- Guillem Jover Wed, 16 May 2007 08:08:31 +0300 qemu (0.9.0-1) experimental; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #409989) - Support for relative paths in backing files for disk images. (Closes: #390446) - debian/patches/01_doc_typos.patch: Removed, merged upstream. - debian/patches/38_syscall_arm_statfs64.patch: Likewise. - debian/patches/51_serial_small_divider.patch: Likewise. - debian/patches/67_ppc_ftbfs.patch: Likewise. - debian/patches/21_net_soopts.patch: Synced. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/35_syscall_sockaddr.patch: Likewise. - debian/patches/39_syscall_fadvise64.patch: Likewise. - debian/patches/42_arm_tls.patch: Likewise. - debian/patches/55_unmux_socketcall.patch: Likewise. - debian/patches/80_ui_curses.patch: Likewise. * Update the copyright information. * The ACPI initialization code has been moved to bochsbios. - debian/patches/acpi-dsdt.hex: Removed. - debian/rules: Do not install acpi-dsdt.hex. * Add more files to the list of roms removed from the tarball needed to be touched so that upstream 'make install' does not fail. * Added armeb and armel to Architecture fields and libgpmg1-dev Build-Depends. * Recommend vde2 instead of the transitional vde package. (Closes: #407251) * Fix typo in qemu-img output. (Closes: #408542) - debian/patches/01_typo_qemu-img.patch: New file. Thanks to Adam Buchbinder . * Symlink qemu-user(1) to qemu-m68k(1). * Reduce redundancy in qemu-user(1) synopsis. * Fix rounding in sparc floating point to integer conversions. - debian/patches/40_sparc_fp_to_int.patch: New file. Thanks to Aurelien Jarno . -- Guillem Jover Thu, 8 Feb 2007 01:01:29 +0200 qemu (0.8.2-5) unstable; urgency=low [ Guillem Jover ] * Added a missing part to the ARM NPTL support patch, initially lost. - debian/patches/42_arm_tls.patch: Updated. -- Guillem Jover Tue, 16 Jan 2007 11:44:00 +0200 qemu (0.8.2-4) unstable; urgency=medium [ Guillem Jover ] * Disable using iasl for now until it's ported to big-endian systems and include a locally built acpi-dsdt.hex file. -- Guillem Jover Sun, 3 Dec 2006 21:10:23 +0200 qemu (0.8.2-3) unstable; urgency=low [ Guillem Jover ] * Hopefully really fix powerpc FTBFS. -- Guillem Jover Sun, 5 Nov 2006 17:09:53 +0200 qemu (0.8.2-2) unstable; urgency=low [ Guillem Jover ] * Update Tag field to match new debtags vocabulary. * Clean properly. (Closes: #390166) - Remove the acpi generated files and the docs. - Revert the docs regeneration forcing logic. Thanks to Anderson Lizardo . * On install use DESTDIR instead of specifying all paths. (Closes: #396139) Thanks to Anderson Lizardo . * Port to GNU/kFreeBSD. (Closes: #327622) - Disable ALSA on non-linux systems. - Add a Build-Depends on libfreebsd-dev on kfreebsd systems. - Add kfreebsd-i386 and kfreebsd-amd64 to the Architecture field. - debian/patches/65_kfreebsd.patch: New file. Thanks Petr Salinger . * In qemu-make-debian-root do not explicitely install in aptitude and libsigc++-1.2-5c102, they are pulled now by default. And do not remove aptitude afterwards. (Closes: #392481) Thanks to Ted Percival . * Add experimental ncurses ui support. (Closes: #369462) - debian/patches/80_ui_curses.patch: New file. Thanks to Andrzej Zaborowski . * Add SO_PEERCRED and SO_SNDTIMEO support, and fix accept syscall when being passed NULL pointers. - debian/patches/21_net_sockopts.patch: Renamed to ... - debian/patches/21_net_soopts.patch: ... here. Modify. Thanks to Pablo Virolainen. * Add a fadvise64 syscall stub. - debian/patches/39_syscall_fadvise64.patch: New file. Thanks to Pablo Virolainen. * Add EABI unmuxed socket syscalls. - debian/patches/55_unmux_socketcall.patch: New file. Thanks to Riku Voipio. * Add TLS sections to the ARM and x86 linker scripts so that qemu user emulators can be linked statically. - debian/patches/66_tls_ld.patch: New file. * Move the documentation of the binary blob removals from the original upstream tarball from README.Debian to debian/copyright. * Reword the emphasis on "FAST!" from the package description. * Fix FTBFS on powerpc by adding the missing fp_status variable to the int32_to_float32 function calls. - debian/patches/67_ppc_ftbfs.patch: New file. -- Guillem Jover Sun, 5 Nov 2006 08:48:27 +0200 qemu (0.8.2-1) unstable; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #379461, #385029, #388810) - Add ACPI BIOS emulation support. (Closes: #372533) - Fix mouse invisible wall when using Windows XP. (Closes: #384666) - debian/patches/01_doc_typos.patch: Sync. - debian/patches/03_machines_list_no_error.patch: Likewise. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Likewise. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/06_exit_segfault.patch: Likewise. - debian/patches/12_signal_powerpc_support.patch: Likewise. - debian/patches/21_net_sockopt.patch: Likewise. - debian/patches/22_net_tuntap_stall.patch: Likewise. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/32_syscall_sysctl.patch: Likewise. - debian/patches/33_syscall_ppc_clone.patch: Likewise. - debian/patches/35_syscall_sockaddr.patch: Likewise. - debian/patches/36_syscall_prctl.patch: Likewise. - debian/patches/37_syscall_mount.patch: Likewise. - debian/patches/41_arm_fpa_sigfpe.patch: Likewise. - debian/patches/42_arm_tls.patch: Likewise. - debian/patches/61_safe_64bit_int.patch: Likewise. - debian/patches/63_sparc_build.patch: Likewise. - debian/patches/50_missing_keycodes.patch: Removed, integrated upstream. * Switch to quilt: - debian/control: Add quilt (>= 0.40) to Build-Depends. - debian/patches/series: New file. - debian/patch.mk: Removed. - debian/rules: Include '/usr/share/quilt/quilt.make' instead of 'debian/patch.mk'. * Build the ACPI Source Language files with iasl. * Add a Tag field to the binary package, using data from debtags. * Add 2006 to the debian/copyright years. * Add a Recommends on vde. (Closes: #386780) * Fix spelling error in package description (peripherials -> peripherals). (Closes: #388700) Thanks to Rakesh 'arky' Ambati . * Fix ne2000_can_receive return code to 0 when the command is STOP. (Closes: #386209) - debian/patches/52_ne2000_return.patch: New file. Thanks to Samuel Thibault . * Document the binary blob removals from the original upstream tarball in README.Debian. (Closes: #388740) -- Guillem Jover Mon, 25 Sep 2006 04:16:25 +0300 qemu (0.8.1-1) unstable; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #366955, #366637) - debian/patches/01_doc_typos.patch: Sync. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Likewise. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/12_signal_powerpc_support.patch: Likewise. - debian/patches/21_net_sockopt.patch: Likewise. - debian/patches/22_net_tuntap_stall.patch: Likewise. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/32_syscall_sysctl.patch: Likewise. - debian/patches/33_syscall_ppc_clone.patch: Likewise. - debian/patches/35_syscall_sockaddr.patch: Likewise. - debian/patches/36_syscall_prctl.patch: Likewise. - debian/patches/37_syscall_mount.patch: Likewise. - debian/patches/41_arm_fpa_sigfpe.patch: Likewise. - debian/patches/42_arm_tls.patch: Likewise. - debian/patches/43_arm_cpustate.patch: Likewise. - debian/patches/50_missing_keycodes.patch: Likewise. - debian/patches/51_serial_small_divider.patch: Likewise. - debian/patches/61_safe_64bit_int.patch: Likewise. - debian/patches/63_sparc_build.patch: Likewise. - debian/patches/40_arm_nwfpe_cpsr.patch: Removed, integrated upstream. * Make the patch system apply the patch on the first run. - debian/patches/64_ppc_asm_constraints.patch: Add DPATCHLEVEL. * Document how to use the images created with qemu-make-debian-root in the man page. Thanks to Jacobo . (Closes: #343450) * Add support for the -snapshot option to use the TMPDIR evironment variable. (Closes: #353880) - debian/patches/02_snapshot_use_tmpdir.patch: New file. * Do not exit with an error when using '-M ?'. (Closes: #365209) - debian/patches/03_machines_list_no_error.patch: New file. * Added symlink for system-mipsel emulator man page. * Build and clean the pc-bios directory. * Avoid segfaulting by using _exit(2) instead of exit(3) in qemu user emulators. (Closes: #338289) - debian/patches/06_exit_segfault.patch: New file. * Enable ALSA audio support and add libasound2-dev to the Build-Depends. * Now using Standards-Version 3.7.2 (no changes needed). -- Guillem Jover Sun, 28 May 2006 20:51:10 +0300 qemu (0.8.0-3) unstable; urgency=low [ Josh Triplett ] * Fix FTBFS on PowerPC caused by asm constraint problem. (Closes: #361727) - debian/patches/64_ppc_asm_constraints.patch. [ Guillem Jover ] * Clamp addrlen from host to target when using AF_UNIX. This fixes socket problems when using EABI. - debian/patches/35_syscall_sockaddr.patch: New file. * Fix floating point comparison on ARM NWFPE, due to glue code missmatch. (Closes: #356287) - debian/patches/40_arm_nwfpe_cpsr.patch: New file. - debian/patches/40_fpu_arm_sigfpe.patch: Rename to ... - debian/patches/41_arm_fpa_sigfpe.patch: ... this. Resync. Thanks to Ulrich Hecht. * Fix POSIX threads creation on ARM hanging when initializing the cpu structure being it cyclic. - debian/patches/43_arm_cpustate.patch: New file. * Add TLS support for ARM. Stolen from Scratchbox. - debian/patches/42_arm_tls.patch: New file. * Fix sysctl endian problem. - debian/patches/32_syscall_sysctl.patch: Update. Thanks to Timo Savola . * Remove now default '--enable-slirp' build option. (Closes: #356284) Thanks to Anderson Lizardo . * Remove unused sharedir to 'make install'. (Closes: #356418) Thanks to Anderson Lizardo . * Fix package not cleaning properly. (Closes: #356279) Thanks to Anderson Lizardo for the initial patch. * Add needed syscalls to make debootstrap work. (Closes: #356291) - debian/patches/36_syscall_prctl.patch: New file. - debian/patches/37_syscall_mount.patch: Likewise. - debian/patches/38_syscall_arm_statfs64.patch: Likewise. Thanks to Anderson Lizardo . * Remove obsolete Build-Dependency xlibs-dev. -- Guillem Jover Thu, 13 Apr 2006 11:53:00 +0300 qemu (0.8.0-2) unstable; urgency=low [ Guillem Jover ] * Switch away from cdbs to plain debhelper. * Upgrade to debhelper compat level 5. * Allow overriding CC compiler variable. (Closes: #345772) * Do not redefine 64 bit types on 64 bit arches. - debian/patches/61_safe_64bit_int.patch: New file. * Allow linux_boot.bin to be built on any arch by switching to nasm, and Build-Depending on it. - debian/patches/62_linux_boot_nasm.patch: New file. * The serial hw driver uses a small divider that gets zeroed when shifting bits to the right. (Closes: #276276, #348098) - debian/patches/51_serial_small_divider.patch: New file. Thanks to Samuel Thibault . * Escaped hyphens in qemu-user manpage, use italics for filenames and parameters and bold for options. * Partial build failure fix for Sparc. (Bugs: #317145, #336970) Thanks to Jurij Smakov . -- Guillem Jover Mon, 20 Feb 2006 09:17:46 +0200 qemu (0.8.0-1) unstable; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #344339) - Added support for Virtual FAT. (Closes: #313123) - Emulate repeated keystrokes when holding a key. (Closes: #298864) - debian/patches/01_doc_typos.patch: Sync. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Likewise. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/12_signal_powerpc_support.patch: Likewise. - debian/patches/21_net_sockopt.patch: Likewise. - debian/patches/22_net_tuntap_stall.patch: Likewise. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/32_syscall_sysctl.patch: Likewise. - debian/patches/33_syscall_ppc_clone.patch: Likewise. - debian/patches/40_fpu_arm_sigfpe.patch: Likewise. - debian/patches/50_missing_keycodes.patch: Likewise. * Added mips and mipsel to the lintian overrides for the user emulators being shlib-with-non-pic-code. * Added symlinks for mips, mipsel and system-arm emulator manpages. -- Guillem Jover Fri, 30 Dec 2005 05:44:53 +0200 qemu (0.7.2-2) unstable; urgency=low [ Josh Triplett ] * Add support for signal handling on PowerPC. (Closes: #335509) - debian/patches/12_signal_powerpc_support.patch: New file. [ Guillem Jover ] * Add Josh Triplett to Uploaders and packaging team. * Fix PowerPC build failure by reintroducing the ppc linker script and adding the missing _SDA_BASE_ and _SDA2_BASE_ symbols. (Closes: #336983) * Remove invalid patch making X11 fail at runtime. - debian/patches/20_net_socket.patch: Remove. - debian/patches/32_syscall_sysctl.patch: Sync. Thanks to Daniel Gimpelevich . * Avoid the patch system to try until it applies. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Added patch level. - debian/patches/12_signal_powerpc_support.patch: Likewise. -- Guillem Jover Wed, 21 Dec 2005 22:11:34 +0200 qemu (0.7.2-1) unstable; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #321232, #327168) - debian/patches/12_signal_silent.patch: Integrated upstream, remove. - debian/patches/50_ppc_ldscript.patch: Likewise. - debian/patches/33_syscall_truncate64.patch: Likewise. - debian/patches/01_doc_typos.patch: Resync with upstream. - debian/patches/04_do_not_print_rtc_freq_if_ok.patch: Likewise. - debian/patches/05_non-fatal_if_linux_hd_missing.patch: Likewise. - debian/patches/10_signal_jobs.patch: Likewise. - debian/patches/11_signal_sigaction.patch: Likewise. - debian/patches/20_net_socket.patch: Likewise. - debian/patches/21_net_sockopt.patch: Likewise. - debian/patches/22_net_tuntap_stall.patch: Likewise. - debian/patches/30_syscall_ipc.patch: Likewise. - debian/patches/31_syscalls.patch: Likewise. - debian/patches/32_syscall_sysctl.patch: Likewise. - debian/patches/40_fpu_arm_sigfpe.patch: Likewise. * Repackaged upstream source to deal with binaries w/o sources. - pc-bios/video.x: New file removed. * Create a new qemu-user(1) manpage and link all user emulator manpages to it. (Closes: #335163) * Add missing '-' and '=' keycodes for sendkey command. - debian/patches/50_missing_keycodes.patch: New file. (Closes: #334071) Thanks to Robert Millan . * Add manpage link for qemu-system-mips. * Make sysctl byte-swap the name values. - debian/patches/32_syscall_sysctl.patch: Merge patch. (Closes: #334458) Thanks to Josh Triplett . * Change documentation menu section to "Apps/Emulators". (Closes: #335062) Thanks to Frans Pop . * On PowerPC, do not zero registers r7-r31 in do_fork and zero register r3. Fixing segfaults on programs using the clone syscall. - debian/patches/33_syscall_ppc_clone.patch: New file. (Closes: #335159) Thanks to Josh Triplett and Paul Brook . * Tighten vgabios and bochsbios versioned Depends. * Add video.x to the list of roms to touch to make qemu Makefile happy. * Add lintian overrides for the user emulators being shlib-with-non-pic-code. * Wrap lines in debian/control fields (knowingly breaking policy). [ Guilherme de S. Pastore ] * debian/control: - Updated my e-mail address. * debian/copyright: - Dropped André from team members list, not a single contribution ever. -- Guillem Jover Mon, 31 Oct 2005 05:01:45 +0200 qemu (0.7.0-4) unstable; urgency=low [ Guillem Jover ] * Rebuild source with locally deborked dpkg-source. (Closes: #321019) * Added the location of the Subversion repo used for the packages and fixed the upstream URL in debian/copyright. * Lower case title header in qemu-make-debian-root man page. * Use dd instead of cat to generate the qemu debian root image. (Closes: #315952) -- Guillem Jover Wed, 3 Aug 2005 05:53:30 +0300 qemu (0.7.0-3) unstable; urgency=low [ Guillem Jover ] * Update watch file to version 3, use perlre and new upstream site. * Now using Standards-Version 3.6.2 (no changes needed). * Fix TUN/TAP network interface stalling the connection. (Closes: #290569) Thanks to Vitaly Belostotsky . * Link against librt, needed by the new clock_gettime syscall. - debian/patches/31_syscalls.patch: Update. (Closes: #315388) Thanks to Timo Savola for noticing. * Force Build-Dependency on binutils >= 2.16-1 needed by the amd64 and powerpc linker scripts. (Closes: #262655) * Force usage of gcc-3.4. (Closes: #319527) * Add missing Build-Dependency on zlib1g-dev. Thanks to Reinhard Tartler . * Include in syscall.c to avoid the broken headers in linux-kernel-headers 2.6.12. - debian/patches/34_syscalls_types.patch: New file. Thanks to Octavian Cerna . * Fix powerpc linker script. - debian/patches/50_ppc_ldscript.patch: New file. Thanks to Octavian Cerna . -- Guillem Jover Mon, 1 Aug 2005 02:48:09 +0300 qemu (0.7.0-2) unstable; urgency=low [ Guillem Jover ] * Add alpha, sparc, arm and s390 to Architectures (and to the libgpmg1-dev Build-Depends). * Forward SIGSTOP and SIGCONT sent to QEMU to the emulated application. - debian/patches/10_signal_jobs.patch: New file. Thanks to Ulrich Hecht. * Return EINVAL on emulated sigaction when given invalid signal parameters SIGKILL and SIGSTOP. - debian/patches/11_signal_sigaction.patch: New fle. Thanks to Valtteri Rahkonen. * Do not print messsages for uncaught signal, thus fixing the case were some applications want to kill their siblings. - debian/patches/12_signal_silent.patch: New file. Thanks to Valtteri Rahkonen * Fix Unix sockets by handling correctly AF_UNIX socket address structure length. - debian/patches/20_net_socket.patch: New file. Thanks to Timo Savola. * Implement SO_LINGER, SO_RCVTIMEO, SO_SNDTIMEO, SO_PEERNAME and SO_PEERCRED getsockoptions. - debian/patches/21_net_sockopt.patch: New file. Thanks to Valtteri Rahkonen. * Implement SysV IPC message and semaphore syscalls. - debian/patches/30_syscall_ipc.patch: New file. Thanks to Valtteri Rahkonen. * Implement acct, umount2, uselib, swapon, syslog, ftruncate64, mincore, madvise, readahead and clock_gettime syscalls. - debian/patches/31_syscalls.patch: New file. Thanks to Ulrich Hecht. * Implement sysctl CTL_KERN/KERN_VERSION - debian/patches/32_syscall_sysctl.patch: New file. Thanks to Timo Savola. * Implement truncate64 syscall. - debian/patches/33_syscall_truncate64.patch: New file. Thanks to Valtteri Rahkonen. * Implement ARM floating point exeption emulation. - debian/patches/40_fpu_arm_sigfpe.patch: New file. Thanks to Ulrich Hecht. -- Guillem Jover Sun, 19 Jun 2005 15:05:37 +0300 qemu (0.7.0-1) experimental; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #308459, #308494) * Do not require a disk image when booting a Linux kernel. (Closes: #260935) Thanks to Jonas Smedegaard . [ Guilherme de S. Pastore ] * Rewrote README.Debian for more clarity * Add support for amd64 as a host architecture. (Closes: #262655) - Add build-depend on libgpmg1-dev on amd64. * Fixed qemu-make-debian-root so that it shows the name by which it was called on the usage notice, not "%s". (Closes: #303507) Thanks to Micah Anderson . [ Elrond ] * Clean up more files, so they don't end up in the final .diff.gz * Switch to external proll and openhackware: - Instead of patching qemu's Makefile, trick it by giving it empty files to install and remove them straight after install. - Don't ship the roms in debian/roms any more! - Instead add more symlinks. - Update Depends: apropiately. -- Guillem Jover Fri, 27 May 2005 02:06:20 +0300 qemu (0.6.1+20050407-1) unstable; urgency=low [ Guillem Jover ] * New upstream snapshot. - Fix -user-net. (Closes: #295019) - Fix win2k and winxp image booting. (Closes: #285170, #292707) - Fix installation of outdated documentation. (Closes: #286931) - Provide qemu-img instead of qemu-mkcow. (Closes: #290713) - Remove debian/patches/05_fix_openpic_timer_test.patch, integrated upstream. - Remove debian/patches/02_selectable_sdl_keyboard.patch, superseded by new keyboard implementation. (Closes: #284510, #299432) - Remove debian/patches/01_mkcow_section_and_hyphens.patch. - Conditionalize qemu -g option for some architectures. (Closes: #298988) * Added new copyright year to debian/copyright. * Added initial qemu-make-debian-root man page. (Closes: #286932) * Fixed typos in qemu documentation. (Closes: #301933) Thanks to A Costa . * Added Elrond to Uploaders and packaging team. * Use the default target list: - Do not build qemu-fast anymore as it is deprecated upstream anyway. (Closes: #278602, #281510) - New targets armeb and system-x86_64. * Updated ROM images under debian/roms/: - OpenHackWare 0.4. - Proll 18 with qemu specific patches. * Remove uudecoded files from pc-bios/ on clean. * Fix qemu-make-debian-root to behave correctly even if the needed Recommends are not installed. [ Guilherme de S. Pastore ] * Create a doc-base entry for the package (Closes: #290669) * debian/control: - Add debootstrap to the 'Recommends: ' line, as needed by qemu-make-debian-root (Closes: #302848) - Moved sharutils from dependency to recommendation, as it is only needed by qemu-make-debian-root * debian/docs: - Do not include README.distrib in the binary package (Closes: #302853) [ Elrond ] * Replace "libgpmg1-dev | not+linux-gnu" by "libgpmg1-dev [i386 powerpc]" in Build-Depends. qemu should not need to build-depend on it anyway, the real problem is described in Bug#267174. When it is solved, we can remove our dependency. Until then please remember to add any arch, which we will build on and that has gpm. This change hopefully calms: * Add versions to the dependencies on bochsbios and vgabios (Closes: #288997): - vgabios: Use the current version from testing/unstable (0.4c+20041014-1), according to Frans Pop , this fixed those "blank screen" problems. - bochsbios: Use the current version from unstable (2.1.1+20041109-3), as Guillem Jover fixed the networking in that version. -- Guillem Jover Thu, 7 Apr 2005 01:26:01 +0300 qemu (0.6.1-1) unstable; urgency=low [ Guillem Jover ] * New upstream release. (Closes: #281626) - Booting from drive b is not supported anymore. (Closes: #275679) - Fix ne2k network interface that was not working in some situations. (Closes: #281862) - Remove debian/patches/06_build_gcc3.4.patch, fixed upstream. - Remove debian/patches/04_lfs.patch, fixed upstream. - Remove debian/patches/02_fix_powerpc_FTBFS.patch, fixed upstream. - Remove debian/patches/00_escape_manpage_hyphens.patch, not needed. - Sync debian/patches/03_use_external_bios.patch. * Include uuencoded source for proll 18, some build fixes and its binary proll.bin on debian/roms/. * Suggests sudo to be used by the qemu-ifup script. Thanks to Elrond . * Make sudo in qemu-ifup explain what the password is for. (Closes: #281380) * Add an option to select the method to convert keyevent to keycode in the SDL keyboard handling code. Added support for Right Shift in the generic handler. (Closes: #282658) Thanks to Elrond . * Do not set RTC frequency to 1024 or warn about this if it has already the correct value. (Closes: #281403) * Enabled sparc-softmmu support. -- Guillem Jover Sat, 27 Nov 2004 23:23:49 +0100 qemu (0.6.0.dfsg.2-1) unstable; urgency=low [ Guillem Jover ] * Repackaged upstream source to remove external included files. - pc-bios/ppc-rom.bin: Removed. - pc-bios/OpenHackWare_0.3.tar.bz2: Likewise. - pc-bios/vgabios.bin: Likewise. - pc-bios/vgabios-cirrus.bin: Likewise. - pc-bios/vgabios-cvs-2004-06-17.tgz: Likewise. * Include uuencoded source for OpenHackWare 0.3.1 and its binary ppc-rom.bin on debian/roms/. Add a Build-Depends on sharutils. * Update tundev.c. Pass -tun-dev to qemu without the equal sign. Thanks to Isaac Clerencia . * Fix README.Debian to point to the renamed qemu-make-debian-root. * Add Depends on sharutils needed by qemu-make-debian-root. (Closes: #272130) * Use and depend on vgabios package, which is in sync with bochsbios that checks for rom bios checksums. (Closes: #281202) * Enable LFS globally, thus fixing problems with qemu-mkcow when using an existing large image. (Closes: #279925) * Fix openpic timer write test, catched from a warning about a constant value larger than the type it was casted to. * Fix build failure with gcc 3.4. Patch stolen from Gentoo BTS. -- Guillem Jover Mon, 15 Nov 2004 10:46:54 +0100 qemu (0.6.0.dfsg.1-1) unstable; urgency=high [ Guillem Jover ] * Repackaged upstream source to deal with binaries w/o sources. (Closes: #268780) - pc-bios/bios.bin: Removed binary without source. Now using bochsbios package. - pc-bios/vgabios.bin: Rebuilt from vgabios cvs 2004-06-17 snapshot, source included. - pc-bios/vgabios-cirrus.bin: Likewise. - pc-bios/ppc-rom.bin: Rebuilt on voltaire, source included. - pc-bios/linux_boot.bin: Rebuilt from source. * Move make-debian-root.sh to /usr/sbin/qemu-make-debian-root. (Closes: #268705) -- Guillem Jover Mon, 13 Sep 2004 01:28:54 +0200 qemu (0.6.0-2) unstable; urgency=high [ Guilherme de S. Pastore ] * Fixed dangling symlinks under /usr/share/man/man1. (Closes: #264764) [ Guillem Jover ] * Fix FTBFS on powerpc. - debian/patches/02_fix_powerpc_FTBFS.patch: New file. -- Guillem Jover Wed, 18 Aug 2004 15:50:43 +0200 qemu (0.6.0-1) unstable; urgency=medium * New maintainers. (Closes: #258900) * New upstream release. (Closes: #258732) - Installs ppc BIOS ROM file. (Closes: #257492) - Builds with -fno-strict-aliasing. (Closes: #257123) [ Guilherme de S. Pastore ] * debian/rules: - Cleaned up. - Ported to use CDBS. * 00_escape_manpage_hyphens.patch: - Correct a little typo and escape hyphens in upstream manpage. * 01_mkcow_section_and_hyphens.patch: - Fix section mismatch and escape hyphens in the qemu-mkcow manpage. * Added simple /etc/qemu-ifup helper script. (Closes: #245281) Thanks to Martin Michlmayr . * Cleaned debian/watch. * UTF-8'ed debian/changelog. * Updated Standards-Version to 3.6.1.1. * Removed outdated and unnecessary debian/qemu-i386.sgml. - Removed build dependency on docbook-to-man. * Removed "x86" part from the description (hey, qemu is not x86-only in any way). Deserves a complete rewrite, shall be done soon. [ Guillem Jover ] * Lower-case package short description. * Added missing CPU emulations to the description. * Cleaned and updated debian/copyright. * Removed manually added libx11-6 dependency. * Only Build-Depends on libgpmg1-dev on GNU/Linux systems. * Cosmetic unification to debian/changelog. * debian/rules: - Remove generated files. - Give exec perms to qemu-ifup. -- Guillem Jover Sun, 8 Aug 2004 17:24:08 +0200 qemu (0.5.5-2) unstable; urgency=low * Re-enable SDL disabled while I was bugchasing. (Closes: #255014) * Yes, this is really 0.5.5. (Closes: #254655) * Enable slirp networking. (Closes: #253573) * Add Build-Depends on libgpmg1-dev (found by Bastian Blank, probably breaks Hurd but that's a problem for another day). -- Paul Russell Thu, 24 Jun 2004 06:26:42 +0200 qemu (0.5.5-1) unstable; urgency=low * New upstream release. (Closes: #237556, #237556) * Applied patch to add options to make_debian_root.sh. (Closes: #238787) * Applied patch for other archs: hmmm... (Closes: #251420) * Do umount -d in make_debian_root.sh. (Closes: #251775) -- Paul Russell Tue, 1 Jun 2004 03:50:05 +0200 qemu (0.5.4-1) unstable; urgency=low * New upstream release. (Closes: #246634) * qemu-mkcow included in upstream. * Added tundev program source in doc, to see if people find it useful. -- Paul Russell Mon, 3 May 2004 08:14:49 +0200 qemu (0.5.3-1) unstable; urgency=low * New upstream release. (Closes: #237556) * Use aalib-config --static-libs. (Closes: #243325) * Document Control-Shift to release mouse pointer. (Closes: #238074) -- Paul Russell Tue, 13 Apr 2004 02:58:49 +0200 qemu (0.5.2-4) unstable; urgency=low * Fix PPC install (Michel Daenzer patch). (Closes: #238431) * Simplify deps (might be wrong, but it's neater). (Closes: #238430) -- Paul Russell Wed, 17 Mar 2004 01:35:47 +0100 qemu (0.5.2-3) unstable; urgency=low * Make compile on woody. (Closes: #238163) * Include qemu-doc.html. (Closes: #238076) * Wrote qemu-i386 man page. (Closes: #238077) -- Paul Russell Mon, 15 Mar 2004 23:56:25 +0100 qemu (0.5.2-2) unstable; urgency=low * Fix build problem so bios.bin etc. can be found. (Closes: #237553) -- Paul Russell Fri, 12 Mar 2004 05:43:00 +0100 qemu (0.5.2-1) unstable; urgency=low * Initial Release. (Closes: #187407) -- Paul Russell Wed, 3 Mar 2004 02:18:54 +0100 debian/kvm0000775000000000000000000000006412274173537007726 0ustar #! /bin/sh exec qemu-system-x86_64 -enable-kvm "$@" debian/control0000664000000000000000000004570112317645424010612 0ustar Source: qemu Section: otherosfs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian QEMU Team Uploaders: Aurelien Jarno , Riku Voipio , Vagrant Cascadian , Michael Tokarev Build-Depends: debhelper (>= 9), # In comments below we also specify (system-specific) arguments # to qemu's configure script, -- optional features which depend # on build-dependencies. # pc-bios/*.dts => *.dtb (PPC firmware) device-tree-compiler, texinfo, python, # --enable-linux-aio linux-* libaio-dev [linux-any], # --audio-drv-list=pa,alsa,sdl,oss linux-* # --audio-drv-list=pa,oss,sdl kfreebsd-* libasound2-dev [linux-any], # for virtfs # --enable-attr libattr1-dev, # --enable-bluez linux-* libbluetooth-dev [linux-any], # --enable-brlapi libbrlapi-dev, # --enable-virtfs linux-* # needed for virtfs libcap-dev [linux-any], # --enable-cap-ng linux-* libcap-ng-dev [linux-any], # --enable-curl libcurl4-gnutls-dev, # --enable-fdt libfdt-dev (>= 1.4.0), # --enable-vnc-tls # --enable-vnc-ws libgnutls-dev, # gtk ui is almost the same as sdl but adds bloat # --disable-gtk ## --with-gtkabi=2.0 # libgtk2.0-dev, libvte-dev (>> 0.18.0~), # ubuntu/libiscsi is in universe # --enable-curses libncurses5-dev, # --with-system-pixman libpixman-1-dev, # audio-drv-list += pa libpulse-dev, # --enable-rbd librados-dev, librbd-dev, # --enable-vnc-sasl libsasl2-dev, # --enable-sdl libsdl1.2-dev (>> 1.2.1), # --enable-seccomp linux-amd64|linux-i386 libseccomp-dev (>> 2.1.0) [linux-amd64 linux-i386], # --enable-spice linux-amd64|linux-i386 libspice-server-dev (>= 0.12.2~) [linux-amd64 linux-i386], libspice-protocol-dev (>= 0.12.3~) [linux-amd64 linux-i386], # --enable-libusb linux-* libusb-1.0-0-dev (>= 2:1.0.13~) [linux-any], # --enable-usb-redir linux-* libusbredirparser-dev (>= 0.6~) [linux-any], # ubuntu/libssh2 is in universe # ubuntu/vde2 is in universe # needed for sdl libx11-dev, # --enable-xen linux-amd64|linux-i386 libxen-dev [linux-amd64 linux-i386], # XXX need to check minimum linux-headers requiriment linux-libc-dev (>= 2.6.34) [linux-any], # --enable-uuid uuid-dev, # --enable-xfsctl linux-* xfslibs-dev [linux-any], # always needed zlib1g-dev, # other optional features we enable # --enable-vnc # --enable-vnc-png # --enable-kvm linux-* # --enable-vhost-net linux-* # is it really linux-specific? ##--enable-glusterfs todo Build-Conflicts: oss4-dev Standards-Version: 3.9.4 Homepage: http://www.qemu.org/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git;a=shortlog;h=refs/heads/ubuntu-trusty XS-Debian-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git Vcs-Git: git://anonscm.debian.org/pkg-qemu/qemu.git -b ubuntu-trusty XS-Debian-Vcs-Git: git://anonscm.debian.org/pkg-qemu/qemu.git Package: qemu Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system (>= ${source:Version}), qemu-user (>= ${source:Version}) [linux-any], qemu-utils (>= ${source:Version}) Suggests: qemu-user-static [linux-any] Description: fast processor emulator QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. QEMU has two operating modes: . * User mode emulation: QEMU can launch Linux processes compiled for one CPU on another CPU. * Full system emulation: QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. . As QEMU requires no host kernel patches to run, it is very safe and easy to use. . This package is a metapackage depending on all qemu-related packages. Package: qemu-keymaps Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Breaks: qemu-system (<< 0.12.4+dfsg-4), qemu-common (<< 1.2.0.dfsg-1) Replaces: qemu-system (<< 0.12.4+dfsg-4), qemu-common (<< 1.2.0.dfsg-1) Description: QEMU keyboard maps QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides keyboard maps to be used by the qemu-system package or QEMU derivatives. Package: qemu-system Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-arm, qemu-system-aarch64 [arm64], qemu-system-mips, qemu-system-ppc, qemu-system-sparc, qemu-system-x86, qemu-system-misc Description: QEMU full system emulation binaries QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This metapackage provides the full system emulation binaries for all supported targets, by depending on all per-architecture system emulation packages which QEMU supports. Package: qemu-system-common Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Pre-Depends: adduser Depends: ${misc:Depends}, ${shlibs:Depends}, udev, acl Breaks: qemu-common (<< 1.2.0.dfsg-1), # qemu-system before qemu-system-split qemu-system (<< 1.3.0+dfsg-5), # qemu-utils had virtfs-proxy-helper qemu-utils (<< 1.3.0+dfsg-4), # iproute before 20110315 were unable to deal with bridge (set master device) iproute (<< 20110315-1) Replaces: qemu (<< 1.3.0+dfsg-5), qemu-common (<< 1.2.0.dfsg-1), qemu-system (<< 1.3.0+dfsg-5), qemu-utils (<< 1.3.0+dfsg-4), Description: QEMU full system emulation binaries (common files) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides common files needed for target-specific full system emulation (qemu-system-*) packages. Package: qemu-system-misc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:misc} Breaks: qemu-system (<< 1.3.0+dfsg-5) Replaces: qemu-system (<< 1.3.0+dfsg-5) Description: QEMU full system emulation binaries (miscelaneous) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, M68k (ColdFire), MicroBlaze, and SH4 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate various other hardware which did not made into separate packages. Emulators for the following architectures are provided: ${sysarch:misc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-arm Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:arm}, ${sysprovides:arm64} Breaks: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), qemu-system-aarch64 (<< 2.0.0~rc1+dfsg-0ubuntu1) Replaces: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), qemu-system-aarch64 (<< 2.0.0~rc1+dfsg-0ubuntu1) Description: QEMU full system emulation binaries (arm) QEMU is a fast processor emulator: currently the package supports ARM emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following arm hardware: ${sysarch:arm}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-mips Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:mips} Breaks: qemu-system (<< 1.3.0+dfsg-5) Replaces: qemu-system (<< 1.3.0+dfsg-5) Description: QEMU full system emulation binaries (mips) QEMU is a fast processor emulator: currently the package supports MIPS emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following mips hardware: ${sysarch:mips}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-ppc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2, # ubuntu can't Depend on openbios-ppc and openhackware as they're in universe openbios-ppc (>= 1.1+svn1229), openhackware, qemu-slof Provides: ${sysprovides:ppc} Breaks: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (ppc) QEMU is a fast processor emulator: currently the package supports PowerPC emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following PowerPC hardware: ${sysarch:ppc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-sparc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, # ubuntu/openbios-sparc is in universe Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:sparc} Breaks: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (sparc) QEMU is a fast processor emulator: currently the package supports SPARC emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following sparc hardware: ${sysarch:sparc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-x86 Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, seabios (>= 1.7.2-2~), ipxe-qemu Recommends: qemu-utils, cpu-checker Suggests: samba, vde2, kmod, sgabios Provides: ${sysprovides:x86} Conflicts: kvm (<< 1.3.0+dfsg-5) Breaks: qemu-system (<< 1.3.0+dfsg-5), # older libvirt (eg 0.10.2.x) is known broken with qemu >= 1.3 libvirt0 (<< 1.0), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), qemu-common (<< 1.3.0+dfsg-5), qemu-kvm (<< 1.2.0.dfsg-1), kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (x86) QEMU is a fast processor emulator: currently the package supports i386 and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following x86 hardware: ${sysarch:x86}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. . On x86 host hardware this package also enables KVM kernel virtual machine usage on systems which supports it. Package: qemu-user Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: sudo Breaks: qemu-kvm (<< 1.2.0.dfsg-1) Replaces: qemu-kvm (<< 1.2.0.dfsg-1) Description: QEMU user mode emulation binaries QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the user mode emulation binaries. In this mode QEMU can launch Linux processes compiled for one CPU on another CPU. Package: qemu-user-static Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: binfmt-support Suggests: sudo Description: QEMU user mode emulation binaries (static version) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the user mode emulation binaries, built statically. In this mode QEMU can launch Linux processes compiled for one CPU on another CPU. Package: qemu-utils Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: sharutils Suggests: debootstrap Conflicts: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1) Replaces: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1) Description: QEMU utilities QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides QEMU related utilities: * qemu-img: QEMU disk image utility * qemu-io: QEMU disk exerciser * qemu-nbd: QEMU disk network block device server Package: qemu-guest-agent Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Guest-side qemu-system agent QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides a daemon (agent) to run inside qemu-system guests (full system emulation). It communicates with the host using a virtio-serial channel org.qemu.guest_agent.0, and allows one to perform some functions in the guest from the host, including: - querying and setting guest system time - performing guest filesystem sync operation - initiating guest shutdown or suspend to ram - accessing guest files - freezing/thawing guest filesystem operations - others. . Install this package on a system which is running as guest inside qemu virtual machine. It is not used on the host. Package: qemu-kvm Architecture: i386 amd64 armhf armel powerpc sparc Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-x86 (>= 1.7.0+dfsg-2~) Provides: kvm, qemu-kvm-spice Conflicts: kvm, qemu-kvm-spice Breaks: qemu-system-x86 (<< 1.7.0+dfsg-2~) Replaces: qemu-system-x86 (<< 1.7.0+dfsg-2~), qemu-kvm-spice Description: QEMU Full virtualization on x86 hardware (transitional package) QEMU is a fast processor emulator. This package provides just a wrapper script /usr/bin/kvm which run qemu-system-x86 in kvm mode. . Please note that old qemu-kvm configuration files (in /etc/kvm/) are no longer used. Package: qemu-common Architecture: all Depends: ${misc:Depends}, qemu-keymaps Section: oldlibs Description: dummy transitional package from qemu-common to qemu-keymaps This transitional package helps users transition from the qemu-common package to the qemu-keymaps package. Once this package and its dependencies are installed you can safely remove it. Package: qemu-system-aarch64 Architecture: arm64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-arm (>= 2.0~git-20140403.de03c31-0ubuntu2) Description: QEMU full system emulation binaries (aarch64) QEMU is a fast processor emulator: currently the package supports ARM emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This is a transition package as qemu-system-aarch64 has been moved into qemu-system-arm. debian/qemu-user-static.10000664000000000000000000000157212274173537012502 0ustar .TH qemu\-user\-static 1 2007-02-08 "0.9.0" Debian .SH NAME qemu\-user\-static \- QEMU User Emulator (static version) .SH SYNOPSIS .B qemu\-user\-static .RI [ options ] .I program .RI [ program-arguments... ] .SH DESCRIPTION The .B qemu\-user\-static emulator can run binaries for other architectures but with the same operating system as the current one. .SH OPTIONS .TP .BR \-h Print this help. .TP .BR \-g Wait gdb connection to port 1234. .TP .BR \-L " \fI\fP" Set the elf interpreter prefix (default=\fI/usr/gnemul/qemu\-arm\fP). .TP .BR \-s " \fI\fP" Set the stack size in bytes (default=\fI524288\fP). .TP .BR \-d " \fI\fP" Activate log (logfile=\fI/tmp/qemu.log\fP) .TP .BR \-p " \fI\fP" Set the host page size to 'pagesize'. .SH SEE ALSO .BR qemu (1), .BR qemu\-img (1). .SH AUTHOR This manual page was written by Guillem Jover . debian/qemu-system-ppc.install0000664000000000000000000000005112274173537013640 0ustar qemu-build/pc-bios/*.dtb usr/share/qemu/ debian/qemu-system-ppc.links0000664000000000000000000000034612274173537013321 0ustar usr/share/openhackware/ppc_rom.bin usr/share/qemu/ppc_rom.bin usr/share/openbios/openbios-ppc usr/share/qemu/openbios-ppc usr/share/slof/slof.bin usr/share/qemu/slof.bin usr/share/slof/spapr-rtas.bin usr/share/qemu/spapr-rtas.bin debian/qemu-system-x86.NEWS0000664000000000000000000000217612274173537012623 0ustar qemu (1.7.0+dfsg-2) unstable; urgency=low Since version 1.7.0+dfsg-2, qemu-system-x86 switched from vgabios for plex/bochs project to implementation of vgabios provided by seabios. The latter is written almost entirely in C language so it is much easier to debugu/develop, but it lacks some 16bit protected mode functions which are present in vgabios. This means that it is possible that, for eaxample, some protected-mode games written for MS-DOS may not work since this release. This also means that vgabios package isn't used by qemu anymore, and might be removed from the system if there are no other users of it left. /usr/bin/kvm shell wrapper has been moved back to qemu-kvm package (it was moved to qemu-system-x86 in version 1.3.0+dfsg-2exp). Please note that we do not re-install qemu-kvm package if it has been removed as obsolete, so if you need /usr/bin/kvm wrapper please install qemu-kvm package again. This change allows qemu-system-x86 package to co-exist with the old qemu-kvm binary (not shell-wrapper) package from wheezy. -- Michael Tokarev Thu, 28 Nov 2013 18:40:56 +0400 debian/control-in0000664000000000000000000004766312317644153011225 0ustar Source: qemu Section: otherosfs Priority: optional :debian:Maintainer: Debian QEMU Team :ubuntu:Maintainer: Ubuntu Developers :ubuntu:XSBC-Original-Maintainer: Debian QEMU Team Uploaders: Aurelien Jarno , Riku Voipio , Vagrant Cascadian , Michael Tokarev Build-Depends: debhelper (>= 9), # In comments below we also specify (system-specific) arguments # to qemu's configure script, -- optional features which depend # on build-dependencies. # pc-bios/*.dts => *.dtb (PPC firmware) device-tree-compiler, texinfo, python, # --enable-linux-aio linux-* libaio-dev [linux-any], # --audio-drv-list=pa,alsa,sdl,oss linux-* # --audio-drv-list=pa,oss,sdl kfreebsd-* libasound2-dev [linux-any], # for virtfs # --enable-attr libattr1-dev, # --enable-bluez linux-* libbluetooth-dev [linux-any], # --enable-brlapi libbrlapi-dev, # --enable-virtfs linux-* # needed for virtfs libcap-dev [linux-any], # --enable-cap-ng linux-* libcap-ng-dev [linux-any], # --enable-curl libcurl4-gnutls-dev, # --enable-fdt libfdt-dev (>= 1.4.0), # --enable-vnc-tls # --enable-vnc-ws libgnutls-dev, # gtk ui is almost the same as sdl but adds bloat # --disable-gtk ## --with-gtkabi=2.0 # libgtk2.0-dev, libvte-dev (>> 0.18.0~), # ubuntu/libiscsi is in universe :debian:# --enable-libiscsi :debian: libiscsi-dev, # --enable-curses libncurses5-dev, # --with-system-pixman libpixman-1-dev, # audio-drv-list += pa libpulse-dev, :ubuntu:# --enable-rbd :ubuntu: librados-dev, librbd-dev, # --enable-vnc-sasl libsasl2-dev, # --enable-sdl libsdl1.2-dev (>> 1.2.1), # --enable-seccomp linux-amd64|linux-i386 libseccomp-dev (>> 2.1.0) [linux-amd64 linux-i386], # --enable-spice linux-amd64|linux-i386 libspice-server-dev (>= 0.12.2~) [linux-amd64 linux-i386], libspice-protocol-dev (>= 0.12.3~) [linux-amd64 linux-i386], # --enable-libusb linux-* libusb-1.0-0-dev (>= 2:1.0.13~) [linux-any], # --enable-usb-redir linux-* libusbredirparser-dev (>= 0.6~) [linux-any], # ubuntu/libssh2 is in universe :debian:# --enable-libssh2 :debian: libssh2-1-dev, # ubuntu/vde2 is in universe :debian:# --enable-vde :debian: libvdeplug-dev, # needed for sdl libx11-dev, # --enable-xen linux-amd64|linux-i386 libxen-dev [linux-amd64 linux-i386], # XXX need to check minimum linux-headers requiriment linux-libc-dev (>= 2.6.34) [linux-any], # --enable-uuid uuid-dev, # --enable-xfsctl linux-* xfslibs-dev [linux-any], # always needed zlib1g-dev, # other optional features we enable # --enable-vnc :debian:# --enable-vnc-jpeg # --enable-vnc-png # --enable-kvm linux-* # --enable-vhost-net linux-* # is it really linux-specific? ##--enable-glusterfs todo Build-Conflicts: oss4-dev Standards-Version: 3.9.4 Homepage: http://www.qemu.org/ :debian:Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git :ubuntu:Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git;a=shortlog;h=refs/heads/ubuntu-trusty :ubuntu:XS-Debian-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-qemu/qemu.git :debian:Vcs-Git: git://anonscm.debian.org/pkg-qemu/qemu.git :ubuntu:Vcs-Git: git://anonscm.debian.org/pkg-qemu/qemu.git -b ubuntu-trusty :ubuntu:XS-Debian-Vcs-Git: git://anonscm.debian.org/pkg-qemu/qemu.git Package: qemu Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system (>= ${source:Version}), qemu-user (>= ${source:Version}) [linux-any], qemu-utils (>= ${source:Version}) Suggests: qemu-user-static [linux-any] Description: fast processor emulator QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. QEMU has two operating modes: . * User mode emulation: QEMU can launch Linux processes compiled for one CPU on another CPU. * Full system emulation: QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. . As QEMU requires no host kernel patches to run, it is very safe and easy to use. . This package is a metapackage depending on all qemu-related packages. Package: qemu-keymaps Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} :ubuntu:Breaks: qemu-system (<< 0.12.4+dfsg-4), qemu-common (<< 1.2.0.dfsg-1) :ubuntu:Replaces: qemu-system (<< 0.12.4+dfsg-4), qemu-common (<< 1.2.0.dfsg-1) Description: QEMU keyboard maps QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides keyboard maps to be used by the qemu-system package or QEMU derivatives. Package: qemu-system Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-arm, :ubuntu: qemu-system-aarch64 [arm64], qemu-system-mips, qemu-system-ppc, qemu-system-sparc, qemu-system-x86, qemu-system-misc Description: QEMU full system emulation binaries QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This metapackage provides the full system emulation binaries for all supported targets, by depending on all per-architecture system emulation packages which QEMU supports. Package: qemu-system-common Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Pre-Depends: adduser Depends: ${misc:Depends}, ${shlibs:Depends}, :ubuntu: udev, acl Breaks: :ubuntu: qemu-common (<< 1.2.0.dfsg-1), # qemu-system before qemu-system-split qemu-system (<< 1.3.0+dfsg-5), # qemu-utils had virtfs-proxy-helper qemu-utils (<< 1.3.0+dfsg-4), # iproute before 20110315 were unable to deal with bridge (set master device) iproute (<< 20110315-1) Replaces: :ubuntu: qemu (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.2.0.dfsg-1), qemu-system (<< 1.3.0+dfsg-5), qemu-utils (<< 1.3.0+dfsg-4), Description: QEMU full system emulation binaries (common files) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides common files needed for target-specific full system emulation (qemu-system-*) packages. Package: qemu-system-misc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:misc} Breaks: qemu-system (<< 1.3.0+dfsg-5) Replaces: qemu-system (<< 1.3.0+dfsg-5) Description: QEMU full system emulation binaries (miscelaneous) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, M68k (ColdFire), MicroBlaze, and SH4 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate various other hardware which did not made into separate packages. Emulators for the following architectures are provided: ${sysarch:misc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-arm Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:arm}, ${sysprovides:arm64} Breaks: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), :ubuntu: qemu-system-aarch64 (<< 2.0.0~rc1+dfsg-0ubuntu1) Replaces: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), :ubuntu: qemu-system-aarch64 (<< 2.0.0~rc1+dfsg-0ubuntu1) Description: QEMU full system emulation binaries (arm) QEMU is a fast processor emulator: currently the package supports ARM emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following arm hardware: ${sysarch:arm}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-mips Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:mips} Breaks: qemu-system (<< 1.3.0+dfsg-5) Replaces: qemu-system (<< 1.3.0+dfsg-5) Description: QEMU full system emulation binaries (mips) QEMU is a fast processor emulator: currently the package supports MIPS emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following mips hardware: ${sysarch:mips}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-ppc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, :debian: qemu-slof, openbios-ppc (>= 1.1+svn1229), openhackware, Recommends: qemu-utils Suggests: samba, vde2, # ubuntu can't Depend on openbios-ppc and openhackware as they're in universe :ubuntu: openbios-ppc (>= 1.1+svn1229), openhackware, qemu-slof Provides: ${sysprovides:ppc} Breaks: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (ppc) QEMU is a fast processor emulator: currently the package supports PowerPC emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following PowerPC hardware: ${sysarch:ppc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-sparc Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, # ubuntu/openbios-sparc is in universe :debian: openbios-sparc (>= 1.1+svn1229) Recommends: qemu-utils Suggests: samba, vde2 Provides: ${sysprovides:sparc} Breaks: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (sparc) QEMU is a fast processor emulator: currently the package supports SPARC emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following sparc hardware: ${sysarch:sparc}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. Package: qemu-system-x86 Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common, qemu-keymaps, seabios (>= 1.7.2-2~), ipxe-qemu Recommends: qemu-utils, :ubuntu: cpu-checker Suggests: samba, vde2, kmod, sgabios Provides: ${sysprovides:x86} :ubuntu:Conflicts: kvm (<< 1.3.0+dfsg-5) Breaks: qemu-system (<< 1.3.0+dfsg-5), # older libvirt (eg 0.10.2.x) is known broken with qemu >= 1.3 libvirt0 (<< 1.0), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Replaces: qemu-system (<< 1.3.0+dfsg-5), :ubuntu: qemu-common (<< 1.3.0+dfsg-5), :ubuntu: qemu-kvm (<< 1.2.0.dfsg-1), :ubuntu: kvm (<< 1.3.0+dfsg-5), Description: QEMU full system emulation binaries (x86) QEMU is a fast processor emulator: currently the package supports i386 and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the full system emulation binaries to emulate the following x86 hardware: ${sysarch:x86}. . In system emulation mode QEMU emulates a full system, including a processor and various peripherals. It enables easier testing and debugging of system code. It can also be used to provide virtual hosting of several virtual machines on a single server. . On x86 host hardware this package also enables KVM kernel virtual machine usage on systems which supports it. Package: qemu-user Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: sudo :ubuntu:Breaks: qemu-kvm (<< 1.2.0.dfsg-1) :ubuntu:Replaces: qemu-kvm (<< 1.2.0.dfsg-1) Description: QEMU user mode emulation binaries QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the user mode emulation binaries. In this mode QEMU can launch Linux processes compiled for one CPU on another CPU. Package: qemu-user-static Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: binfmt-support Suggests: sudo Description: QEMU user mode emulation binaries (static version) QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides the user mode emulation binaries, built statically. In this mode QEMU can launch Linux processes compiled for one CPU on another CPU. Package: qemu-utils Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: sharutils Suggests: debootstrap :ubuntu:Conflicts: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1) :ubuntu:Replaces: qemu-user (<< 0.11.1-2), qemu-kvm (<< 1.2.0.dfsg-1) Description: QEMU utilities QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides QEMU related utilities: * qemu-img: QEMU disk image utility * qemu-io: QEMU disk exerciser * qemu-nbd: QEMU disk network block device server Package: qemu-guest-agent Architecture: any Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: Guest-side qemu-system agent QEMU is a fast processor emulator: currently the package supports ARM, CRIS, i386, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, SH4, SPARC and x86-64 emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This package provides a daemon (agent) to run inside qemu-system guests (full system emulation). It communicates with the host using a virtio-serial channel org.qemu.guest_agent.0, and allows one to perform some functions in the guest from the host, including: - querying and setting guest system time - performing guest filesystem sync operation - initiating guest shutdown or suspend to ram - accessing guest files - freezing/thawing guest filesystem operations - others. . Install this package on a system which is running as guest inside qemu virtual machine. It is not used on the host. Package: qemu-kvm :debian:Architecture: i386 amd64 :ubuntu:Architecture: i386 amd64 armhf armel powerpc sparc Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-x86 (>= 1.7.0+dfsg-2~) Provides: kvm, :ubuntu: qemu-kvm-spice Conflicts: kvm, :ubuntu: qemu-kvm-spice Breaks: qemu-system-x86 (<< 1.7.0+dfsg-2~) Replaces: qemu-system-x86 (<< 1.7.0+dfsg-2~), :ubuntu: qemu-kvm-spice Description: QEMU Full virtualization on x86 hardware (transitional package) QEMU is a fast processor emulator. This package provides just a wrapper script /usr/bin/kvm which run qemu-system-x86 in kvm mode. . Please note that old qemu-kvm configuration files (in /etc/kvm/) are no longer used. :ubuntu:Package: qemu-common :ubuntu:Architecture: all :ubuntu:Depends: ${misc:Depends}, qemu-keymaps :ubuntu:Section: oldlibs :ubuntu:Description: dummy transitional package from qemu-common to qemu-keymaps :ubuntu: This transitional package helps users transition from the qemu-common package :ubuntu: to the qemu-keymaps package. Once this package and its dependencies are :ubuntu: installed you can safely remove it. Package: qemu-system-aarch64 Architecture: arm64 Multi-Arch: foreign Depends: ${misc:Depends}, qemu-system-arm (>= 2.0~git-20140403.de03c31-0ubuntu2) Description: QEMU full system emulation binaries (aarch64) QEMU is a fast processor emulator: currently the package supports ARM emulation. By using dynamic translation it achieves reasonable speed while being easy to port on new host CPUs. . This is a transition package as qemu-system-aarch64 has been moved into qemu-system-arm. debian/compat0000664000000000000000000000000212274173537010401 0ustar 9 debian/qemu-system-x86.install0000664000000000000000000000004712274173537013510 0ustar debian/tmp/etc/qemu/target-x86_64.conf debian/qemu-ifup.kfreebsd0000775000000000000000000000005012274173537012620 0ustar #!/bin/sh /sbin/ifconfig $1 172.20.0.1 debian/TODO0000664000000000000000000001077012274174265007677 0ustar * remove qemu-system-x86 initscript (kvm module loading) past jessie or even for jessie. Modern kernels (3.4+) loads these modules automatically. * fix other binaries (s390-zipl, ppc_rom) * figure out what to do with kvm initscripts and udev rules. Currently we ship kvm udev rules in qemu-system-common, even if kvm modules makes no sence on many arches and even if corresponding qemu-system-$arch might not be installed. We load kvm module (on x86 only) in qemu-system-x86, but we don't fix permissions of /dev/kvm at install time (see qemu-system-common.postinst). It all is.. wrong. Maybe we should provide all - the kvm udev rules, kvm module loading script, and postinst snippet to change perms - in all relevant arch-specific packages only when arch is native? But how to do that properly? * permissions/ownership for /dev/vhost_net??? * startup script for qemu-guest-agent: check dependencies & runlevels. * maybe provide activation for udev & systemd: SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0", \ TAG+="systemd" ENV{SYSTEMD_WANTS}="qemu-guest-agent.service" and dev-virtio/ports-org.qemu.guest_agent.0.device activation for systemd. * decide what to do with qemu-bridge-helper (#691138) * -dbg package(s): these are very large, there are either many of them (esp. if we split qemu-system or maybe qemu-user to per-target pkgs) or they're unflexible, adds significant data to Packages files (which are fetched by everyone), and gains little (for the lifetime of qemu-kvm-dbg it was useful only once). I think we will not provide them. Below are some old observations about this. Current linux-user binaries are built in a way that results in inclusion of .gnu_debuglink section in the binaries. These sections comes from Scrt1.o, crt1.o and crt0.o files. This makes dh_strip --dbg-package, which calls objcopy --add-gnu-debuglink $dbgfile $binary to fail with a "very understandable" error message: objcopy:cannot create debug link section ...: Invalid operation (file a bugreport against binutils to make this message more explicit) A workaround is to strip .gnu_debuglink section using the same objcopy first, or add a line /DISCARD/ : { *(.gnu_debuglink) } to all the *.ld scripts which are used to produce linux-user binaries, just like it is done in roms/qemu-palcode/palcode.ld . We can have just one qemu-dbg package (with versioned Breaks maybe, or without dependencies at all), or we can have qemu-system-dbg, qemu-user-dbg, qemu-user-static-dbg. Current (as of 1.3) size of all debug symbols on i386: total 416M 2.4M qemu-alpha 3.7M qemu-arm 3.9M qemu-armeb 2.3M qemu-cris 3.8M qemu-i386 2.5M qemu-m68k 3.9M qemu-mips 3.8M qemu-mipsel 2.2M qemu-or32 5.5M qemu-ppc 8.4M qemu-ppc64 8.4M qemu-ppc64abi32 2.9M qemu-s390x 2.3M qemu-sh4 2.5M qemu-sh4eb 2.5M qemu-sparc 3.2M qemu-sparc32plus 3.4M qemu-sparc64 2.1M qemu-unicore32 4.5M qemu-x86_64 2.7M qemu-alpha-static 4.0M qemu-arm-static 4.2M qemu-armeb-static 2.6M qemu-cris-static 4.0M qemu-i386-static 2.8M qemu-m68k-static 2.4M qemu-microblaze 2.2M qemu-microblazeel 2.7M qemu-microblaze-static 2.5M qemu-microblazeel-static 4.2M qemu-mips-static 4.1M qemu-mipsel-static 2.5M qemu-or32-static 5.9M qemu-ppc-static 8.7M qemu-ppc64-static 8.6M qemu-ppc64abi32-static 3.1M qemu-s390x-static 2.6M qemu-sh4-static 2.8M qemu-sh4eb-static 2.7M qemu-sparc-static 3.5M qemu-sparc32plus-static 3.6M qemu-sparc64-static 2.4M qemu-unicore32-static 4.7M qemu-x86_64-static 9.7M qemu-system-alpha 14M qemu-system-arm 6.8M qemu-system-cris 13M qemu-system-i386 6.7M qemu-system-lm32 8.8M qemu-system-m68k 6.7M qemu-system-microblaze 6.7M qemu-system-microblazeel 12M qemu-system-mips 14M qemu-system-mips64 14M qemu-system-mips64el 12M qemu-system-mipsel 6.6M qemu-system-or32 14M qemu-system-ppc 17M qemu-system-ppc64 14M qemu-system-ppcemb 7.6M qemu-system-s390x 9.0M qemu-system-sh4 9.0M qemu-system-sh4eb 7.3M qemu-system-sparc 11M qemu-system-sparc64 6.5M qemu-system-unicore32 14M qemu-system-x86_64 6.7M qemu-system-xtensa 6.7M qemu-system-xtensaeb 1.8M qemu-img 1.8M qemu-io 1.8M qemu-nbd 69K virtfs-proxy-helper Total size of the qemu-dbg (all the above) .deb is ~150Mb when compressed using default gzip, or 90Mb with dh_builddeb -- -Zxz Note that in both cases -dbg is much larger than sum of all other binary packages. debian/qemu-guest-agent.init0000664000000000000000000000605512274173537013266 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: qemu-guest-agent # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: QEMU Guest Agent startup script # Description: Start the QEMU Guest Agent if we're running # in a QEMU virtual machine ### END INIT INFO # Author: Michael Tokarev PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="QEMU Guest Agent" NAME=qemu-ga DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid # config DAEMON_ARGS="" # default transport TRANSPORT=virtio-serial:/dev/virtio-ports/org.qemu.guest_agent.0 # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/qemu-guest-agent ] && . /etc/default/qemu-guest-agent # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.2-14) to ensure that this file is present # and status_of_proc is working. . /lib/lsb/init-functions # # Function that checks whenever system has necessary environment # It also splits $TRANSPORT into $method and $path # do_check_transport() { method=${TRANSPORT%%:*}; path=${TRANSPORT#*:} case "$method" in virtio-serial | isa-serial) if [ ! -e "$path" ]; then log_warning_msg "$NAME: transport endpoint not found, not starting" return 1 fi ;; esac } # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon -Sq -p $PIDFILE -x $DAEMON --test > /dev/null \ || return 1 start-stop-daemon -Sq -p $PIDFILE -x $DAEMON -- --daemonize \ $DAEMON_ARGS -m "$method" -p "$path" \ || return 2 } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon -Kq --retry=TERM/30/KILL/5 -p $PIDFILE --name $NAME } case "$1" in start) do_check_transport || exit 0 [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" $NAME do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" $NAME do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" $NAME && exit 0 || exit $? ;; restart|force-reload) # we do not support reload do_check_transport || exit 0 log_daemon_msg "Restarting $DESC" $NAME do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) echo "Usage: /etc/init.d/qemu-guest-agent {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : debian/qemu-io.10000664000000000000000000000217012274173537010641 0ustar .TH QEMU-IO 1 "December 18, 2011" .SH NAME qemu-io \- QEMU Disk exerciser .SH SYNOPSIS .B qemu-io [-h] [-V] [-rsnm] [-c cmd] ... [file] .SH DESCRIPTION qemu-io is a command line utility to exercise the QEMU I/O path. .SH OPTIONS .TP .B \-c,\ \-\-cmd\ Command to execute .TP .B \-r,\ \-\-read-only Export read-only .TP .B \-s,\ \-\-snapshot Use snapshot file .TP .B \-n,\ \-\-nocache Disable host cache .TP .B \-g,\ \-\-growable Allow file to grow (only applies to protocols) .TP .B \-m,\ \-\-misalign Misalign allocations for O_DIRECT .TP .B \-k,\ \-\-native-aio Use kernel AIO implementation (on Linux only) .TP .B \-h,\ \-\-help Display help and exit .TP .B \-V,\ \-\-version Output version information and exit .SH SEE ALSO .BR qemu-img (1), .BR qemu-nbd (8) .SH AUTHOR QEMU project .PP This manual page was written by Asias He , for the Debian project (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-Share Alike 3.0 United States License. (See http://creativecommons.org/licenses/by-sa/3.0/us/legalcode) . debian/qemu.docs0000664000000000000000000000014712274173537011026 0ustar README debian/tmp/usr/share/doc/qemu/qemu-doc.html debian/tmp/usr/share/doc/qemu/qemu-tech.html docs/* debian/README-components-versions0000664000000000000000000000507412274174265014121 0ustar Evolution of qemu-related packages in debian kvm: was a binary package providing /usr/bin/kvm before squeeze. In squeeze it has been renamed to qemu-kvm, so kvm becomes a transitional package. Probably can be get rid of now. No need to conflict with this package, but we can force-remove it by conflicting with it. Some packages may still Require/Depend/Suggest: kvm. qemu-kvm: was a binary package providing /usr/bin/kvm in wheezy (v. 1.1) This binary become a (deprecated) shell wrapper and was a part of qemu-system-x86 package between versions 1.3.0+dfsg-5 (when qemu-system were split) up to 1.7.0+dfsg-1, with qemu-kvm package being transitional. At version 1.7.0+dfsg-2, qemu-kvm packcage is not transitional anymore, and the wrapper is provided by qemu-kvm, not qemu-system-x86. Some packages may Require/Depend/Suggest: qemu-kvm. qemu: initially it was a mix of all of qemu (unrelated, not conflicting with qemu-kvm or kvm) at 0.11.0-1 it were split to qemu-user, qemu-user-static and qemu-system. Also qemu-keymaps is made a separate package at version 0.12.4+dfsg-4 (for use together with qemu-kvm and xen and, on ubuntu, qemu-linaro). And qemu-utils become a separate package (look when? since the beginning?) Now it is a metapackage and a placeholder for some docs qemu-system: was a package with all qemu-system-* binaries. Were split into individual qemu-system-foo and qemu-system-common at version 1.3.0+dfsg-5, so qemu-system becomes a metapackage without its own files. The split introduced a bunch of qemu-system-* conflicting+replacing qemu-system<<1.3.0+dfsg-5. At version 1.3.0+dfsg-4exp (before split, in experimental), /usr/bin/kvm was a part of qemu-system (and later qemu-system-x86)/ At the same version, virtfs-proxy-helper binary has been moved from qemu-utils to qemu-system (and later to qemu-system-common). qemu-system-common: appeared at 1.3.0+dfsg-5, files common for all qemu-system* briefly (>=1.3.0+dfsg-4exp, <<1.3.0+dfsg-5), qemu-utils had virtfs-proxy-helper binary which is in qemu-system-common qemu-keymaps: keymap definition for qemu, qemu-kvm and xen. Can be merged into qemu-system-common now, or after qemu-linaro. Were split out of qemu at version 0.12.4+dfsg-4 qemu-utils: common utilities (part of qemu-common in ubuntu?) In versions between 1.3.0+dfsg-1~exp1 and 1.3.0+dfsg-4exp, wrongly shipped virtfs-proxy-helper binary qemu-user, qemu-user-static: user-mode qemu emulation Were split out of qemu at verson 0.11.0-1 (pre-squeeze), do not conflict/replace anything anymore. qemu-common: ubuntu package debian/qemu-user-static.postinst-in0000664000000000000000000000144412274604261014620 0ustar # binfmt registration/deregistration if [ configure = "$1" ] && [ -x /usr/sbin/update-binfmts ]; then # list of architectures is autogenerated from debian/rules for target in @BINFMT_TARGETS@ ; do if [ -f /var/lib/binfmts/qemu-$target ]; then # remove format, in case the current version no longer supports it. update-binfmts --package qemu-user-static --remove qemu-$target /usr/bin/qemu-$target-static fi if [ -f /usr/share/binfmts/qemu-$target ]; then # install currently supported format. update-binfmts --import qemu-$target fi done fi if dpkg --compare-versions "$2" lt-nl 1.7.0+dfsg-2ubuntu9 \ && [ -x /usr/sbin/update-binfmts ] \ && [ -f /var/lib/binfmts/qemu-arm64 ] then update-binfmts --package qemu-user-static --remove qemu-arm64 /usr/bin/qemu-arm64-static fi debian/qemu-system-common.udev0000664000000000000000000000005012274173537013642 0ustar KERNEL=="kvm", GROUP="kvm", MODE="0660" debian/qemu-keymaps.install0000664000000000000000000000004212274173537013205 0ustar debian/tmp/usr/share/qemu/keymaps debian/qemu-kvm.maintscript0000664000000000000000000000027712274173537013232 0ustar rm_conffile /etc/kvm/kvm-ifup 1.5.0+dfsg-3~ rm_conffile /etc/kvm/kvm-ifdown 1.5.0+dfsg-3~ rm_conffile /etc/kvm/target-x86_64.conf 1.5.0+dfsg-3~ rm_conffile /etc/init.d/qemu-kvm 1.5.0+dfsg-5~ debian/qemu-make-debian-root.80000664000000000000000000000233312274173537013360 0ustar .\" $Id: qemu-make-debian-root.8 266 2008-01-06 20:29:04Z aurel32 $ .TH qemu\-make\-debian\-root 8 2006-05-28 "0.0" Debian .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME qemu\-make\-debian\-root \- Create a debian root image for qemu .SH SYNOPSIS .B qemu\-make\-debian\-root .RI [ -k "] " .RI [ -s "] " .I size-in-MiB distrib deburl image .RI [ files-to-copy-in-/root ] .SH DESCRIPTION .B qemu\-make\-debian\-root is a command to ease the creation of a debian root image for qemu. The generated image is not bootable by itself, and an external kernel is needed. It can be run with a command like: .IP .nf .B qemu disk.img -kernel /boot/vmlinuz .fi .PP .SH OPTIONS .TP .BR \-k Keep file system. .TP .BR \-s Create a sparse image. .SH SEE ALSO .BR qemu (1), .BR qemu\-img (1). .SH AUTHOR This manual page was written by Guillem Jover . debian/qemu-guest-agent.install0000664000000000000000000000013212274173537013757 0ustar debian/tmp/usr/bin/qemu-ga /usr/sbin qga/qapi-schema.json /usr/share/doc/qemu-guest-agent debian/qemu-system-alternatives.in0000664000000000000000000000152212274174265014522 0ustar # == begin update-alternatives maintscript fragment == # This is a script fragment used in postinst, prerm and postrm maintscripts. # Set up /usr/bin/qemu alternative to be one the qemu-system emulators. # See #722914 for details about how it is done arches="@ARCH@" # our architectures case "$DPKG_MAINTSCRIPT_NAME:$1" in postinst:configure ) for arch in $arches ; do # Set i386 as highest priority, # as it has been the default qemu for quite some time. case $arch in i386) prio=20;; *) prio=10;; esac update-alternatives --install /usr/bin/qemu qemu \ /usr/bin/qemu-system-$arch $prio done;; prerm:remove | postrm:disappear ) for arch in $arches ; do update-alternatives --remove qemu /usr/bin/qemu-system-$arch done;; esac # == end update-alternatives maintscript fragment == debian/qemu-debootstrap0000775000000000000000000001104712274174265012426 0ustar #!/bin/sh # qemu-debootstrap - setup qemu syscall emulation in a debootstrap chroot # Copyright (C) 2010 Loïc Minier # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL # SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the author shall not be used # in advertising or otherwise to promote the sale, use or other dealings in # this Software without prior written authorization from the author. set -e log() { local format="$1" shift printf -- "$format\n" "$@" >&2 } warn() { local format="$1" shift log "W: $format" "$@" } die() { local format="$1" shift log "E: $format" "$@" exit 1 } run() { log "I: Running command: %s" "$*" "$@" } escape() { echo "$*" | sed "s/'/'\"'\"'/g; s/.*/'&'/" } unescape () { eval "echo" "$*" } system_arch="$(dpkg --print-architecture)" deb_arch="$system_arch" opts="" args="" suite="" target="" mirror="" script="" while [ $# -gt 0 ]; do case "$1" in --help) die "I'm just a debootstrap wrapper; please see debootstrap --help" ;; --arch|--arch=?*) if [ "$1" = "--arch" -a $# -ge 2 -a -n "$2" ]; then deb_arch="$2" shift 2 elif [ "$1" != "${1#--arch=}" ]; then deb_arch="${1#--arch=}" shift else die "option %s requires an argument" "$1" fi ;; --include|--exclude|--components|--variant|--keyring|--unpack-tarball|--make-tarball|--second-stage-target|--extractor|--private-key|--certificate) if [ $# -ge 2 -a -n "$2" ]; then opts="$opts $(escape "$1") $(escape "$2")" shift 2 else die "option %s requires an argument" "$1" fi ;; --*) opts="$opts $(escape "$1")" shift ;; *) if [ -z "$suite" ]; then stage="suite"; elif [ -z "$target" ]; then stage="target"; elif [ -z "$mirror" ]; then stage="mirror"; elif [ -z "$script" ]; then stage="script"; fi if [ -n "$1" ]; then eval $stage=\"\$1\" args="$args $(escape "$1")" else die "option %s may not be empty" "$stage" fi shift ;; esac done needs_qemu="yes" if [ "$deb_arch" = "$system_arch" ]; then warn "Target architecture is the same as host architecture; disabling QEMU support" needs_qemu="no" fi # bi-arch; TODO test whether the running kernel is actually bi-arch capable case "$system_arch-$deb_arch" in amd64-i386|arm-armel|armel-arm|arm-armhf|armhf-arm|armel-armhf|armhf-armel|i386-amd64|powerpc-ppc64|ppc64-powerpc|sparc-sparc64|sparc64-sparc|s390-s390x|s390x-s390) warn "Host architecture might allow running target architecture; disabling QEMU support" needs_qemu="no" ;; esac if [ "$needs_qemu" = no ]; then eval run debootstrap --arch "$deb_arch" $opts $args exit $? fi qemu_arch="" case "$deb_arch" in alpha|arm|armeb|i386|m68k|mips|mipsel|ppc64|sh4|sh4eb|sparc|sparc64|s390x) qemu_arch="$deb_arch" ;; amd64) qemu_arch="x86_64" ;; armel|armhf) qemu_arch="arm" ;; lpia) qemu_arch="i386" ;; powerpc|powerpcspe) qemu_arch="ppc" ;; *) die "Sorry, I don't know how to support arch %s" "$arch" ;; esac if ! which "qemu-$qemu_arch-static" >/dev/null 2>&1; then die "Sorry, couldn't find binary %s" "qemu-$qemu_arch-static" fi eval run debootstrap --arch "$deb_arch" --foreign $opts $args mkdir -p "$target/usr/bin" cp $(which "qemu-$qemu_arch-static") "$target/usr/bin" run chroot "$target" /debootstrap/debootstrap --second-stage debian/rules0000775000000000000000000002240612317645353010265 0ustar #!/usr/bin/make -f VENDOR := debian DEB_VENDOR := $(shell dpkg-vendor --query vendor) ifeq ($(DEB_VENDOR),Ubuntu) VENDOR := ubuntu DEB_BUILD_PARALLEL = yes endif # support parallel build using DEB_BUILD_OPTIONS=parallel=N ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) endif # Packaging version DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ') # Compiler flags CFLAGS = $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed # verbose build V ?= 1 # Architecture/system specific configuration DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) # list of packages we're supposed to build BUILD_PACKAGES = $(shell dh_listpackages) enable_system = $(if $(filter qemu-system,${BUILD_PACKAGES}),enable,disable) enable_linux_user = $(if $(filter qemu-user,${BUILD_PACKAGES}),enable,disable) # we add another set of configure options from debian/control common_configure_opts = \ --with-pkgversion="Debian $(DEB_VERSION)" \ --extra-cflags="$(CFLAGS)" \ --extra-ldflags="$(LDFLAGS)" \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --disable-blobs \ --disable-strip \ --with-system-pixman \ --interp-prefix=/etc/qemu-binfmt/%M \ --localstatedir=/var \ ifeq (${enable_system},enable) # list of system (softmmu) targets, from ./configure system_targets = \ i386 x86_64 alpha arm cris lm32 m68k microblaze microblazeel \ mips mipsel mips64 mips64el moxie or32 ppc ppcemb ppc64 sh4 sh4eb \ sparc sparc64 s390x xtensa xtensaeb unicore32 ifeq ($(DEB_HOST_ARCH),arm64) system_targets += aarch64 endif # qemu-system subpackages, from d/control sys_systems = arm mips ppc sparc x86 systems = ${sys_systems} misc sysarch_arm = $(filter arm aarch64,${system_targets}) sysarch_mips = $(filter mips mipsel mips64 mips64el,${system_targets}) sysarch_ppc = $(filter ppc ppc64 ppcemb,${system_targets}) sysarch_sparc = $(filter sparc sparc64,${system_targets}) sysarch_x86 = $(filter i386 x86_64,${system_targets}) sysarch_misc = $(filter-out $(foreach s,${sys_systems},${sysarch_$s}),${system_targets}) else systems = endif # enable_system ifeq (${enable_linux_user},enable) # list of linux-user targets, from ./configure user_targets = \ i386 x86_64 alpha arm armeb cris m68k microblaze microblazeel \ mips mipsel mips64 mips64el mipsn32 mipsn32el or32 \ ppc ppc64 ppc64abi32 sh4 sh4eb sparc sparc64 sparc32plus \ unicore32 s390x user_targets += aarch64 # binfmt linux-user support all_binfmt_targets = \ $(patsubst debian/binfmts/qemu-%,%,$(wildcard debian/binfmts/qemu-*)) # find which targets needs to be filtered out, which is arch-dependent. # Drop support for emulating amd64 on i386, http://bugs.debian.org/604712 filter_binfmts = $(shell \ case $(DEB_HOST_ARCH) in \ (amd64 | i386) echo i386 x86_64 ;;\ (arm | armel | armhf | arm64) echo arm aarch64 ;;\ (mips | mipsel) echo $(DEB_HOST_ARCH) ;;\ (ppc64 | powerpc | ppc64el) echo ppc ppc64 ppc64abi32 ;;\ (s390x) echo s390x ;;\ (sparc | sparc64) echo sparc sparc32plus sparc64 ;;\ esac) binfmt_targets = $(filter-out $(filter_binfmts), $(all_binfmt_targets)) endif # enable_linux_user # Cross compiling support ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) common_configure_opts += --cross-prefix=$(DEB_HOST_GNU_TYPE)- endif configure-stamp: configure dh_testdir # system build mkdir -p qemu-build && cd qemu-build && \ ../configure ${common_configure_opts} --disable-user \ --${enable_system}-system \ --${enable_linux_user}-linux-user \ $(shell sh debian/extract-config-opts \ $(DEB_HOST_ARCH_OS)-$(DEB_HOST_ARCH) debian/control) \ $(QEMU_CONFIGURE_OPTIONS) ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) # Hack alert. qemu-1.3 still needs this. # On recent kFreebsd, old USB host API has been removed, # but qemu did not learn to use new USB API. # Just do not build USB host support. sed -i 's/^HOST_USB=bsd/HOST_USB=stub/' \ qemu-build/config-host.mak endif ifeq ($(enable_linux_user),enable) # do not use debian/configure-opts here, all optional stuff will be enabled # automatically, dependencies are already verified in the main build mkdir -p user-static-build && cd user-static-build && \ ../configure ${common_configure_opts} \ --static --disable-system \ --target-list="$(addsuffix -linux-user,${user_targets})" endif touch $@ build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: configure-stamp dh_testdir # system and utils build $(MAKE) -C qemu-build V=${V} ifeq (${enable_system},enable) dtc -o qemu-build/pc-bios/bamboo.dtb pc-bios/bamboo.dts endif ifeq ($(enable_linux_user),enable) # user-static build # we use this invocation to build just the binaries $(MAKE) -C user-static-build V=${V} $(foreach t,${user_targets},subdir-${t}-linux-user) endif touch $@ clean: debian/control dh_testdir rm -rf *-build/ rm -f *-stamp find scripts/ -name '*.pyc' -delete || : dh_clean # define ${ai} variable to be one of -i (indep), -a (arch) or nothing (both) ai := binary-indep: ai := -i binary-indep: install binary-arch: ai := -a binary-arch: install binary: install define inst-system for x in postinst prerm postrm; do \ sed 's/@ARCH@/${sysarch_$1}/' debian/qemu-system-alternatives.in > debian/qemu-system-$1.$$x.debhelper; \ done mkdir -p debian/qemu-system-$1/usr/share/man/man1 debian/qemu-system-$1/usr/bin for t in ${sysarch_$1}; do \ mv debian/tmp/usr/bin/qemu-system-$$t debian/qemu-system-$1/usr/bin/; \ echo ".so man1/qemu.1" > debian/qemu-system-$1/usr/share/man/man1/qemu-system-$$t.1; \ done echo sysarch:$1=${sysarch_$1} > debian/qemu-system-$1.substvars echo sysprovides:$1=${addprefix qemu-system-,${filter-out $1,${sysarch_$1}}} | \ sed -e 's/ /, /g' -e 'y/_/-/' >> debian/qemu-system-$1.substvars endef install: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs -a # system and utils install $(MAKE) -C qemu-build DESTDIR=$(CURDIR)/debian/tmp install ifeq (${enable_system},enable) # qemu-system subpackages $(foreach s,${systems},$(call inst-system,$s)) ifeq ($(DEB_HOST_ARCH_OS),linux) # /usr/bin/kvm compat script. This needs some more work for other arches # How about a manpage for it? ifneq ($(filter $(DEB_HOST_ARCH),amd64 i386),) dh_install -pqemu-kvm debian/kvm /usr/bin/ dh_install -pqemu-kvm debian/kvm.1 /usr/share/man/man1/ ifeq ($(DEB_VENDOR),Ubuntu) mkdir -p debian/qemu-kvm/usr/bin ln -s kvm debian/qemu-kvm/usr/bin/kvm-spice ln -s qemu-system-x86_64 debian/qemu-kvm/usr/bin/qemu-system-x86_64-spice dh_installmodules -pqemu-system-x86 endif endif # virtfs-proxy-helper is linux-specific for f in usr/bin/virtfs-proxy-helper \ usr/share/man/man1/virtfs-proxy-helper.1 ; do \ mkdir -p debian/qemu-system-common/$${f%/*} ; \ mv debian/tmp/$$f debian/qemu-system-common/$$f ; \ done endif # linux endif # enable_system ifeq ($(enable_linux_user),enable) # qemu-user mkdir -p debian/qemu-user/usr/bin debian/qemu-user/usr/share/man/man1 for t in ${user_targets}; do \ mv debian/tmp/usr/bin/qemu-$$t \ debian/qemu-user/usr/bin ; \ ln -s qemu-user.1 \ debian/qemu-user/usr/share/man/man1/qemu-$$t.1 ; \ done # qemu-user-static mkdir -p debian/qemu-user-static/usr/bin debian/qemu-user-static/usr/share/man/man1 for t in ${user_targets}; do \ cp -p user-static-build/$$t-linux-user/qemu-$$t \ debian/qemu-user-static/usr/bin/qemu-$$t-static ; \ ln -s qemu-user-static.1 \ debian/qemu-user-static/usr/share/man/man1/qemu-$$t-static.1 ; \ done # binfmt support for x in postinst prerm; do \ sed 's/@BINFMT_TARGETS@/${all_binfmt_targets}/' \ debian/qemu-user-static.$$x-in > debian/qemu-user-static.$$x.debhelper ; \ done mkdir -p debian/qemu-user-static/usr/share/binfmts install -m 644 -t debian/qemu-user-static/usr/share/binfmts/ \ $(addprefix debian/binfmts/qemu-,${binfmt_targets}) endif # enable_linux_user # install whole thing so --list-missing works right dh_install --list-missing # install the rest for arch/indep as needed dh_installdocs ${ai} dh_installman ${ai} dh_installchangelogs ${ai} Changelog dh_installudev ${ai} ifneq (${ai},-i) # do not run this for binary-indep ifeq (${enable_system},enable) # qemu-ifup is arch-specific install -D debian/qemu-ifup.$(DEB_HOST_ARCH_OS) \ debian/qemu-system-common/etc/qemu-ifup ifneq ($(filter $(DEB_HOST_ARCH),amd64 i386),) # we load kvm module only on x86 (modern kernels don't need even that), # and we don't want to fail installation if module can't be loaded # remoe past jessie (and maybe for jessie too) dh_installinit -pqemu-system-x86 --no-restart-on-upgrade --error-handler=: -- start 20 S . endif endif dh_installinit -pqemu-guest-agent endif dh_link ${ai} dh_strip ${ai} dh_compress ${ai} dh_fixperms ${ai} dh_installdeb ${ai} dh_shlibdeps ${ai} dh_gencontrol ${ai} dh_md5sums ${ai} dh_builddeb ${ai} ifneq (,$(wildcard debian/control-in)) # only include rules for debian/control if debian/control-in is present debian/control: debian/control-in debian/rules sed -e 's/^:${VENDOR}://' -e '/^:[a-z]*:/D' \ $< > $@.tmp mv -f $@.tmp $@ endif .PHONY: build clean binary-indep binary-arch binary install debian/qemu-utils.manpages0000664000000000000000000000006012274173537013021 0ustar debian/qemu-make-debian-root.8 debian/qemu-io.1 debian/extract-config-opts0000775000000000000000000000047112274173537013033 0ustar #! /bin/sh # This is a trivial script to parse comments in debian/control # into a set of system-specific configure options. # Usage: ./debian/extract-config-opts $OS-$ARCH debian/control sed -n 's/^# \?--/--/p' $2 | \ while read f p x; do [ -n "$p" ] || p="*" eval "case \$1 in ($p) echo \$f;; esac" done debian/qemu-system.NEWS0000664000000000000000000000416612274173537012201 0ustar qemu (1.3.0+dfsg-4exp) experimental; urgency=low Starting from 1.3.0 release, qemu-system package, which provided QEMU system emulation targets for many architectures, has been split into several packages, each providing a related, per-base-architecture, set of emulators, and qemu-system-misc package which contains some "other" architectures. There are also qemu-system-common package, which provides common files for all other qemu-system-*, packages. Former qemu-system package now become a meta-package which installs emulators for all available targets as before. -- Michael Tokarev Tue, 22 Jan 2013 01:38:27 +0400 qemu (0.12.3+dfsg-3) unstable; urgency=low Starting with QEMU 0.12.0, KQEMU support has been removed from upstream, as it has not seen active development for a few years now, while causing regressions or limitations for non-KQEMU users. -- Aurelien Jarno Wed, 24 Mar 2010 23:14:35 +0100 qemu (0.10.3-2) unstable; urgency=low Starting with QEMU 0.10.0, it is possible to control how the host cache is used to access block data, using the cache= suboption of the -drive option. The following suboptions are available: * none: The host page cache is entirely avoided. * writeback (default in QEMU 0.9.x): Writeback caching reports data writes as completed as soon as the data is present in the host page cache. This is safe as long as you trust your host. If your host crashes or loses power, then the guest may experience data corruption. * writethrough (default in QEMU 0.10.x): The host page cache is used to read and write data but write notification is sent to the guest only when the data has been reported as written by the storage subsystem. Note that depending on your configuration (filesystem, encryption, kernel version, etc.), disk accesses can be very slow with the default cache policy (writethrough). You can use the writeback cache policy instead, but the data integrity is not assured anymore. See qemu(1) for more details. -- Aurelien Jarno Sun, 03 May 2009 23:22:29 +0200 debian/qemu-system-common.postinst0000664000000000000000000000177612274604245014575 0ustar #! /bin/sh set -e if [ "$1" = configure ] ; then # Add the kvm group unless it's already there if ! getent group kvm >/dev/null; then addgroup --quiet --system kvm || true fi fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# # if we just installed the package, udev rules aren't picked up yet, # so udev may have created the device (/dev/kvm) with default permissions. # Fix it here, but only if the perms are like default. # (See #607391) if [ -c /dev/kvm -a ! -L /dev/kvm ] && [ .$(stat -c %u%g /dev/kvm) = .00 ] then chgrp kvm /dev/kvm chmod 0660 /dev/kvm fi # Remove group::--- acl mistakenly placed on /dev/kvm by udev-acl # This can be removed when udev-acl+consolekit are removed in favor # of logind. if [ -c /dev/kvm -a ! -L /dev/kvm ] then /usr/bin/setfacl -m g::rw /dev/kvm fi # udev rules for /dev/kvm have changed, so have udev # recalculate: udevadm trigger --subsystem-match=misc --action=change exit 0 debian/qemu-system-x86.init0000664000000000000000000000273712274173537013015 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: qemu-system-x86 # Required-Start: mountkernfs # Required-Stop: # Should-Start: udev devfsd # Should-Stop: # Default-Start: S # Default-Stop: # Short-Description: QEMU KVM module loading script # Description: This script loads the kernel modules needed by QEMU KVM ### END INIT INFO case "$1" in start|restart|force-reload) [ ! -e /dev/kvm ] || exit 0 # nothing to do # kernel 3.4+ autoloads modules case "$(uname -r 2>/dev/null)" in 3.[4-9]* | 3.[1-9][0-9]* | [4-9].*) exit 0 ;; esac # check if we're running inside an (lxc) container # (we may copy or move this to the postinst script too, to skip installing it) grep -zqs ^container= /proc/1/environ && exit 0 . /lib/lsb/init-functions if grep -q '^flags.*\' /proc/cpuinfo; then module=kvm_intel elif grep -q '^flags.*\' /proc/cpuinfo; then module=kvm_amd else log_warning_msg "Your system does not have support for KVM" exit 0 fi if ! which modprobe >/dev/null; then log_warning_msg "modprobe isn't installed, not loading kvm modules." exit 0 fi if modprobe -b $module ; then log_success_msg "Loading kvm module $module" else log_failure_msg "Module $module failed to load" exit 1 fi if modprobe -b vhost-net ; then log_warning_msg "Module vhost-net failed to load" fi ;; stop) ;; *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2 exit 3 ;; esac : debian/qemu-kvm.NEWS0000664000000000000000000000440112274173537011442 0ustar qemu (1.7.0+dfsg-2) unstable; urgency=low qemu-kvm package is back with just a one-line shell wrapper /usr/bin/kvm which runs qemu-system-x86. -- Michael Tokarev Thu, 28 Nov 2013 20:42:53 +0400 qemu (1.3.0+dfsg-2exp) experimental; urgency=low * Since version 1.3 of qemu, all remaining bits of former qemu-kvm were merged into qemu. So since this version, we don't have separate qemu-kvm source package, and qemu-kvm binary package becomes transitional, from qemu-kvm to qemu-system-x86. New executable to run instead of kvm is qemu-system-x86_64. We provide a command-line compatibility wrapper in the usual place, /usr/bin/kvm, which prepends a few command-line flags and calls qemu-system-x86_64. The result should behave the same as old qemu-kvm. The main difference between old qemu-kvm (kvm) binary and qemu-system-x86_64 is that qemu-system-x86_64 (new) does not enable kvm by default, user should do that explicitly by specifying either -enable-kvm option (in which case the command will fail if kvm extensions are not available due to hardware lacking them or other reasons), or using -machine accel=kvm:tcg, which will fall back to emulation mode if kvm can not be initialized. The latter is the way used in the wrapper script. * Old qemu-kvm way to specify bootable device by using ,boot=on device property is not supported by qemu-system-x86_64. That way has been deprecated in Debian version of qemu-kvm for a while too, it worked but produced a warning. The most important reason why it existed was to support booting from SCSI devices (from virtual LSI Logic SCSI controller). This device is now supported natively using bootorder property, like all other devices. * Old qemu-kvm used to emulate virtual Realtek RTL8139 network card by default. New qemu emulates Intel e1000 NIC instead. The latter is more efficient and featureful, but unless you explicitly specified which NIC to emulate, you may need to reconfigure either your guest or the command line you use to run it. * Please note that old qemu-kvm configuration files (in /etc/kvm/) are no longer used. -- Michael Tokarev Tue, 22 Jan 2013 01:12:52 +0400 debian/qemu-ifup.linux0000775000000000000000000000217412274173537012203 0ustar #! /bin/sh # Script to bring a network (tap) device for qemu up. # The idea is to add the tap device to the same bridge # as we have default routing to. # in order to be able to find brctl PATH=$PATH:/sbin:/usr/sbin ip=$(which ip) if [ -n "$ip" ]; then ip link set "$1" up else brctl=$(which brctl) if [ ! "$ip" -o ! "$brctl" ]; then echo "W: $0: not doing any bridge processing: neither ip nor brctl utility not found" >&2 exit 0 fi ifconfig "$1" 0.0.0.0 up fi switch=$(ip route ls | \ awk '/^default / { for(i=0;i&2 debian/qemu-system-ppc.README.Debian0000664000000000000000000000120612274173537014313 0ustar qemu-system for Debian ---------------------- The qemu-system-ppc package does not include the video.x file, which is needed by qemu-system-ppc for some systems. The file is available from the mac-on-linux project, and the sources are available on: http://mac-on-linux.svn.sourceforge.net/viewvc/mac-on-linux/mac-drivers/video_driver/Makefile?revision=HEAD&view=markup They are not buildable on a Debian system though, hence video.x is not present in the package. The qemu-system-ppc binary is still useful for emulating a PReP platform, which does not need video.x. -- Aurelien Jarno Sun, 16 Mar 2008 19:17:39 +0100 debian/qemu-system-common.preinst0000664000000000000000000000032512274604252014361 0ustar #!/bin/sh set -e case "$1" in install|upgrade) # Add the kvm group unless it's already there if ! getent group kvm >/dev/null; then addgroup --quiet --system kvm || true fi esac #DEBHELPER# debian/qemu-system-common.install0000664000000000000000000000073112274216530014342 0ustar debian/qemu-ifdown etc/ debian/tmp/usr/share/man/man1/qemu.1 pc-bios/qemu-icon.bmp /usr/share/qemu/ pc-bios/qemu_logo_no_text.svg /usr/share/qemu/ # until we have qemu-docs package, # these are duplicated here and in qemu metapackage debian/tmp/usr/share/doc/qemu/qemu-tech.html /usr/share/doc/qemu-system/ debian/tmp/usr/share/doc/qemu/qemu-doc.html /usr/share/doc/qemu-system/ debian/tmp/usr/share/doc/qemu/qmp-commands.txt /usr/share/doc/qemu-system/ debian/tmp/usr/lib debian/patches/0000775000000000000000000000000012321137133010613 5ustar debian/patches/02_kfreebsd.patch0000664000000000000000000000111212315063071013717 0ustar Index: qemu-2.0~git-20140327.3768d50/configure =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/configure 2014-03-27 12:55:45.402902974 -0500 +++ qemu-2.0~git-20140327.3768d50/configure 2014-03-27 12:55:45.394902975 -0500 @@ -3013,6 +3013,14 @@ cat > $TMPC << EOF #include #include +#if defined __stub_futimens || defined __stub___futimens +choke me +#endif + +#if defined __stub_utimensat || defined __stub___utimensat +choke me +#endif + int main(void) { utimensat(AT_FDCWD, "foo", NULL, 0); debian/patches/use-fixed-data-path.patch0000664000000000000000000000364112315063070015373 0ustar Subject: use fixed data dir instead of determining it at runtime From: Michael Tokarev Debian-specific: yes Since we install to a fixed location, use fixed data directory instead of deriving it at runtime from executable path. This way it is possible to move qemu binary to another directory and it will still work. Index: qemu-2.0~git-20140327.3768d50/os-posix.c =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/os-posix.c 2014-03-27 12:55:45.478902972 -0500 +++ qemu-2.0~git-20140327.3768d50/os-posix.c 2014-03-27 12:55:45.470902972 -0500 @@ -75,6 +75,7 @@ void os_setup_signal_handling(void) sigaction(SIGTERM, &act, NULL); } +#if 0 /* we use a fixed configured data path */ /* Find a likely location for support files using the location of the binary. For installed binaries this will be "$bindir/../share/qemu". When running from the build tree this will be "$bindir/../pc-bios". */ @@ -109,6 +110,7 @@ char *os_find_datadir(void) } #undef SHARE_SUFFIX #undef BUILD_SUFFIX +#endif void os_set_proc_name(const char *s) { Index: qemu-2.0~git-20140327.3768d50/vl.c =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/vl.c 2014-03-27 12:55:45.478902972 -0500 +++ qemu-2.0~git-20140327.3768d50/vl.c 2014-03-27 12:55:45.470902972 -0500 @@ -3997,14 +3997,6 @@ int main(int argc, char **argv, char **e } } - /* If no data_dir is specified then try to find it relative to the - executable path. */ - if (data_dir_idx < ARRAY_SIZE(data_dir)) { - data_dir[data_dir_idx] = os_find_datadir(); - if (data_dir[data_dir_idx] != NULL) { - data_dir_idx++; - } - } /* If all else fails use the install path specified when building. */ if (data_dir_idx < ARRAY_SIZE(data_dir)) { data_dir[data_dir_idx++] = CONFIG_QEMU_DATADIR; debian/patches/series0000664000000000000000000000035112321137140012025 0ustar 02_kfreebsd.patch retry-pxe-after-efi.patch use-fixed-data-path.patch move-ncalrpc-dir-to-tmp.patch ubuntu/expose-vmx_qemu64cpu.patch define-trusty-machine-type.patch ubuntu/kvm_physical_sync_dirty_bitmap-ignore-ENOENT-from-kv.patch debian/patches/ubuntu/0000775000000000000000000000000012321254503012136 5ustar debian/patches/ubuntu/kvm_physical_sync_dirty_bitmap-ignore-ENOENT-from-kv.patch0000664000000000000000000000242212321137214025300 0ustar From 0d818e334f6db88b2770e9a1076ae1e68c41e460 Mon Sep 17 00:00:00 2001 From: Serge Hallyn Date: Tue, 8 Apr 2014 22:14:20 -0500 Subject: [PATCH 1/1] kvm_physical_sync_dirty_bitmap: ignore ENOENT from kvm_vm_ioctl ENOENT (iiuc) means the kernel has an empty dirty bitmap for this slot. Don't abort in that case. This appears to solve the bug reported at https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1303926 Signed-off-by: Serge Hallyn --- kvm-all.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: qemu-2.0.0~rc1+dfsg/kvm-all.c =================================================================== --- qemu-2.0.0~rc1+dfsg.orig/kvm-all.c 2014-04-08 22:28:38.000722081 -0500 +++ qemu-2.0.0~rc1+dfsg/kvm-all.c 2014-04-08 22:29:14.644722904 -0500 @@ -441,10 +441,13 @@ static int kvm_physical_sync_dirty_bitma d.slot = mem->slot; - if (kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d) < 0) { + ret = kvm_vm_ioctl(s, KVM_GET_DIRTY_LOG, &d); + if (ret < 0 && ret != -ENOENT) { DPRINTF("ioctl failed %d\n", errno); ret = -1; break; + } else if (ret < 0) { + ret = 0; } kvm_get_dirty_pages_log_range(section, d.dirty_bitmap); debian/patches/ubuntu/expose-vmx_qemu64cpu.patch0000664000000000000000000000172512315063067017216 0ustar Description: Expose VMX cpuid feature to the default "qemu64" CPU type, supporting Intel compatible VMX nested virtualization. Author: Dave Walker (Daviey) Index: qemu-2.0~git-20140327.3768d50/target-i386/cpu.c =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/target-i386/cpu.c 2014-03-27 12:55:45.550902969 -0500 +++ qemu-2.0~git-20140327.3768d50/target-i386/cpu.c 2014-03-27 12:55:45.546902969 -0500 @@ -594,7 +594,8 @@ static X86CPUDefinition builtin_x86_defs CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | CPUID_PSE36, .features[FEAT_1_ECX] = - CPUID_EXT_SSE3 | CPUID_EXT_CX16 | CPUID_EXT_POPCNT, + CPUID_EXT_SSE3 | CPUID_EXT_CX16 | CPUID_EXT_POPCNT | + CPUID_EXT_VMX, .features[FEAT_8000_0001_EDX] = (PPRO_FEATURES & CPUID_EXT2_AMD_ALIASES) | CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX, debian/patches/move-ncalrpc-dir-to-tmp.patch0000664000000000000000000000301312315063067016220 0ustar From: Michael Buesch Subject: [PATCH] slirp/smb: Move ncalrpc directory to tmp Bug-Debian: http://bugs.debian.org/728876 The smbd forked by qemu still uses the default ncalrpc directory in /var/run/samba. This may lead to problems, if /var/run/samba does not exist (for example if /var/run is a tmpfs and the host smbd was not started). This leads to the following error message from samba and an unworkable smbd: Failed to create pipe directory /var/run/samba/ncalrpc - No such file or directory Fix this by pointing smbd to /tmp/qemu-smb.%d.%d/ncalrpc as ncalrpc directory. Smbd will create the actual ncalrpc subdirectory on its own. Signed-off-by: Michael Buesch --- Index: qemu-2.0~git-20140327.3768d50/net/slirp.c =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/net/slirp.c 2014-03-27 12:55:45.514902971 -0500 +++ qemu-2.0~git-20140327.3768d50/net/slirp.c 2014-03-27 12:55:45.506902971 -0500 @@ -527,6 +527,7 @@ static int slirp_smb(SlirpState* s, cons "pid directory=%s\n" "lock directory=%s\n" "state directory=%s\n" + "ncalrpc dir=%s/ncalrpc\n" "log file=%s/log.smbd\n" "smb passwd file=%s/smbpasswd\n" "security = user\n" @@ -539,6 +540,7 @@ static int slirp_smb(SlirpState* s, cons s->smb_dir, s->smb_dir, s->smb_dir, + s->smb_dir, s->smb_dir, s->smb_dir, s->smb_dir, debian/patches/define-trusty-machine-type.patch0000664000000000000000000000216712321024130017015 0ustar Index: qemu-2.0.0~rc1+dfsg/hw/i386/pc_piix.c =================================================================== --- qemu-2.0.0~rc1+dfsg.orig/hw/i386/pc_piix.c 2014-04-03 13:56:23.000000000 -0500 +++ qemu-2.0.0~rc1+dfsg/hw/i386/pc_piix.c 2014-04-08 11:48:23.533221934 -0500 @@ -390,9 +390,7 @@ static void pc_xen_hvm_init(QEMUMachineI static QEMUMachine pc_i440fx_machine_v2_0 = { PC_I440FX_2_0_MACHINE_OPTIONS, .name = "pc-i440fx-2.0", - .alias = "pc", .init = pc_init_pci, - .is_default = 1, }; #define PC_I440FX_1_7_MACHINE_OPTIONS PC_I440FX_MACHINE_OPTIONS @@ -839,3 +837,23 @@ static void pc_machine_init(void) } machine_init(pc_machine_init); + +/* Ubuntu machine types */ + +static QEMUMachine pc_machine_trusty = { + PC_DEFAULT_MACHINE_OPTIONS, + .default_machine_opts = "firmware=bios-256k.bin", + .hot_add_cpu = pc_hot_add_cpu, + .name = "pc-i440fx-trusty", + .alias = "pc", + .desc = "Ubuntu 14.04 PC (i440FX + PIIX, 1996)", + .init = pc_init_pci, + .is_default = 1, +}; + +static void ubuntu_machine_init(void) +{ + qemu_register_machine(&pc_machine_trusty); +} + +machine_init(ubuntu_machine_init); debian/patches/retry-pxe-after-efi.patch0000664000000000000000000000273112315063070015437 0ustar Subject: retry pxe- after loading efi- From: Michael Tokarev Forwarded: no Debian-Specific: yes As of version 1.5, qemu now uses efi-XXXX.rom for network boot ROMS instead of previously used pxe-XXXX.rom. This (hackish) patch, after an attempt to load efi-XXXX.rom fails, tries again now searching for pxe-XXXX.rom instead. This way we can still use old pxe-qemu package which does not provide efi roms. The patch is debian-specific, since upstream ships all necessary ROMs in the source tarball and so always uses the right ROMs. /mjt Index: qemu-2.0~git-20140327.3768d50/vl.c =================================================================== --- qemu-2.0~git-20140327.3768d50.orig/vl.c 2014-03-27 12:55:45.438902973 -0500 +++ qemu-2.0~git-20140327.3768d50/vl.c 2014-03-27 12:56:08.000000000 -0500 @@ -2365,6 +2365,7 @@ char *qemu_find_file(int type, const cha abort(); } +retry: for (i = 0; i < data_dir_idx; i++) { buf = g_strdup_printf("%s/%s%s", data_dir[i], subdir, name); if (access(buf, R_OK) == 0) { @@ -2373,6 +2374,16 @@ char *qemu_find_file(int type, const cha } g_free(buf); } + + if (memcmp(name, "efi-", 4) == 0 && type == QEMU_FILE_TYPE_BIOS) { + /* if not found but requested efi-*, retry with pxe-* */ + buf = alloca(strlen(name) + 1); + strcpy(buf, "pxe"); + strcpy(buf + 3, name + 3); + name = buf; + goto retry; + } + return NULL; } debian/qemu-user-static.README.Debian0000664000000000000000000000150112274173537014450 0ustar qemu-user-static for Debian --------------------------- * Configuring qemu-user-static to execute foreign binaries with binfmt qemu-user-ARCH-static can be configured to run foreign binaries with binfmt. qemu-user-ARCH-static has been built to prefix all paths to the file system with /etc/qemu-binfmt/ARCH. When using non-static binaries, a symlink pointing to the foreign libraries should be installed in this directory. * Configuring qemu-user-static to use in a foreign chroot When used with binfmt, qemu-user-ARCH-static can be configured to run a foreign chroot. The qemu-user-ARCH-static binary should be copied (or better hard linked) into the chroot in /usr/bin. Then the chroot can be entered and used like a normal chroot. -- Aurelien Jarno Sun, 27 Dec 2009 00:35:15 +0100 debian/qemu-user-static.prerm-in0000664000000000000000000000054412274173537014071 0ustar # binfmt registration/deregistration if [ "$1" = remove ] && [ -x /usr/sbin/update-binfmts ]; then # list of architectures is autogenerated from debian/rules for target in @BINFMT_TARGETS@ ; do if [ -f /var/lib/binfmts/qemu-"$target" ]; then update-binfmts --package qemu-user-static --remove qemu-$target /usr/bin/qemu-$target-static fi done fi debian/qemu-user.10000664000000000000000000000160112274173537011206 0ustar .\" $Id: qemu-user.1 234 2007-02-07 22:57:18Z guillem $ .TH qemu\-user 1 2007-02-08 "0.9.0" Debian .SH NAME qemu\-user \- QEMU User Emulator .SH SYNOPSIS .B qemu\-user .RI [ options ] .I program .RI [ program-arguments... ] .SH DESCRIPTION The .B qemu\-user emulator can run binaries for other architectures but with the same operating system as the current one. .SH OPTIONS .TP .BR \-h Print this help. .TP .BR \-g Wait gdb connection to port 1234. .TP .BR \-L " \fI\fP" Set the elf interpreter prefix (default=\fI/usr/gnemul/qemu\-arm\fP). .TP .BR \-s " \fI\fP" Set the stack size in bytes (default=\fI524288\fP). .TP .BR \-d " \fI\fP" Activate log (logfile=\fI/tmp/qemu.log\fP) .TP .BR \-p " \fI\fP" Set the host page size to 'pagesize'. .SH SEE ALSO .BR qemu (1), .BR qemu\-img (1). .SH AUTHOR This manual page was written by Guillem Jover . debian/qemu-system-x86.qemu-kvm.upstart0000664000000000000000000000322612274212453015276 0ustar # qemu-kvm description "KVM" author "Dustin Kirkland " start on runlevel [2345] pre-start script # Silently exit if the package isn't installed anymore if [ ! -e /usr/bin/kvm ]; then exit 0 fi [ -r /etc/default/qemu-kvm ] && . /etc/default/qemu-kvm # Load the appropriate module, respecting blacklists if grep -qs "^flags.* vmx" /proc/cpuinfo; then modprobe -b kvm_intel "$KVM_NESTED" || true elif grep -qs "^flags.* svm" /proc/cpuinfo; then modprobe -b kvm_amd || true fi # Enable KSM, respecting the default configuration file if [ "$KSM_ENABLED" = "1" ]; then [ -w /sys/kernel/mm/ksm/run ] && echo 1 > /sys/kernel/mm/ksm/run || true if [ -w /sys/kernel/mm/ksm/sleep_millisecs ]; then if [ -n "$SLEEP_MILLISECS" ]; then echo "$SLEEP_MILLISECS" > /sys/kernel/mm/ksm/sleep_millisecs || true fi fi else [ -w /sys/kernel/mm/ksm/run ] && echo 0 > /sys/kernel/mm/ksm/run || true fi # If /etc/default/qemu-kvm says to, load vhost_net. Default is not to. if [ "$VHOST_NET_ENABLED" = "1" ]; then modprobe -b vhost_net || true fi # mount hugepages if available and requested if [ "$KVM_HUGEPAGES" -eq "1" ]; then if ! grep -q hugetlbfs /proc/filesystems; then logger -t qemu-kvm "Error: hugepages not available in the kernel!" elif grep -q /run/hugepages/kvm /proc/mounts; then logger -t qemu-kvm "/run/hugepages/kvm already mounted" elif ! grep -q kvm /etc/group; then logger -t qemu-kvm "Error: group kvm does not exist!" else kvmgid=`grep kvm /etc/group | cut -d: -f 3` mkdir -p /run/hugepages/kvm mount -t hugetlbfs hugetlbfs-kvm -o mode=775,gid=$kvmgid /run/hugepages/kvm fi fi end script