Source: qemu
Section: otherosfs
Priority: optional
:debian:Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
:ubuntu:Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
:ubuntu:XSBC-Original-Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
Uploaders: Michael Tokarev <mjt@tls.msk.ru>
Build-Depends: debhelper-compat (= 13),
 python3:any,
 python3-venv,
 meson (>> 0.63.0~), ninja-build,
 flex, bison,
Build-Depends-Arch:
# In comments below we also specify (system-specific) arguments
# to qemu's configure script, -- optional features which depend
# on build-dependencies.
# --enable-docs
# for python3-sphinx:native see #995622
 texinfo, python3-sphinx:native, python3-sphinx-rtd-theme,
# always needed
 libglib2.0-dev,
 zlib1g-dev,
# iasl (from acpica-tools) is used only in a single test these days, not for building
# acpica-tools,
# libcapstone is in universe in ubuntu
:debian:# --enable-capstone
:debian: libcapstone-dev,
# --enable-linux-aio	linux-any
 libaio-dev            [linux-any],
# libsndio is in universe in ubuntu
# --disable-sndio
# --audio-drv-list=pipewire,pa,alsa,jack,oss,sdl	:system-arch-linux:
##--audio-drv-list=pa,oss	kfreebsd-any
 libjack-dev  [:system-arch-linux:],
 libpulse-dev,
 libasound2-dev [:system-arch-linux:],
 libpipewire-0.3-dev [:system-arch-linux:],
# for virtfs (now in libc6)
# --enable-attr
# --enable-bpf	linux-any
 libbpf-dev	[linux-any],
# --enable-brlapi	:system-arch:
 libbrlapi-dev         [:system-arch:],
# --enable-virtfs	linux-any
# needed for virtfs
# --enable-cap-ng	linux-any
 libcap-ng-dev         [linux-any],
# --enable-curl
 libcurl4-gnutls-dev,
# --enable-fdt
 libfdt-dev,
# --enable-fuse
 libfuse3-dev,
# --enable-gnutls
 gnutls-dev,
# --enable-gtk --enable-vte	:system-arch:
 libgtk-3-dev [:system-arch:],
 libvte-2.91-dev [:system-arch:],
# --enable-libiscsi
 libiscsi-dev,
# --enable-curses	:system-arch:
 libncurses-dev        [:system-arch:],
# --enable-virglrenderer	:system-arch-linux:
 libvirglrenderer-dev          [:system-arch-linux:],
# --enable-opengl	:system-arch-linux:
 libepoxy-dev [:system-arch-linux:],
 libdrm-dev [:system-arch-linux:],
 libgbm-dev [:system-arch-linux:],
# --enable-libnfs
 libnfs-dev,
# --enable-numa	i386 amd64 ia64 mips mipsel mips64 mips64el powerpc powerpcspe x32 ppc64 ppc64el arm64 sparc s390x riscv64
 libnuma-dev   [i386 amd64 ia64 mips mipsel mips64 mips64el powerpc powerpcspe x32 ppc64 ppc64el arm64 sparc s390x riscv64],
# --enable-smartcard
 libcacard-dev,
# --enable-pixman
 libpixman-1-dev,
# --enable-rbd		amd64 arm64 mips64el ppc64el ppc64 riscv64 s390x sparc64
 librbd-dev            [amd64 arm64 mips64el ppc64el ppc64 riscv64 s390x sparc64],
# gluster is 64bit-only: #1039604
# --enable-glusterfs	 amd64 arm64 ppc64el ppc64 riscv64 mips64el s390x ia64 sparc64
 libglusterfs-dev	[amd64 arm64 ppc64el ppc64 riscv64 mips64el s390x ia64 sparc64],
# --enable-vnc-sasl
 libsasl2-dev,
# --enable-sdl	:system-arch:
 libsdl2-dev [:system-arch:],
# --enable-seccomp	amd64 arm64 armel armhf i386 mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x x32
 libseccomp-dev        [amd64 arm64 armel armhf i386 mips64el mipsel ppc64 ppc64el powerpc riscv64 s390x x32],
# --enable-slirp
 libslirp-dev,
# --enable-spice	 :spice-arch:
 libspice-server-dev	[:spice-arch:],
# --enable-rdma		linux-any
 librdmacm-dev [linux-any], libibverbs-dev [linux-any], libibumad-dev [linux-any],
# --enable-linux-io-uring	linux-any
 liburing-dev                  [linux-any],
# --enable-libusb	linux-any
 libusb-1.0-0-dev      [linux-any],
# --enable-usb-redir	linux-any
 libusbredirparser-dev [linux-any],
# --enable-libssh
 libssh-dev,
# --enable-zstd
 libzstd-dev,
# vde is debian-only since ubuntu/vde2 is in universe
:debian:# --enable-vde
:debian: libvdeplug-dev,
 libxen-dev [linux-amd64],
# --enable-nettle
 nettle-dev,
# other optional features we enable
# --enable-libudev
# needed for qga?
 libudev-dev [linux-any],
# --enable-vnc
# --enable-vnc-jpeg
 libjpeg-dev,
# --enable-png
 libpng-dev,
# --enable-libpmem	amd64 arm64
 libpmem-dev           [amd64 arm64],
# --enable-kvm		linux-any
# --enable-vhost-net	linux-any	# is it really linux-specific?
##--enable-lzo todo, for (memory) dumps
##--enable-netmap todo bsd
##--enable-xen-pci-passthrough todo
## auth-pam - for auth for vnc&Co using PAM
#
# the testsuite:
#XXX-cyclic-test-dep-dak-bug seabios [:system-arch-linux:] <!nocheck>,
# ipxe-qemu [:system-arch-linux:] <!nocheck>,
# various firmware files (kvmvapic.bin &Co), older qemu-system-data should work
#XXX-cyclic-test-dep-dak-bug qemu-system-data [:system-arch-linux:] <!nocheck>,
Build-Depends-Indep:
# pc-bios/*.dts => *.dtb (PPC firmware)
 device-tree-compiler,
 gcc-s390x-linux-gnu,
# qemu-palcode/palcode-clipper
 gcc-alpha-linux-gnu,
# u-boot code
 gcc-powerpc-linux-gnu, bc,
# skiboot firmware, openbios
 gcc-powerpc64-linux-gnu,
# skiboot includes <openssl/something.h>
 libssl-dev,
# openbios
 gcc-sparc64-linux-gnu, fcode-utils, xsltproc,
# hppa-firmware
 gcc-hppa-linux-gnu,
# opensbi
 gcc-riscv64-linux-gnu,
# vbootrom/npcm7xx_bootrom
 gcc-arm-none-eabi,
Build-Conflicts: oss4-dev
Standards-Version: 4.6.1
Homepage: http://www.qemu.org/
Rules-Requires-Root: binary-targets
:debian:Vcs-Browser: https://salsa.debian.org/qemu-team/qemu
:debian:Vcs-Git: https://salsa.debian.org/qemu-team/qemu.git
:ubuntu:XS-Debian-Vcs-Browser: https://salsa.debian.org/qemu-team/qemu
:ubuntu:XS-Debian-Vcs-Git: https://salsa.debian.org/qemu-team/qemu.git
:ubuntu:Vcs-Browser: https://git.launchpad.net/ubuntu/+source/qemu
:ubuntu:Vcs-Git: https://git.launchpad.net/ubuntu/+source/qemu

Package: qemu-system
Architecture: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${misc:Depends},
 qemu-system-arm,
 qemu-system-mips,
 qemu-system-ppc,
 qemu-system-sparc,
 qemu-system-x86,
:ubuntu: qemu-system-s390x,
 qemu-system-misc
Description: QEMU full system emulation binaries
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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-block-extra
Architecture: :utils-arch:
Multi-Arch: no
Depends: ${misc:Depends}, ${shlibs:Depends},
# we need to ensure qemu-block-extra is upgraded with qemu-system-* or qemu-utils
 qemu-system-any (= ${binary:Version}) [:system-arch:] | qemu-utils (= ${binary:Version}),
Enhances: qemu-utils, qemu-system-misc,
 qemu-system-arm, qemu-system-mips, qemu-system-sparc, qemu-system-x86,
Description: extra block backend modules for qemu-system and qemu-utils
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. By using dynamic
 translation it achieves reasonable speed while being easy to port on new host
 CPUs.
 .
 This package provides extra block device backend modules for qemu-system
 emulation and qemu-img from qemu-utils package, which are rarely used and
 has extra dependencies.
:ubuntu:
:ubuntu:Package: qemu-block-supplemental
:ubuntu:# For now, this package only ships glusterfs, which does not build in 32bit architectures
:ubuntu:Architecture: amd64 arm64 ppc64el riscv64 s390x
:ubuntu:Multi-Arch: no
:ubuntu:Depends: ${misc:Depends}, ${shlibs:Depends},
:ubuntu:# qemu-block-extra has the run-qemu.mount unit which we need
:ubuntu: qemu-block-extra (= ${binary:Version}),
:ubuntu:# we need to ensure qemu-block-supplemental is upgraded with qemu-system-* or qemu-utils
:ubuntu: qemu-system-any (= ${binary:Version}) [amd64 arm64 armhf ppc64el riscv64 s390x] | qemu-utils (= ${binary:Version}),
:ubuntu:Enhances: qemu-utils, qemu-system-misc,
:ubuntu: qemu-system-arm, qemu-system-mips, qemu-system-sparc, qemu-system-x86,
:ubuntu:Breaks: qemu-block-extra (<< 1:8.2.0+ds-4ubuntu2~)
:ubuntu:Replaces: qemu-block-extra (<< 1:8.2.0+ds-4ubuntu2)
:ubuntu:Description: supplemental block backend modules for qemu-system and qemu-utils
:ubuntu: QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
:ubuntu: CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
:ubuntu: S390x, SH4, SPARC, x86-64, Xtensa and other emulations. By using dynamic
:ubuntu: translation it achieves reasonable speed while being easy to port on new host
:ubuntu: CPUs.
:ubuntu: .
:ubuntu: This package provides supplemental block device backend modules for qemu-system
:ubuntu: emulation and qemu-img from qemu-utils package.
:ubuntu: .
:ubuntu: Currently, the following module is shipped in this package: block-glusterfs

Package: qemu-system-data
Architecture: all
Multi-Arch: foreign
Conflicts: sgabios, qemu-skiboot, openbios-sparc, openbios-ppc, qemu-slof,
Replaces:  sgabios, openbios-sparc, openbios-ppc, qemu-slof,
 qemu-system-ppc (<< 1:6.1-4~),
Breaks: qemu-system-ppc (<< 1:6.1-4~),
Provides: qemu-keymaps, sgabios, qemu-skiboot, openbios-sparc, openbios-ppc, qemu-slof,
Depends: ${misc:Depends}
Description: QEMU full system emulation (data files)
 This package provides architecture-neutral data files
 (such as keyboard definitions, icons) for system-mode
 QEMU emulation (qemu-system-*) packages.

Package: qemu-system-common
Architecture: :system-arch:
Multi-Arch: no
Build-Profiles: <!pkg.qemu.omit-system>
Breaks: libvirt-daemon (<< 7.2.0-1)
Depends: ${misc:Depends}, ${shlibs:Depends},
# to fix wrong acl for newly created device node on ubuntu:
:ubuntu: acl
Description: QEMU full system emulation binaries (common files)
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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-gui
Architecture: :system-arch:
#XXX M-A: same does not really work for now due to /usr/lib/qemu/vhost-user-gpu
#XXX we'll deal with this if some actual need arises,
#XXX by moving that binary back to q-s-common or packaging it separately
#Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends},
# ui-* depends on ui-opengl
 qemu-system-modules-opengl (= ${binary:Version}),
# we need to ensure qemu-system-gui is upgraded with qemu-system-*
 qemu-system-any (= ${binary:Version}),
# libgl1 is dynamically loaded by sdl display code
 libgl1,
# we moved vhost-user-gpu files here from qemu-system-common at 6.1-4
Replaces: qemu-system-common (<< 1:6.1+dfsg-4~)
Description: QEMU full system emulation binaries (graphical display and audio modules)
 This package provides optional graphical guest display modules (currently GTK
 and SDL) and audio backend modules for full system emulation (qemu-system-*)
 packages.
 .
 This package is not a management/control/GUI interface for qemu, use something
 else (like virt-manager) for that.

Package: qemu-system-modules-spice
Architecture: :spice-arch:
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${misc:Depends}, ${shlibs:Depends},
# spice modules depends on ui-opengl
 qemu-system-modules-opengl (= ${binary:Version}),
# we need to ensure qemu-system-modules-spice is upgraded with qemu-system-*
 qemu-system-any (= ${binary:Version}),
Replaces: qemu-system-common (<< 1:8.1.0+ds-1~exp2~)
Breaks:   qemu-system-common (<< 1:8.1.0+ds-1~exp2~)
Description: QEMU full system emulation binaries (spice display modules)
 This package provides optional spice display (qxl and spice-app) and audio
 support modules for QEMU full system emulation (qemu-system-*) packages.

Package: qemu-system-modules-opengl
Architecture: :system-arch:
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${misc:Depends}, ${shlibs:Depends},
# we need to ensure qemu-system-modules-opengl is upgraded when qemu-system is upgraded
 qemu-system-any (= ${binary:Version}),
Replaces: qemu-system-common (<< 1:8.1.0+ds-1~exp2~), qemu-system-gui (<< 1:8.1.0+ds-1~exp2~)
Breaks:   qemu-system-common (<< 1:8.1.0+ds-1~exp2~), qemu-system-gui (<< 1:8.1.0+ds-1~exp2~)
Description: QEMU full system emulation binaries (OpenGL display modules)
 This package provides optional OpenGL display support modules for QEMU full
 system emulation (qemu-system-*) packages.  It also provides dbus display type.

Package: qemu-system-misc
Architecture: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
Recommends: qemu-utils,
# alpha uses vgabios
# alpha m68k sh4 uses bootroms
 seabios,
 ipxe-qemu,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
Suggests: samba, vde2,
Provides: ${qemu:Provides}
Description: QEMU full system emulation binaries (miscellaneous)
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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:
  ${qemu:archlist}.
 .
 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: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
Recommends: qemu-utils,
# aarch64 arm uses bootroms
 ipxe-qemu,
:ubuntu: ipxe-qemu-256k-compat-efi-roms,
 qemu-efi-aarch64, qemu-efi-arm,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
Suggests: samba, vde2,
Provides: ${qemu:Provides}
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: ${qemu:archlist}.
 .
 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: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
Recommends: qemu-utils,
# all mips targets uses vgabios and bootroms
 seabios,
 ipxe-qemu,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
Suggests: samba, vde2,
Provides: ${qemu:Provides}
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: ${qemu:archlist}.
 .
 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: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
Recommends: qemu-utils,
:ubuntu: ipxe-qemu-256k-compat-efi-roms,
# ppc targets use vgabios-stdvga and bootroms
 seabios,
 ipxe-qemu,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
Suggests: samba, vde2,
Provides: ${qemu:Provides}
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: ${qemu:archlist}.
 .
 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: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
Recommends: qemu-utils,
# sparc64 uses vgabios-stdvga and bootroms
 seabios,
 ipxe-qemu,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
Suggests: samba, vde2,
Provides: ${qemu:Provides}
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: ${qemu:archlist}.
 .
 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.
:ubuntu:
:ubuntu:Package: qemu-system-s390x
:ubuntu:Architecture: :system-arch:
:ubuntu:Multi-Arch: foreign
:ubuntu:Build-Profiles: <!pkg.qemu.omit-system>
:ubuntu:Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
:ubuntu:Recommends: qemu-utils,
:ubuntu: qemu-system-gui (= ${binary:Version}),
:ubuntu: qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
:ubuntu: qemu-system-modules-opengl (= ${binary:Version}),
:ubuntu: qemu-block-extra (= ${binary:Version}),
:ubuntu:Provides: ${qemu:Provides}
:ubuntu:Description: QEMU full system emulation binaries (s390x)
:ubuntu: QEMU is a fast processor emulator: currently the package supports
:ubuntu: s390x emulation. By using dynamic translation it achieves reasonable
:ubuntu: speed while being easy to port on new host CPUs.
:ubuntu: .
:ubuntu: This package provides the full system emulation binaries to emulate
:ubuntu: the following s390x hardware: ${qemu:archlist}.
:ubuntu: .
:ubuntu: In system emulation mode QEMU emulates a full system, including a processor
:ubuntu: and various peripherals.  It enables easier testing and debugging of system
:ubuntu: code.  It can also be used to provide virtual hosting of several virtual
:ubuntu: machines on a single server.
:ubuntu:
:ubuntu:# xen support generally is disabled on ubuntu, for a while we used
:ubuntu:# an extra build with xen enabled. In the meantime Debian followed that
:ubuntu:# approach but with a different name, so add a transitional until
:ubuntu:# after 24.04
:ubuntu:Package: qemu-system-x86-xen
:ubuntu:Architecture: amd64
:ubuntu:Multi-Arch: foreign
:ubuntu:Section: oldlibs
:ubuntu:Depends: qemu-system-xen (>= 1:7.0+dfsg-7ubuntu1), ${misc:Depends}
:ubuntu:Description: QEMU full system emulation binaries (x86)
:ubuntu: The former qemu-system-x86-xen binaries are now in qemu-system-xen.
:ubuntu: .
:ubuntu: This is a transitional package. You can safely remove it.

Package: qemu-system-x86
Architecture: :system-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-system>
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-common (= ${binary:Version}), qemu-system-data (>> ${source:Upstream-Version}~),
 seabios (>> 1.16.3-1~),
 ipxe-qemu,
Recommends: qemu-utils,
:ubuntu: ipxe-qemu-256k-compat-efi-roms,
 ovmf,
 qemu-system-gui (= ${binary:Version}),
 qemu-system-modules-spice (= ${binary:Version}) [:spice-arch:],
 qemu-system-modules-opengl (= ${binary:Version}),
 qemu-block-extra (= ${binary:Version}),
:ubuntu: cpu-checker,
Suggests: samba, vde2,
Provides: ${qemu:Provides}
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: ${qemu:archlist}.
 .
 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-system-xen
Architecture: amd64
Multi-Arch: no
Build-Profiles: <!pkg.qemu.omit-system-xen>
# do we really need qemu-system-data? keymaps only?
Depends: ${shlibs:Depends}, ${misc:Depends}, qemu-system-data (>> ${source:Upstream-Version}~),
 seabios
Recommends: qemu-utils,
 ovmf,
:ubuntu:# For the transition from the former qemu-system-x86-xen name
:ubuntu:Breaks: qemu-system-x86-xen (<<1:7.0+dfsg-7ubuntu1)
:ubuntu:Replaces: qemu-system-x86-xen (<<1:7.0+dfsg-7ubuntu1)
:ubuntu:Provides: qemu-system-x86-xen
Description: QEMU full system emulation (Xen helper package)
 This package provides the i386 system emulation binary to work
 together with the Xen hypervisor for some types of DomUs.
 This package is not useful by its own.

Package: qemu-user
Architecture: :user-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-user>
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: qemu-user-binfmt
Description: QEMU user mode emulation binaries
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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.
 .
 If qemu-user-binfmt package is also installed, it will register binary
 format handlers from this qemu-user package with the kernel so it will
 be possible to run foreign binaries directly.  However, this might not
 be suitable for using inside foreign chroots, in which case it is
 possible to use qemu-user-static package instead of qemu-user-binmft, --
 qemu-user-static will register statically linked binfmt handlers instead.

Package: qemu-user-static
Architecture: :user-arch:
Built-Using: ${built-using}
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-user-static>
Depends: ${misc:Depends}
# Recommend systemd for binfmt-misc registration
Recommends: systemd
Provides: qemu-user-binfmt
Conflicts: qemu-user-binfmt
Description: QEMU user mode emulation binaries (static version)
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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.
 .
 qemu-user-static package will register binary formats which the provided
 emulators can handle, so that it will be possible to run foreign binaries
 directly.

Package: qemu-user-binfmt
Architecture: :user-arch:
Multi-Arch: foreign
Build-Profiles: <!pkg.qemu.omit-user>
Depends: ${misc:Depends}, qemu-user (= ${binary:Version})
# Recommend systemd for binfmt-misc registration
Recommends: systemd
Conflicts: qemu-user-static
Description: QEMU user mode binfmt registration for qemu-user
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. By using dynamic
 translation it achieves reasonable speed while being easy to port on new host
 CPUs.
 .
 This package provides binfmt support registration for the user mode
 emulation binaries from qemu-user.  This is an empty package, it does
 not contain any additional files, only registration scripts which run
 at install and remove times.

Package: qemu-utils
Architecture: :utils-arch:
Multi-Arch: foreign
Depends: ${shlibs:Depends}, ${misc:Depends},
Recommends:
 qemu-block-extra (= ${binary:Version}),
Replaces:
# qemu-storage-daemon and qemu-block-driver.7 has been moved from q-s-c.
 qemu-system-common (<< 1:8.0+dfsg-5~),
Breaks:
 qemu-system-common (<< 1:8.0+dfsg-5~),
Description: QEMU utilities
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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}
Pre-Depends: ${misc:Pre-Depends}
Description: Guest-side qemu-system agent
 QEMU is a fast processor emulator: currently the package supports Alpha, ARM,
 CRIS, i386, LoongArch, M68k (ColdFire), MicroBlaze, MIPS, PowerPC, RISC-V,
 S390x, SH4, SPARC, x86-64, Xtensa and other emulations. 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-system-for-host
## This is actually all architectures for which qemu-system (softmmu) target is implemented
#Architecture: any
#Multi-Arch: same
#Depends: ${qemu:for-host} (=${binary:Version})
#Description: QEMU full system emulation (dependency-only package for the host architecture)
# This package pulls one of qemu-system-* subpackages which contains
# qemu-system-${}{DEB_HOST_ARCH_CPU} binary specific for the host
# architecture. This one depends on ${qemu:for-host}.
#
