Port details |
- qemu7 QEMU CPU Emulator - 7.X.X
- 7.2.12 emulators
=1 7.2.12Version of this port present on the latest quarterly branch.
- DEPRECATED: qemu 9.X.X is out, so time to retire this one
This port expired on: 2024-06-30
- Maintainer: bofh@FreeBSD.org
- Port Added: 2023-05-04 18:58:33
- Last Update: 2024-06-30 11:03:39
- Commit Hash: b428c42
- People watching this port, also watch:: mailutils, osv-scanner, opensmtpd, memcached, tmux
- 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.
- ¦ ¦ ¦ ¦
- 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:
-
- Conflicts:
- CONFLICTS_INSTALL:
- qemu-devel
- qemu-nox11
- qemu-tools
- qemu-utils
- qemu8*
- No installation instructions:
- This port has been deleted.
- PKGNAME: qemu7
- Package flavors (<flavor>: <package>)
- default: qemu7
- nox11: qemu7-nox11
- ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64
- distinfo:
- TIMESTAMP = 1718370341
SHA256 (qemu/7.2.12/qemu-7.2.12.tar.xz) = 818d5b0a7f5359499da2272796cdbae7c05c7f239ae718754be6cd0d3cdfbe80
SIZE (qemu/7.2.12/qemu-7.2.12.tar.xz) = 124399872
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- bash : shells/bash
- py311-sphinx_rtd_theme>0 : textproc/py-sphinx_rtd_theme@py311
- sphinx-build : textproc/py-sphinx@py311
- gmake>=4.4.1 : devel/gmake
- ninja : devel/ninja
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- msgfmt : devel/gettext-tools
- sdl2-config : devel/sdl20
- perl5>=5.36<5.37 : lang/perl5.36
- xorgproto>=0 : x11/xorgproto
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- pixman-1.pc : x11/pixman
- x11.pc : x11/libX11
- Runtime dependencies:
-
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- pixman-1.pc : x11/pixman
- x11.pc : x11/libX11
- Library dependencies:
-
- libfdt.so : sysutils/dtc
- libzstd.so : archivers/zstd
- libslirp.so : net/libslirp
- libepoxy.so : graphics/libepoxy
- libcurl.so : ftp/curl
- libgnutls.so : security/gnutls
- libxkbcommon.so : x11/libxkbcommon
- libpng.so : graphics/png
- libsasl2.so : security/cyrus-sasl2
- libvdeplug.so : net/vde2
- libatk-1.0.so : accessibility/at-spi2-core
- libcairo.so : graphics/cairo
- libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
- libglib-2.0.so : devel/glib20
- libintl.so : devel/gettext-runtime
- libgtk-3.so : x11-toolkits/gtk30
- libharfbuzz.so : print/harfbuzz
- libpango-1.0.so : x11-toolkits/pango
- libvte-2.91.so : x11-toolkits/vte3
- libiconv.so : converters/libiconv
- libintl.so : devel/gettext-runtime
- libgbm.so : graphics/mesa-libs
- libGL.so : graphics/libglvnd
- libjpeg.so : graphics/jpeg-turbo
- libSDL2.so : devel/sdl20
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for qemu7-7.2.12:
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.
- 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.]
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
7.2.12 30 Jun 2024 11:03:39 |
Rene Ladan (rene) |
emulators/qemu7: Remove expired port
2024-06-30 emulators/qemu7: qemu 9.X.X is out, so time to retire this one |
7.2.12 14 Jun 2024 17:07:35 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Update version 7.2.11=>7.2.12
Changelog: https://wiki.qemu.org/ChangeLog/7.2 |
7.2.11 29 Apr 2024 21:55:04 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Update version 7.2.10=>7.2.11
- Remove qemu7-tools as it looks redundant with qemu-tools
- Mark DEPRECATED as qemu 9.X.X has been released
- Set EXPIRATION_DATE to 2024-06-30
Changelog: https://wiki.qemu.org/ChangeLog/7.2 |
7.2.10 05 Mar 2024 20:54:49 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Update version 7.2.9=>7.2.10
Changelog: https://wiki.qemu.org/ChangeLog/7.2 |
7.2.9 30 Jan 2024 11:49:26 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Update version 7.2.8=>7.2.9
Changelog: https://wiki.qemu.org/ChangeLog/7.2 |
7.2.8_1 29 Jan 2024 19:54:12 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Moved man to share/man |
7.2.8 03 Jan 2024 05:27:52 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: BROKEN on powerpc64le
At the moment the port does not build on powerpc64le. I do not have any
hardware to test this. If someone has the hardware to test and fix
please do so. |
7.2.8 31 Dec 2023 00:37:05 |
Muhammad Moinur Rahman (bofh) |
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068 |
7.2.8 27 Dec 2023 17:56:53 |
Muhammad Moinur Rahman (bofh) |
emulators/qemu7: Update version 7.2.7=>7.2.8
- Remove some old pkg-message notes which are no longer effective
Changelog: https://wiki.qemu.org/ChangeLog/7.2 |
7.2.7_1 23 Dec 2023 18:14:14 |
Nuno Teixeira (eduardo) |
*/*: Bump consumers of x11-toolkits/gtk30
New version of gtk3 in tree |
7.2.7 22 Nov 2023 22:44:02 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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 |
Daniel Engberg (diizzy) |
*/*: Bump jpeg-turbo users treewide
New major version 3.0.0 |
7.2.4 15 Jul 2023 15:43:34 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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 |
Muhammad Moinur Rahman (bofh) |
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. |