notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
Ukraine
Port details
qemu7 QEMU CPU Emulator - 7.X.X
7.2.7 emulators on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 7.2.6Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-05-04 18:58:33
Last Update: 2023-11-22 22:44:02
Commit Hash: e88d05b
People watching this port, also watch:: cytoscape, openjdk8, tmux, xen-kernel, python311
License: GPLv2
WWW:
https://www.qemu.org/
Description:
QEMU is a FAST! processor emulator using dynamic translation to achieve good emulation speed. QEMU has two operating modes: * Full system emulation. In this mode, QEMU emulates a full system (for example a PC), including a processor and various peripherials. It can be used to launch different Operating Systems without rebooting the PC or to debug system code. * User mode emulation (Linux host only). In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU. It can be used to launch the Wine Windows API emulator or to ease cross-compilation and cross-debugging. As QEMU requires no host kernel patches to run, it is very safe and easy to use.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • qemu7>0:emulators/qemu7
Conflicts:
CONFLICTS_INSTALL:
  • qemu-devel
  • qemu-nox11
  • qemu-tools
  • qemu-utils
  • qemu6*
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/emulators/qemu7/ && make install clean
To add the package, run one of these commands:
  • pkg install emulators/qemu7
  • pkg install qemu7
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: qemu7
Package flavors (<flavor>: <package>)
  • default: qemu7
  • nox11: qemu7-nox11
  • tools: qemu7-tools
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1700685548 SHA256 (qemu/7.2.7/qemu-7.2.7.tar.xz) = 0482cff0d3cc8225798f2d2c77dc6f14d06fb745cf2fe2a11ee20f48112e9251 SIZE (qemu/7.2.7/qemu-7.2.7.tar.xz) = 121869000

Packages (timestamps in pop-ups are UTC):
qemu7
ABIlatestquarterly
FreeBSD:12:aarch64-7.2.6
FreeBSD:12:amd647.2.77.2.6
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3867.2.77.2.6
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch647.2.77.2.6
FreeBSD:13:amd647.2.77.2.6
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3867.2.77.2.6
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64--
FreeBSD:14:aarch647.2.67.2.6
FreeBSD:14:amd647.2.77.2.6
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3867.2.77.2.6
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
FreeBSD:15:amd647.2.7-
FreeBSD:15:armv6--
FreeBSD:15:armv7--
FreeBSD:15:i3867.2.7-
FreeBSD:15:mips64--
FreeBSD:15:powerpc64--
FreeBSD:15:riscv64--
 
qemu7-nox11
ABIlatestquarterly
FreeBSD:12:aarch64-7.2.6
FreeBSD:12:amd647.2.77.2.6
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3867.2.77.2.6
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch647.2.77.2.6
FreeBSD:13:amd647.2.77.2.6
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3867.2.77.2.6
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64--
FreeBSD:14:aarch647.2.67.2.6
FreeBSD:14:amd647.2.77.2.6
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3867.2.77.2.6
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
FreeBSD:15:amd647.2.7-
FreeBSD:15:armv6--
FreeBSD:15:armv7--
FreeBSD:15:i3867.2.7-
FreeBSD:15:mips64--
FreeBSD:15:powerpc64--
FreeBSD:15:riscv64--
 
qemu7-tools
ABIlatestquarterly
FreeBSD:12:aarch64-7.2.6
FreeBSD:12:amd647.2.77.2.6
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3867.2.77.2.6
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch647.2.77.2.6
FreeBSD:13:amd647.2.77.2.6
FreeBSD:13:armv6--
FreeBSD:13:armv77.2.77.2.6
FreeBSD:13:i3867.2.77.2.6
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-7.2.6
FreeBSD:13:riscv64--
FreeBSD:14:aarch647.2.67.2.6
FreeBSD:14:amd647.2.77.2.6
FreeBSD:14:armv6--
FreeBSD:14:armv77.2.67.2.6
FreeBSD:14:i3867.2.77.2.6
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc647.2.37.2.6
FreeBSD:14:riscv64--
FreeBSD:15:amd647.2.7-
FreeBSD:15:armv6--
FreeBSD:15:armv77.2.7-
FreeBSD:15:i3867.2.7-
FreeBSD:15:mips64--
FreeBSD:15:powerpc647.2.6-
FreeBSD:15:riscv64--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. py39-sphinx_rtd_theme>0 : textproc/py-sphinx_rtd_theme@py39
  3. sphinx-build : textproc/py-sphinx@py39
  4. gmake>=4.3 : devel/gmake
  5. ninja : devel/ninja
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. python3.9 : lang/python39
  8. gettext-runtime>=0.22_1 : devel/gettext-runtime
  9. msgfmt : devel/gettext-tools
  10. sdl2-config : devel/sdl20
  11. perl5>=5.36<5.37 : lang/perl5.36
  12. xorgproto>=0 : x11/xorgproto
  13. x11.pc : x11/libX11
  14. xext.pc : x11/libXext
  15. x11.pc : x11/libX11
  16. xext.pc : x11/libXext
  17. pixman-1.pc : x11/pixman
  18. x11.pc : x11/libX11
Runtime dependencies:
  1. x11.pc : x11/libX11
  2. xext.pc : x11/libXext
  3. x11.pc : x11/libX11
  4. xext.pc : x11/libXext
  5. pixman-1.pc : x11/pixman
  6. x11.pc : x11/libX11
Library dependencies:
  1. libfdt.so : sysutils/dtc
  2. libzstd.so : archivers/zstd
  3. libslirp.so : net/libslirp
  4. libepoxy.so : graphics/libepoxy
  5. libcurl.so : ftp/curl
  6. libgnutls.so : security/gnutls
  7. libxkbcommon.so : x11/libxkbcommon
  8. libpng.so : graphics/png
  9. libsasl2.so : security/cyrus-sasl2
  10. libvdeplug.so : net/vde2
  11. libatk-1.0.so : accessibility/at-spi2-core
  12. libcairo.so : graphics/cairo
  13. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  14. libglib-2.0.so : devel/glib20
  15. libintl.so : devel/gettext-runtime
  16. libgtk-3.so : x11-toolkits/gtk30
  17. libpango-1.0.so : x11-toolkits/pango
  18. libvte-2.91.so : x11-toolkits/vte3
  19. libiconv.so : converters/libiconv
  20. libintl.so : devel/gettext-runtime
  21. libgbm.so : graphics/mesa-libs
  22. libGL.so : graphics/libglvnd
  23. libjpeg.so : graphics/jpeg-turbo
  24. libSDL2.so : devel/sdl20
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for qemu7-7.2.7: CAPSTONE=off: Disassembly framework support CDROM_DMA=on: IDE CDROM DMA CURL=on: Data transfer support via cURL DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation GNUTLS=on: gnutls dependency (vnc encryption) GTK3=on: GTK 3 GUI toolkit support ISCSI=off: libiscsi dependency (iSCSI client for emulated drives) JPEG=on: jpeg dependency (vnc lossy compression) OPENGL=on: 2D/3D rendering support via OpenGL PNG=on: png dependency (vnc compression) SAMBA=off: samba dependency (for -smb) SASL=on: cyrus-sasl dependency (vnc encryption) STATIC_LINK=off: Statically link the executables STRIP=off: Strip binaries before installation USBREDIR=off: usb device network redirection (experimental!) VDE=on: vde dependency (for vde networking) X11=on: X11 (graphics) support X86_TARGETS=off: Build only x86 system targets ====> Console (text) interface support: you have to select exactly one of them NCURSES_BASE=off: Depend on ncurses in base NCURSES_DEFAULT=on: Depend on ncurses (ports if installed, otherwise base) NCURSES_PORT=off: Depend on devel/ncurses in ports ===> Use 'make config' to modify these settings
Options name:
emulators_qemu7
USES:
cpe gmake gnome ninja perl5 pkgconfig python:build tar:xz iconv:wchar_t gettext gl jpeg ncurses gl sdl xorg
pkg-message:
For install:
FreeBSD host notes ================== - Needs to set net.link.tap.user_open sysctl in order to use /dev/tap* networking as non-root. Don't forget to adjust device node permissions in /etc/devfs.rules. - Expect timer problems when guest kernel HZ is > hosts. The linux 2.6 kernel uses 1000 by default btw. (changed to 250 later, and recent linux kernels now no longer have a fixed HZ, aka `tickless kernel'...) Enabling /dev/rtc doesn't seem to help either (not included since it needs a patch to emulators/rtc.) - The -smb option (smb-export local dir to guest using the default slirp networking) needs the samba port/package installed in addition to qemu. (SAMBA knob.) - If you want to use usb devices connected to the host in the guest yot can use usbredir over the network (see below); also unless you are running qemu as root you then need to fix permissions for /dev/ugen* device nodes: if you are on 5.x or later (devfs) put a rule in /etc/devfs.rules, activate it in /etc/rc.conf and run /etc/rc.d/devfs restart. Example devfs.rules: [ugen_ruleset=20] add path 'ugen*' mode 660 group operator corresponding rc.conf line: devfs_system_ruleset="ugen_ruleset" - Still usb: since the hub is no longer attached to the uchi controller and the wakeup mechanism, resume interrupt is not implemented yet linux guests will suspend the bus, i.e. they wont see devices usb_add'ed after its (linux') uhci module got loaded. Workaround: either add devices before linux loads the module or rmmod and modprobe it afterwards. [Not sure if this still applies to the new libusb host code used on recent 10-current.] - If you get repeated `atapi_poll called!' console messages with FreeBSD guests or other weird cdrom problems then thats probably because the guest has atapicam loaded, which for reasons still to be determined has problems with qemu's now by default enabled cdrom dma. You can build the port with CDROM_DMA disabled to disable it. [Looks like this is fixed in recent FreeBSD guest versions.] - If you build qemu wihout SDL and then get crashes running it try passing it -nographic. This should probably be default in that case... - qemu's network boot roms (-boot n) have a bug when bootfiles sizes are a multiple of blksize, if this affects you (like with FreeBSD's /boot/pxeboot) you can do like cp /boot/pxeboot pxeboot-qemu && chmod +w pxeboot-qemu && echo >>pxeboot-qemu and then use pxeboot-qemu. Actually you need recent btx code (from after 7.0 was released) because of the real mode boot problem, so use at least pxeboot from there. And I just did that for the pxeboot extracted out of ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/200805/7.0-STABLE-200805-i386-bootonly.iso and placed it here: http://people.freebsd.org/~nox/qemu/pxeboot-qemu - If you use slirp (usernet, the default) and want to mount nfs into the guest and you are not running qemu as root, then mountd(8) on the exporting box needs to be run with -n in order to accept requests from ports >= 1024. - (not FreeBSD-specific:) There have been reports of qcow2 corruption with (at least) win2k guests on recent kvm (which uses similar qcow2 code than qemu now, see this thread: http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg00713.html - the consensus on that thread seems to be that qcow(2) code has always been experimental and you should use raw images if you want reliability; raw is also usually faster.) You should be able to migrate existing images to raw using qemu-img(1)'s convert function; raw doesn't support advanced features like snapshots tho. [a few important qcow2 bugfixed have been committed in the meantime so this _might_ be less of an issue now; and meanwhile there also is the new qed format - I don't know how stable that one is.] - (also not FreeBSD-specific:) It is recommended to pass raw images using the new -drive syntax, specifying format=raw explicitly in order to avoid malicious guests being able to exploit the format autodetection thats otherwise getting used. (Not that you should run malicious guests anyway, but this eleminates at least a known attack vector.) - qemu now has improved physical cdrom support, but still there is at least one known problem: you need to have the guest eject the disc if you want to change it/take it out, or otherwise the guest may continue using state (like size) of the old disc. (You can also do like `change ide1-cd0 /dev/acd0' in the monitor after taking out the disc if a guest cannot eject it itself.)
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://download.qemu.org/
Collapse this list.
Port Moves
  • port moved here from emulators/qemu70 on 2023-05-04
    REASON: Use emulators/qemu or emulators/qemu-devel

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
7.2.7
22 Nov 2023 22:44:02
commit hash: e88d05b4d5999de98008f6fdd601da515405698bcommit hash: e88d05b4d5999de98008f6fdd601da515405698bcommit hash: e88d05b4d5999de98008f6fdd601da515405698bcommit hash: e88d05b4d5999de98008f6fdd601da515405698b files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.2.6=>7.2.7

Changelog: https://wiki.qemu.org/ChangeLog/7.2
7.2.6
23 Sep 2023 11:15:05
commit hash: 86d94016de8cce758ce9d76aaedd8504556dbcf5commit hash: 86d94016de8cce758ce9d76aaedd8504556dbcf5commit hash: 86d94016de8cce758ce9d76aaedd8504556dbcf5commit hash: 86d94016de8cce758ce9d76aaedd8504556dbcf5 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.2.5=>7.2.6

Changelog: https://wiki.qemu.org/ChangeLog/7.2
7.2.5
13 Aug 2023 13:12:14
commit hash: 9276077fb3404b741e2b043f6f9b8a42190aaa70commit hash: 9276077fb3404b741e2b043f6f9b8a42190aaa70commit hash: 9276077fb3404b741e2b043f6f9b8a42190aaa70commit hash: 9276077fb3404b741e2b043f6f9b8a42190aaa70 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.2.4=>7.2.5

Changelog: https://wiki.qemu.org/ChangeLog/7.2
7.2.4_1
28 Jul 2023 17:13:17
commit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3f files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump jpeg-turbo users treewide

New major version 3.0.0
7.2.4
15 Jul 2023 15:43:34
commit hash: ecd87496ce77ecf4f83d5011e1fbcc50600f3742commit hash: ecd87496ce77ecf4f83d5011e1fbcc50600f3742commit hash: ecd87496ce77ecf4f83d5011e1fbcc50600f3742commit hash: ecd87496ce77ecf4f83d5011e1fbcc50600f3742 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.2.3=>7.2.4

Changelog: https://wiki.qemu.org/ChangeLog/7.2
7.2.3
03 Jun 2023 14:08:47
commit hash: e6fb6656043af940feb47101b37454f5e33e9176commit hash: e6fb6656043af940feb47101b37454f5e33e9176commit hash: e6fb6656043af940feb47101b37454f5e33e9176commit hash: e6fb6656043af940feb47101b37454f5e33e9176 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.2.1=>7.2.3

- Exclude OPENGL option for nox11 flavor [1]

Changelog: https://wiki.qemu.org/ChangeLog/7.2

Reported by:    otis [1]
7.2.1
06 May 2023 14:39:02
commit hash: 05c4a05566903cad52b3bbb9b03da677ef2f7bd6commit hash: 05c4a05566903cad52b3bbb9b03da677ef2f7bd6commit hash: 05c4a05566903cad52b3bbb9b03da677ef2f7bd6commit hash: 05c4a05566903cad52b3bbb9b03da677ef2f7bd6 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7: Update version 7.0.0=>7.2.1

Merge the relevant port files from emulators/qemu. This is most probably
going to be the last version update untill Qemu releases version 9 and
we phase this out.
7.0.0
04 May 2023 18:54:28
commit hash: ca44054a632db3df0dd91bdd471788c95284cebdcommit hash: ca44054a632db3df0dd91bdd471788c95284cebdcommit hash: ca44054a632db3df0dd91bdd471788c95284cebdcommit hash: ca44054a632db3df0dd91bdd471788c95284cebd files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
emulators/qemu7*: Move qemu70 to qemu7

QEMU 7.X.X branch is reaching EOL as the upstream has released 8.X.X
branch. So there is no point in keeping multiple versions from 7.X.X
series. This is an interim commit to prepare to move emulators/qemu to
emulators/qemu7 so that emulators/qemu can be upgraded to latest 8.X.X
release.

Number of commits found: 8